Facebook API

Facebook Ad details full API

Pull one Meta Ad Library ad with its creative: every carousel variant, image and video URL, headline, body, and call to action.

$4.08/1k req, pay per request, no subscription.

fMeta Ad Library
facebook.com/ads/library/?id=1185617869915074
Meta
United StatesiAll adsTrailhead Outdoors

Trailhead Outdoors

Active · Sponsored

Built from 20D ripstop nylon, the Wren 2 tent weighs 2.1 lbs and sets up in under 90 seconds. Backed by our lifetime warranty.

photo

trailheadoutdoors.com

Free returns within 60 days. Ships in 2 to 3 business days.

Shop Now
Library ID: 1185617869915074FBIG

Ad details

Status
Active
Started running on
August 16, 2025
Library ID
1185617869915074
What the API returned
{
"adArchiveId": "1185617869915074",
"sourceUrl": "https://www.facebook.com/ads/library/?id=1185617869915074",
"pageId": "281940573310482",
"pageName": "Trailhead Outdoors",
"pageUrl": "https://www.facebook.com/trailheadoutdoors",
"pageImage": "https://scontent.fbcdn.net/trailhead-profile.jpg",
"active": true,
"startedUtc": 1755302400,
... 18 more fields
}
Uptime
99.37%
30d · 796 calls
Requests
796
30d · weekly, last 12 wks
Response
8.1s
median · 30d

Pricing

Facebook Ad details full API pricing

You pay
$40.80
$4.08/1k req, only for what you use. No monthly plan.
Your first 24 requests are free with the $0.10 starting balance.

Try it

Get Facebook ad details full in one request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.

This sample shows 25 of 44 fields. See every field

{
  "found": true,
  "data": {
    "adArchiveId": "1185617869915074",
    "sourceUrl": "https://www.facebook.com/ads/library/?id=1185617869915074",
    "pageId": "281940573310482",
    "pageName": "Trailhead Outdoors",
    "pageUrl": "https://www.facebook.com/trailheadoutdoors",
    "pageImage": "https://scontent.fbcdn.net/trailhead-profile.jpg",
    "active": true,
    "startedUtc": 1755302400,
    "endedUtc": 1758758400,
    "displayFormat": "DCO",
    "title": "The 3 season tent that packs to a water bottle",
    "body": "Built from 20D ripstop nylon, the Wren 2 tent weighs 2.1 lbs and sets up in under 90 seconds. Backed by our lifetime warranty.",
    "caption": "trailheadoutdoors.com",
    "linkUrl": "https://trailheadoutdoors.com/products/wren-2-tent",
    "linkDescription": "Free returns within 60 days. Ships in 2 to 3 business days.",
    "ctaText": "Shop Now",
    "ctaType": "SHOP_NOW",
    "platforms": [
      "facebook",
      "instagram"
    ],
    "pageCategories": [
      "Product/service",
      "Outdoor recreation"
    ],
    "pageLikes": 22400,
    "isReshared": false,
    "pageDeleted": false,
    "categories": [
      "Uncategorized"
    ]
  }
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-11-22 · uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • idstring

    1185617869915074

    Meta Ad Library ad ID - the numeric id in an Ad Library URL (e.g. "962050096457659" from https://www.facebook.com/ads/library/?id=962050096457659).

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

datadata
  • activeboolean

    true

    Whether the ad is currently running.

  • adArchiveIdstring

    1185617869915074

    Ad Library archive ID (stable identity). Populated whenever the provider has data for the entity.

  • bodystring

    Built from 20D ripstop nylon, the Wren 2 tent weighs 2.1 lbs and sets up in under 90 seconds. Backed by our lifetime warranty.

    Ad body text. Populated whenever the provider has data for the entity.

  • captionstring

    trailheadoutdoors.com

    Display caption, usually the destination domain.

  • categoriesstring[]

    Ad Library categories the ad is filed under.

  • ctaTextstring

    Shop Now

    Call-to-action label (e.g. "Shop now").

  • ctaTypestring

    SHOP_NOW

    Call-to-action type (e.g. "SHOP_NOW").

  • displayFormatstring

    DCO

    Ad creative format (e.g. "DPA", "VIDEO", "IMAGE"). Populated whenever the provider has data for the entity.

  • endedUtcnumber

    1758758400

    Run end, or last-seen date while the ad is still running. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • isResharedboolean

    false

    Whether the ad creative is a reshare of another post.

  • linkDescriptionstring

    Free returns within 60 days. Ships in 2 to 3 business days.

    Secondary link description line.

  • linkUrlstring

    https://trailheadoutdoors.com/products/wren-2-tent

    Creative destination URL.

  • pageCategoriesstring[]

    Categories Facebook lists the advertising page under.

  • pageDeletedboolean

    false

    Whether the advertising page has been deleted.

  • pageIdstring

    281940573310482

    Advertiser page ID (stable identity). Populated whenever the provider has data for the entity.

  • pageImagestring

    https://scontent.fbcdn.net/trailhead-profile.jpg

    Advertiser page profile picture URL. Meta CDN URLs are signed and expire.

  • pageLikesinteger

    22400

    Like count of the advertising page.

  • pageNamestring

    Trailhead Outdoors

    Advertiser page name. Populated whenever the provider has data for the entity.

  • pageUrlstring

    https://www.facebook.com/trailheadoutdoors

    Advertiser page URL.

  • platformsstring[]

    Publisher platforms the ad runs on.

  • sourceUrlstring

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

    Inspectable Meta Ad Library URL for this ad. Populated whenever the provider has data for the entity.

  • startedUtcnumber

    1755302400

    Run start. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • titlestring

    The 3 season tent that packs to a water bottle

    Creative headline. Dynamic-product ads return a template such as "{{product.name}}".

each creativedata.creatives[]

One entry per creative variant of a carousel or dynamic ad, in the order Meta returns them. Single-creative ads return an empty array and carry their media in images/videos. Meta CDN media URLs are signed and expire, so fetch what you need at read time.

  • bodystring

    Variant body text.

  • captionstring

    Variant display caption.

  • ctaTextstring

    Variant call-to-action label.

  • ctaTypestring

    Variant call-to-action type.

  • imagestring

    Original creative image URL.

  • imageResizedstring

    Resized creative image URL.

  • linkDescriptionstring

    Variant secondary description.

  • linkUrlstring

    Variant destination URL.

  • titlestring

    Variant headline.

  • videoPreviewImagestring

    Poster frame for the creative video.

  • videoUrlstring

    Creative video URL (HD when supplied, otherwise SD).

each imagedata.images[]

Standalone creative images for a single-image ad. Meta CDN media URLs are signed and expire.

  • imagestring

    Original creative image URL.

  • imageResizedstring

    Resized creative image URL.

each videodata.videos[]

Standalone creative videos for a single-video ad. Meta CDN media URLs are signed and expire.

  • videoPreviewImagestring

    Poster frame for the creative video.

  • videoUrlstring

    Creative video URL (HD when supplied, otherwise SD).

top level
  • foundboolean

    true

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

You get back. Named, typed fields in the same shape whichever source answers.

FAQ

About the Facebook Ad details full API

The AnyAPI Facebook Ad details full API returns Facebook ad details full data as normalized JSON from one POST call to /v1/run/facebook.ad_details_full. Pull one Meta Ad Library ad with its creative: every carousel variant, image and video URL, headline, body, and call to action. AnyAPI returns one normalized schema whichever source serves it. It costs from $4.08 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 99.4% of Facebook ad details full calls through AnyAPI succeeded, with a median response time of 8.1 seconds across 796 measured calls.

It costs from $4.08 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

Pull one Meta Ad Library ad with its creative: every carousel variant, image and video URL, headline, body, and call to action. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 99.4% of Facebook ad details full calls through AnyAPI succeeded, with a median response time of 8.1 seconds across 796 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 24 Facebook Ad details full calls at $0.00408 each.

Send a POST request to https://api.getanyapi.com/v1/run/facebook.ad_details_full with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.