This endpoint is used to retrieve all approved merchants you can work with, including geo-specific rates and performance metrics.

🚧

Authorization

In order to query this API you will need to use a Secret Key in the Authorization header of the request. To learn more about generating a Secret Key for your site, visit our Authorization guide.

🚧

Required Field

The campaignId parameter is mandatory for all API requests. To get a list of campaigns, or search for a specific campaign by name, visit our Campaigns guide.

Rate Limiting

📘

API Rate Limit

1 request every 10 seconds

Requests are limited to 1 request every 10 seconds. Exceeding this rate limit can result in your API key being temporarily blocked or throttled.

To adhere to this rate limit:

  • Include a delay of at least 10 seconds between consecutive API calls.
  • If you need to make multiple requests (e.g., when paginating through results), ensure there is a minimum gap of 10 seconds between each request or that the previous request has completed before making another one.

Filters

You can filter the response by including one or more filters in the request body. Each filter consists of a type and a list of values. The available filter types are: NAME, GROUP_ID, DOMAIN, GEO, PROGRAM_TYPE, and CATEGORY. Each filter is represented as an object in the filters array.

Filters Structure

In the request body, you can pass multiple filters using the following structure:

{
  "filters": [
    {
      "type": "<FILTER_TYPE>",
      "values": ["<VALUE_1>", "<VALUE_2>", "..."]
    }
  ],
  "page": 1,
  "pageSize": 1000
}

Name

Filter results based on the name of the merchant.

{
  "type": "NAME",
  "values": ["Walmart"]
}

Group ID

Filter results by the merchant group id.

{
  "type": "GROUP_ID",
  "values": [384]
}

Domain

Filter results by domains associated with the merchant.

{
  "type": "DOMAIN",
  "values": ["walmart.com"]
}

Geo

Filter merchant groups by geographic regions using ISO Country Codes (e.g., “US” for United States, “CA” for Canada).

{
  "type": "GEO",
  "values": ["US", "CA"]
}

Program Type

Filter results by the program type, such as CPA (Cost Per Acquisition) or CPC (Cost Per Click).

{
  "type": "PROGRAM_TYPE",
  "values": ["CPA"]
}
Accepted ArgumentsMeaning
CPACost per action
CPCCost per click

Category

Filter results based on the category of the merchant using Sovrn category codes.

{
  "type": "CATEGORY",
  "values": ["CE", "AU"]
}
Accepted ArgumentsMeaning
CEConsumer Electronics
AUAutomotive
FSFashion & Accessories
HBHealth & Beauty
RUReal Estate
AEArt & Entertainment
SFSports & Fitness
SHSelf-Help
TVTravel
FIFinancial Services
PTPets
CMCell Phones & Mobile
BKNews, Books & Magazines
EDEducation
OTOther
DTDating
MMMusic & Musicians
FDFood & Drink
HGHome & Garden
AGAdult & Gambling
CACareer & Employment
CBCollectibles
EMOnline Services
FBFamily & Baby
FHFirearms and Hunting
GMGaming
JWJewelry & Watches
LFLifestyle
MPMotorcycles & PowerSports
SPShopping & Coupons
HOToys & Hobbies
CPCameras & Photo
UNUndefined

Pagination

The API supports pagination to control the number of results returned in a single response. You can specify the page number and the number of results per page using the page and pageSize fields in the request body.

  • page: The page number to retrieve (starting from 1).
  • pageSize: The number of results to return per page. The maximum allowed value is 2500, and the default value is 1000.

Example Request:

{
  "filters": [
    {
      "type": "GROUP_ID",
      "values": ["384"]
    }
  ],
  "page": 1,
  "pageSize": 1000
}

Pagination Fields in the Response:

  • page: The current page number.
  • perPage: The number of results per page (as specified in the request).
  • totalItems: The total number of items that match the filters.

Example Response:

{
  "results": [
    // Array of merchant summaries
  ],
  "page": 1,
  "perPage": 1000,
  "totalItems": 5000
}
Language
Credentials
Header
Click Try It! to start a request and see the response here!