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 / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Ad Details
Prepare your request, then continue with your agent.
Selected price
$0.00188 / billing credit
A billing credit measures provider usage. Credits consumed depend on the operation and request options; one credit is not necessarily one call.
- Provider
- API
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
aaa_infonulladArchiveIDintegercredits_chargedintegercredits_remainingintegerendDateintegerendDateStringstringisAAAEligiblebooleanisActivebooleanpageIDintegerpageNamestringpoliticalCountriesunknown[]publisherPlatformstring[]reachEstimatenullsnapshotobjectad_creative_idintegeradditional_infonullbodystringbody_translationsobjectbranded_contentnullbrazil_tax_idnullbylinenullcaptionstringcardsunknown[]country_iso_codenullcreation_timeintegercta_textstringcta_typestringcurrent_page_namestringdisclaimer_labelnulldisplay_formatstringdynamic_item_flagsobjectdynamic_versionsnullec_certificatesnulledited_snapshotsunknown[]effective_authorization_categorystringeventunknown[]extra_imagesobject[]original_image_handlestringresized_image_handlestring
extra_linksstring[]extra_textsunknown[]extra_videosunknown[]imagesobject[]image_cropsobjectoriginal_image_urlstringresized_image_urlstringwatermarked_resized_image_urlstring
instagram_actor_namestringinstagram_branded_contentnullinstagram_handlestringinstagram_profile_pic_urlstringinstagram_shopping_productsunknown[]instagram_urlstringis_resharedbooleanlink_descriptionnulllink_urlstringpage_categoriesobject1713352298924731string
page_entity_typestringpage_idintegerpage_is_deletedbooleanpage_is_profile_pagebooleanpage_like_countintegerpage_namestringpage_profile_picture_urlstringpage_profile_uristringpage_welcome_messagenullroot_reshared_postnulltitlestringversionintegervideosunknown[]
spendnullstartDateintegerstartDateStringstringsuccessbooleantotalActiveTimeintegerurlstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
aaa_info?: null;
adArchiveID?: number;
credits_charged?: number;
credits_remaining?: number;
endDate?: number;
endDateString?: string;
isAAAEligible?: boolean;
isActive?: boolean;
pageID?: number;
pageName?: string;
politicalCountries?: Array<unknown>;
publisherPlatform?: Array<string>;
reachEstimate?: null;
snapshot?: {
ad_creative_id?: number;
additional_info?: null;
body?: string;
body_translations?: Record<string, unknown>;
branded_content?: null;
brazil_tax_id?: null;
byline?: null;
caption?: string;
cards?: Array<unknown>;
country_iso_code?: null;
creation_time?: number;
cta_text?: string;
cta_type?: string;
current_page_name?: string;
disclaimer_label?: null;
display_format?: string;
dynamic_item_flags?: Record<string, unknown>;
dynamic_versions?: null;
ec_certificates?: null;
edited_snapshots?: Array<unknown>;
effective_authorization_category?: string;
event?: Array<unknown>;
extra_images?: Array<{
original_image_handle?: string;
resized_image_handle?: string;
}>;
extra_links?: Array<string>;
extra_texts?: Array<unknown>;
extra_videos?: Array<unknown>;
images?: Array<{
image_crops?: Record<string, unknown>;
original_image_url?: string;
resized_image_url?: string;
watermarked_resized_image_url?: string;
}>;
instagram_actor_name?: string;
instagram_branded_content?: null;
instagram_handle?: string;
instagram_profile_pic_url?: string;
instagram_shopping_products?: Array<unknown>;
instagram_url?: string;
is_reshared?: boolean;
link_description?: null;
link_url?: string;
page_categories?: {
"1713352298924731"?: string;
};
page_entity_type?: string;
page_id?: number;
page_is_deleted?: boolean;
page_is_profile_page?: boolean;
page_like_count?: number;
page_name?: string;
page_profile_picture_url?: string;
page_profile_uri?: string;
page_welcome_message?: null;
root_reshared_post?: null;
title?: string;
version?: number;
videos?: Array<unknown>;
};
spend?: null;
startDate?: number;
startDateString?: string;
success?: boolean;
totalActiveTime?: number;
url?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
scrapecreatorsCurrent Facebook Ad Details · GET · View API reference | $0.00188 / billing credit | — | —successP50— |
- Unit price
- $0.00188
A billing credit measures provider usage. Credits consumed depend on the operation and request options; one credit is not necessarily one call.
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 6. Price update time: not supplied.
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/scrapecreators/v1/facebook/adLibrary/ad- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/scrapecreators/v1/facebook/adLibrary/ad?id=702369045530963' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
allow_long_transcription | URL query parametersquery | boolean | No | 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. |
get_transcript | URL query parametersquery | boolean | No | 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. |
id | URL query parametersquery | string | No | Facebook Ad Id |
url | URL query parametersquery | string | No | Facebook Ad URL |
trim | URL query parametersquery | boolean | No | Set to true for a trimmed down version of the response |
cache_max_age | URL query parametersquery | string | No | 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) enum: "1d", "3d", "7d", "14d", "30d" |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"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"
}Usage billing
A billing credit measures provider usage. Credits consumed depend on the operation and request options; one credit is not necessarily one call.
Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# 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.
## Available implementations
scrapecreators · Facebook Ad Details: https://openany.si/markets/apis/capabilities/facebook-ad-details-f10649c1?offering=ecb12733-74f2-4651-a776-1f5bcc72f6f0 · $0.00188 / billing credit
## Selected API contract
Documentation: https://openany.si/apis/ecb12733-74f2-4651-a776-1f5bcc72f6f0
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/scrapecreators/v1/facebook/adLibrary/ad
Price: $0.00188 / billing credit
Pricing note: A billing credit measures provider usage. Credits consumed depend on the operation and request options; one credit is not necessarily one call.
Provider: scrapecreators
Contract revision: 6
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/scrapecreators/v1/facebook/adLibrary/ad?id=702369045530963' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "Facebook Ad Details",
"endpoint": "https://api.openany.si/v1/agent-apis/scrapecreators/v1/facebook/adLibrary/ad",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "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.",
"location": "query",
"name": "allow_long_transcription",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "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.",
"location": "query",
"name": "get_transcript",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "Facebook Ad Id",
"location": "query",
"name": "id",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Facebook Ad URL",
"location": "query",
"name": "url",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Set to true for a trimmed down version of the response",
"location": "query",
"name": "trim",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "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)",
"enum_values": [
"1d",
"3d",
"7d",
"14d",
"30d"
],
"location": "query",
"name": "cache_max_age",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "usage",
"priceMicroUsd": "1880",
"rounding": "ceil",
"unit": "credit",
"unitQuantity": "1"
},
"examples": [
{
"http_status": 200,
"name": "Official example · Ad ID",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"id": "702369045530963"
}
},
"response_body": {
"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"
}
},
{
"http_status": 200,
"name": "Official example · Ad URL",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"url": "https://www.facebook.com/ads/library?id=1185617869915074"
}
},
"response_body": {
"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"
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · Ad ID
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 6
Review these request fields before running. Keep the published provider and request method unchanged.
allow_long_transcription- 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.
get_transcript- 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.
id- Facebook Ad Id
url- Facebook Ad URL
trim- Set to true for a trimmed down version of the response
cache_max_age- 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)
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/scrapecreators/v1/facebook/adLibrary/ad?id=702369045530963' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
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" }