Skip to content
scrapeatlas.Dashboard

Ad libraries

Snapchat Ads Library API

Search Snapchat ads by advertiser and read ad creatives, delivery dates, EU impressions and targeting, plus sponsored creator content.

3 endpointsx-api-key

Three endpoints read the Snap Ads Gallery: search ads that ran in the EU by paying advertiser, country, status and dates; get one ad with its creative, destination, impressions by country and targeting; and list sponsored Spotlight content by creator.

API availability: Available

Base URL · local workerhttp://localhost:3064Public API: https://api.scrapeatlas.com.
Authenticationx-api-keyCustomer key from your account. See Authentication.

Endpoints

GET/v1/snapchat/ads/search

Search ads

Search ads that delivered in the EU by paying advertiser name, optionally filtered by countries, ACTIVE or PAUSED status and a delivery date range. Returns up to 10 ads per page with creatives, destinations, impressions by country and targeting. Pass nextCursor with the same filters for the next page.

Reference
GET/v1/snapchat/ads/ad

Get an ad

Get one ad from the Snap Ads Gallery by ad ID or Ads Gallery link: creative, destination, delivery dates, impressions by EU country, targeting and the complete source record.

Reference
GET/v1/snapchat/ads/sponsored-content

Sponsored content

List live sponsored creator content (paid partnership posts such as Spotlight videos) from the Snap Ads Gallery, or the sponsored posts of one creator. Returns up to 10 items per page with creator, sponsor, content link and thumbnail.

Reference

Quick start

Create an API key on your account page, then call the public API. Values below are placeholders.

Terminal
curl "https://api.scrapeatlas.com/v1/snapchat/ads/search?advertiser=Nike&countries=fr%2Cde" \
  -H "x-api-key: YOUR_API_KEY"

Coverage & limits

  • Independent, stateless worker: eight concurrent operations, with up to 16 more waiting at most 5 seconds for a slot; 20-second total deadline, including the wait; at most two upstream HTTP requests per operation (one read and one retry on a network failure or HTTP 5xx). Rate limits (HTTP 429, or HTTP 500 naming an exhausted query quota) are never retried.
  • Fixed public HTTPS origin adsapi.snapchat.com (the documented Ads Gallery API). No login, cookies, browser, outbound link visits, media downloads or result storage. The service API key is never forwarded.
  • The Ads Gallery covers ads that delivered in the EU in the last 12 months. Search needs an advertiser name; there is no keyword or all-ads search.
  • Pages hold at most 10 ads or 10 sponsored content items.
  • At most 8 MiB decoded JSON per operation, depth 64 and 250,000 parsed nodes.
Error codes
14
HTTPfailure.codeMeaning
200partialUsable data with source_item_failed:<count> when the source could not return some items of a page.
400invalid_requestMissing, duplicate, malformed or unsupported parameters, a non-EU country, a link outside adsgallery.snap.com, or parameters the source rejected.
401unauthorizedMissing or invalid worker API key.
404not_foundUnknown ad ID or route.
429upstream_rate_limitedSnapchat rate limited the request, or the Ads Gallery reported its query capacity exhausted. Retry later.
502upstream_challengedSnapchat refused the request.
502upstream_errorNetwork failure or HTTP 5xx after one retry, or an unexpected source error.
502unsupported_pageThe source response was not the expected JSON, or an ad did not match the requested ID.
502response_too_largeThe source response exceeded the byte limit.
502unsafe_redirectThe source redirected the request.
502payload_too_complexThe source response exceeded the depth or node limit.
502request_limitThe upstream request budget was exhausted.
503busyAll retrieval slots and queue places are taken.
504timeoutThe operation exceeded its deadline.