Ad Details

Provider operation: GET /v1/facebook/adLibrary/ad. The sample response includes captions, images and titles. Use it in developer tools or technical research. The GET request schema also lists allow_long_transcription, get_transcript, id.

Selected price
$0.00188 / billing creditPublished pricing
Sellers / implementations
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...

Run sends a real API request. Charges follow the published API contract.

Request parameters
Optional parameters (6)
Paid opt-in, enabled only by the literal query value 'true' (allow_long_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow_long_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 * ceil(duration_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. This flag does not force AI and does not enable transcription or AI fallback by itself. Keep get_transcript=true or use_ai_as_fallback=true where required by the endpoint. Returned native captions still cost 1 credit on dedicated transcript routes, even for long videos with this flag; on detail routes they leave the base price unchanged. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed.
Transcription is opt-in via get_transcript=true. Default short AI (up to 120 seconds, inclusive) is included in the existing base endpoint price, with no extra AI fee. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow_long_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 * ceil(duration_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. On detail routes, successful paid-mode AI costs are in addition to the existing base endpoint cost; media-download pricing is unchanged. Returned native captions leave the base endpoint price unchanged. Empty AI results and errors incur no AI fee; the base scrape fee still applies when the detail scrape succeeds. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed.
Facebook Ad Id
Facebook Ad URL
Set to true for a trimmed down version of the response
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; default short AI is included; allow_long_transcription=true adds 10 credits per started minute to the existing base cost). [See the Caching page for details.](https://docs.scrapecreators.com/caching)

Sample response

{
  "aaa_info": null,
  "adArchiveID": 1185617869915074,
  "credits_charged": 1,
  "credits_remaining": 1000000,
  "endDate": 1750316400,
  "endDateString": "2025-06-19T07:00:00.000Z",
  "isAAAEligible": false,
  "isActive": true,
  "pageID": 15087023444,
  "pageName": "Nike",
  "politicalCountries": [],
  "publisherPlatform": [
    "facebook"
  ],
  "reachEstimate": null,
  "snapshot": {
    "ad_creative_id": 1809449763118705,
    "additional_info": null,
    "body": "Aprovechá 6 cuotas sin interés con todos los bancos. ¿Te lo vas a perder? Comprá ahora.",
    "body_translations": {},
    "branded_content": null,
    "brazil_tax_id": null,
    "byline": null,
    "caption": "fb.com",
    "cards": [],
    "country_iso_code": null,
    "creation_time": 1750344986,
    "cta_text": "Learn more",
    "cta_type": "LEARN_MORE",
    "current_page_name": "Nike",
    "disclaimer_label": null,
    "display_format": "image",
    "dynamic_item_flags": {},
    "dynamic_versions": null,
    "ec_certificates": null,
    "edited_snapshots": [],
    "effective_authorization_category": "NONE",
    "event": [],
    "extra_images": [
      {
        "original_image_handle": "https://scontent-ord5-1.xx.fbcdn.net/v/t39.35426-6/508997149_744746594672572_3057533797808431470_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=eKgqs7-b06UQ7kNvwGSYm41&_nc_oc=AdnV_v1Anh3aqBBXDa3xwDrMtLJUCvE8yKIgP5ODbX3xsSMCtTv2ucMTy36I8Bq20HU&_nc_zt=14&_nc_ht=scontent-ord5-1.xx&_nc_gid=ocFZ2kPWmNZ0nKyk5HCtkQ&oh=00_AfNfDJHp6d0Ie9tIXLBIXFQiMgWHVl1i48DahYYOgANgHg&oe=685A4B4A",
        "resized_image_handle": "https://scontent-ord5-1.xx.fbcdn.net/v/t39.35426-6/508997149_744746594672572_3057533797808431470_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=108&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=eKgqs7-b06UQ7kNvwGSYm41&_nc_oc=AdnV_v1Anh3aqBBXDa3xwDrMtLJUCvE8yKIgP5ODbX3xsSMCtTv2ucMTy36I8Bq20HU&_nc_zt=14&_nc_ht=scontent-ord5-1.xx&_nc_gid=ocFZ2kPWmNZ0nKyk5HCtkQ&oh=00_AfMe107fPkaznD6Pw8_wDaon3p-31ZXLHIeglHU_P3NYNw&oe=685A4B4A"
      }
    ],
    "extra_links": [
      "https://www.nike.com.ar/"
    ],
    "extra_texts": [],
    "extra_videos": [],
    "images": [
      {
        "image_crops": {},
        "original_image_url": "https://scontent-ord5-2.xx.fbcdn.net/v/t39.35426-6/499542231_3815578848587795_5060085138610262269_n.jpg?_nc_cat=104&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=yk26_frcPLkQ7kNvwF5EWnq&_nc_oc=Adk8Xjt1SjUg-mBxkm6iUuDfXpyGXD5G5g6PBae8g0WWsJT-MfnhNGII7JL-KM5MJBE&_nc_zt=14&_nc_ht=scontent-ord5-2.xx&_nc_gid=ocFZ2kPWmNZ0nKyk5HCtkQ&oh=00_AfP6zfVuLkcD2Zts0gItXp801QK1k0lhEfqwwdqfNAU9gw&oe=685A3E80",
        "resized_image_url": "https://scontent-ord5-3.xx.fbcdn.net/v/t39.35426-6/509090139_3448752085259208_8196922920009954562_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=107&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=tV3v2Y_NIh0Q7kNvwEMM-Vk&_nc_oc=AdnpccGMqNlM0k9O87VmMBIp9pGtj3l1dkO5HaKRCti2V4X6AKUn8BR08SXOc_Y-8TY&_nc_zt=14&_nc_ht=scontent-ord5-3.xx&_nc_gid=ocFZ2kPWmNZ0nKyk5HCtkQ&oh=00_AfPXGzKezcPJSpAq8Ql2Xgx6Rn0a3Poit-iTirfhAwuiHA&oe=685A5634",
        "watermarked_resized_image_url": ""
      }
    ],
    "instagram_actor_name": "Nike",
    "instagram_branded_content": null,
    "instagram_handle": "",
    "instagram_profile_pic_url": "https://scontent-ord5-3.xx.fbcdn.net/v/t39.35426-6/499229861_3519049748228633_8442052921006945421_n.jpg?_nc_cat=109&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=eJcuzztd8e4Q7kNvwEpFLbr&_nc_oc=AdlI7WAi5QRhAOZCLwHcU3ZgxpxWSTzJr9PjPiwtUN9U2mkMB49Surq8HsQcDWfnTVc&_nc_zt=14&_nc_ht=scontent-ord5-3.xx&_nc_gid=ocFZ2kPWmNZ0nKyk5HCtkQ&oh=00_AfNnIjlMGopiAeVY7yEOxCT0sEvrij87SMrpkGJHs1lT-w&oe=685A55E2",
    "instagram_shopping_products": [],
    "instagram_url": "",
    "is_reshared": false,
    "link_description": null,
    "link_url": "https://fb.com/canvas_doc/1952657995267951",
    "page_categories": {
      "1713352298924731": "Sportswear"
    },
    "page_entity_type": "person_profile",
    "page_id": 15087023444,
    "page_is_deleted": false,
    "page_is_profile_page": false,
    "page_like_count": 37497720,
    "page_name": "Nike",
    "page_profile_picture_url": "https://scontent-ord5-2.xx.fbcdn.net/v/t39.35426-6/508670148_9776464209142246_4487234065380829819_n.jpg?stp=dst-jpg_s60x60_tt6&_nc_cat=105&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=Q0UJas7Kz2wQ7kNvwGKBRCa&_nc_oc=AdnobFr6ScYQJzp_Za4UEgMY34n373z6WuZwOA3h-ixlpbii4wA8lxcgAsbtBpCE3t4&_nc_zt=14&_nc_ht=scontent-ord5-2.xx&_nc_gid=ocFZ2kPWmNZ0nKyk5HCtkQ&oh=00_AfMlwCCMXN-4KPAZac9pYLWrHGZpld9SoTX1r9S9xRHB8Q&oe=685A5861",
    "page_profile_uri": "https://www.facebook.com/nike/",
    "page_welcome_message": null,
    "root_reshared_post": null,
    "title": "6 cuotas sin interés",
    "version": 3,
    "videos": []
  },
  "spend": null,
  "startDate": 1750316400,
  "startDateString": "2025-06-19T07:00:00.000Z",
  "success": true,
  "totalActiveTime": 23488,
  "url": "https://www.facebook.com/ads/library?id=1185617869915074"
}

Response result

Response structure

Inferred from examples
  • aaa_infonull
  • adArchiveIDinteger
  • credits_chargedinteger
  • credits_remaininginteger
  • endDateinteger
  • endDateStringstring
  • isAAAEligibleboolean
  • isActiveboolean
  • pageIDinteger
  • pageNamestring
  • politicalCountriesunknown[]
  • publisherPlatformstring[]
  • reachEstimatenull
  • snapshotobject
    • ad_creative_idinteger
    • additional_infonull
    • bodystring
    • body_translationsobject
    • branded_contentnull
    • brazil_tax_idnull
    • bylinenull
    • captionstring
    • cardsunknown[]
    • country_iso_codenull
    • creation_timeinteger
    • cta_textstring
    • cta_typestring
    • current_page_namestring
    • disclaimer_labelnull
    • display_formatstring
    • dynamic_item_flagsobject
    • dynamic_versionsnull
    • ec_certificatesnull
    • edited_snapshotsunknown[]
    • effective_authorization_categorystring
    • eventunknown[]
    • extra_imagesobject[]
      • original_image_handlestring
      • resized_image_handlestring
    • extra_linksstring[]
    • extra_textsunknown[]
    • extra_videosunknown[]
    • imagesobject[]
      • image_cropsobject
      • original_image_urlstring
      • resized_image_urlstring
      • watermarked_resized_image_urlstring
    • instagram_actor_namestring
    • instagram_branded_contentnull
    • instagram_handlestring
    • instagram_profile_pic_urlstring
    • instagram_shopping_productsunknown[]
    • instagram_urlstring
    • is_resharedboolean
    • link_descriptionnull
    • link_urlstring
    • page_categoriesobject
      • 1713352298924731string
    • page_entity_typestring
    • page_idinteger
    • page_is_deletedboolean
    • page_is_profile_pageboolean
    • page_like_countinteger
    • page_namestring
    • page_profile_picture_urlstring
    • page_profile_uristring
    • page_welcome_messagenull
    • root_reshared_postnull
    • titlestring
    • versioninteger
    • videosunknown[]
  • spendnull
  • startDateinteger
  • startDateStringstring
  • successboolean
  • totalActiveTimeinteger
  • urlstring

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Ad Details with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.