Skip to navigation

Search media

Return creatives. Pass accountId to scope to one brand or creator, or omit it to search the whole corpus. Without accountId, query is required.

Limited to 120 requests per minute per user. Costs $0.0005 per creative returned, charged against your plan’s monthly credits. The count field is what you were charged for. The call bills a minimum of one row even when nothing matches. In that case count is 0 but you are charged for one row.

Authentication

AuthorizationBearer

An API key from Settings → API, prefixed sg_live_.

Request

This endpoint expects an object.
accountIdstring or doubleOptional
Account id given as a platform string or uuid
querystringOptional1-500 characters
channellist of enumsOptional
Allowed values:
formatlist of enumsOptional
Allowed values:
durationlist of enumsOptional
Allowed values:
statusenumOptional
Allowed values:
categorieslist of enumsOptional
taxonomylist of stringsOptional
funnelStagelist of enumsOptional
Allowed values:
languagelist of enumsOptional
locationlist of stringsOptional
datePresetenumOptional
startDatestringOptional
endDatestringOptional
minDaysRundoubleOptional
maxDaysRundoubleOptional
minViewCountdoubleOptional
maxViewCountdoubleOptional
landingPagestringOptional>=1 character
landingPageMatchenumOptional
Allowed values:
lowImpressionsbooleanOptional
partnershipAdbooleanOptional
crosspostedbooleanOptional
sortByenumOptional
limitintegerOptional1-2000Defaults to 100
offsetintegerOptional>=0

Response

Matching creatives.
countinteger
medialist of objects

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
405
Method Not Allowed Error
413
Content Too Large Error
429
Too Many Requests Error
500
Internal Server Error