ScrapeCreatorsMeta AdsAdvertising

Facebook ad library ad details by id or URL

scrapecreators.x.v1-facebook-adlibrary-ad

Retrieves detailed information about a specific Facebook ad by its ID or URL.

Price
$0.00188/callAt provider cost
Success rate
—No success-rate data yetNo success-rate data yet
Latency p50
——
Last verified
—Not verified yet
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-adlibrary-ad?id=702369045530963Preview
Try onlineComing soonProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

ParameterTypeRequiredDescriptionExample
Query parameters
idstringOptionalFacebook Ad Id702369045530963
urlstringOptionalFacebook Ad URLhttps://www.facebook.com/ads/library?id=1185617869915074
trimbooleanOptionalSet to true for a trimmed down version of the responsefalse
cache_max_agestringOptionalIf we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Cac...7d
  • Query parameters
  • idstringOptional

    Facebook Ad Id

    Example: 702369045530963

  • urlstringOptional

    Facebook Ad URL

    Example: https://www.facebook.com/ads/library?id=1185617869915074

  • trimbooleanOptional

    Set to true for a trimmed down version of the response

    Example: false

  • cache_max_agestringOptional

    If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Cac...

    Example: 7d

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-adlibrary-ad?id=702369045530963' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.00188/call, including the service fee.