Facebookget/fetch_archive_ad_details

Fetch Archive Ad Details

Meta Ads Library Search
Cost / request

$0.01

Response format

JSON

Protocol

REST

About this endpoint

Access Facebook data through agntdata: Fetch Archive Ad Details. This endpoint allows you to retrieve detailed information about a specific ad in the archive based on its archive ID. You can filter the results by page ID, country, and flags indicating whether the ad is non-political or AAA-eligible. Responses are structured JSON for AI agents, analytics, and automation — one API key instead of juggling upstream accounts. Ideal when you need page and group posts, marketplace listings, video content, and ad discovery programmatically.

Use cases

AI agents that need Facebook data in structured form
Analytics and monitoring pipelines for Facebook content
Research and GTM workflows that combine Facebook signals with other data

Parameters

NameInTypeRequiredDescription
countryquerystringoptional
ad_archive_idquerystringrequiredDefault: 870923648247659
page_idquerystringoptionalDefault: 144939265372419
is_ad_not_aaa_eligiblequerybooleanoptionalDefault: false
is_ad_non_politicalquerybooleanoptionalDefault: true

Responses

Successful response

{
  "type": "object"
}

Agent / Developer Schema

Machine-readable formats for integrating this endpoint into AI agents and toolchains.

{
  "operationId": "Fetch_Archive_Ad_Details",
  "method": "get",
  "path": "/fetch_archive_ad_details",
  "summary": "Fetch Archive Ad Details",
  "description": "This endpoint allows you to retrieve detailed information about a specific ad in the archive based on its archive ID. You can filter the results by page ID, country, and flags indicating whether the ad is non-political or AAA-eligible.",
  "parameters": [
    {
      "name": "country",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "ad_archive_id",
      "in": "query",
      "required": true,
      "schema": {
        "type": "string",
        "default": "870923648247659"
      }
    },
    {
      "name": "page_id",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "default": "144939265372419"
      }
    },
    {
      "name": "is_ad_not_aaa_eligible",
      "in": "query",
      "required": false,
      "schema": {
        "type": "boolean",
        "default": "false"
      }
    },
    {
      "name": "is_ad_non_political",
      "in": "query",
      "required": false,
      "schema": {
        "type": "boolean",
        "default": "true"
      }
    }
  ],
  "responses": [
    {
      "statusCode": "200",
      "description": "Successful response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object"
          }
        }
      }
    },
    {
      "statusCode": "400",
      "description": "Bad request"
    },
    {
      "statusCode": "401",
      "description": "Unauthorized - invalid API key"
    },
    {
      "statusCode": "429",
      "description": "Rate limit exceeded"
    }
  ]
}

Pricing

$0.01per successful request

Credits are deducted from your agntdata balance on each successful API call. Failed requests (4xx/5xx) are not charged.

Related endpoints

Start using this endpoint

Generate your API key and make your first call in under a minute. Free tier available with transparent pricing.

Facebook APIFacebook data APIfetch archive ad details APIAI agents data APIFacebook APIFacebook data APIFacebook for AI agents