Skip to main content
GET
/
public
/
v1
/
offsite-ads
/
vendors
/
active
Get Active Vendors
curl --request GET \
  --url https://api.topsort.com/public/v1/offsite-ads/vendors/active \
  --header 'Authorization: Bearer <token>'
{
  "hasMore": true,
  "nextPage": "<string>",
  "vendors": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

A valid API key generated in Topsort's UI.

Query Parameters

dsp
enum<string>
required

The DSP to filter vendors by.

Available options:
google_ads,
meta
Examples:

"google_ads"

"meta"

next_page
string | null

Pagination cursor as provided in an earlier response. If provided will fetch the next page of results.

limit
integer
default:100

The pagination limit.

Required range: 0 <= x <= 365

Response

Successful Response

hasMore
boolean
required

Whether there are more active vendors

nextPage
string | null
required

The next page token

vendors
string[]
required

The active vendor ids for the DSP