Facebook

Facebook Ad Library

Search / Company Search

per_call

Two discovery modes: keyword search across live ad creatives (with country and ad-type filters) and advertiser lookup by page name to get the page IDs needed for the company-ads endpoint. Ideal for building competitor watchlists.

What you get

Each call returns up to 30 ads, plus a cursor for the next 30.

Endpoint

GET /v1/facebook-ad-library/search-company-search

Price

$1.50

per 1,000 calls · $0.0015 per call

Cost per call

1 credit

Failed calls never charged

Parameters

target
required
string

The Facebook Ad Library handle, URL or identifier to resolve.

limit
optional
integer

Maximum records to return, capped at this service's page size (see Limits below). Omit it to receive the whole page. It shapes the response, not the price — a call costs the same either way.

cursor
optional
string

Pagination cursor returned by a previous response.

fresh
optional
enum

Bypass cached data and force a live fetch for this one call. Use it for daily monitoring or any figure you are tracking over time. Accepts `true`, `1`, `false` or `0`; anything else returns 400 `invalid_fresh`. Defaults to false and costs exactly the same as a cached call.

One of: true, 1, false, 0

Example request

Live call. Successful calls are charged; failed and empty results are not.

curl
curl "https://fastfetchz.com/v1/facebook-ad-library/search-company-search?target=nasa" \
  -H "X-API-Key: $FASTFETCHZ_KEY"

Example response

200 application/json
{
  "success": true,
  "service": {
    "platform": "Facebook Ad Library",
    "name": "Search / Company Search",
    "slug": "search-company-search"
  },
  "credits_charged": 1,
  "credits_remaining": 99,
  "latency_ms": 214,
  "data": {
    "searchResults": [
      {
        "ad_archive_id": "1702938977100376",
        "collation_count": null,
        "collation_id": null,
        "is_active": true,
        "page_id": "15087023444",
        "page_is_deleted": false,
        "snapshot": {
          "branded_content": null,
          "page_id": "15087023444",
          "page_is_deleted": false,
          "page_profile_uri": "https://www.facebook.com/nike/",
          "root_reshared_post": null,
          "byline": null,
          "disclaimer_label": null,
          "page_name": "Nike",
          "page_profile_picture_url": "https://scontent-phl2-1.xx.fbcdn.net/v/t39.35426-6/431756959_712871054375981_2401799800446082357_n.jpg?stp=dst-jpg_s60x60_tt6&_nc_cat=104&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=lHtgbjFLY_EQ7kNvwFQzz-j&_nc_oc=AdodPABiNvAgK8W_YuVGQuHtLwtfTywrXHjBgZxHlQsZXxROdv8X4SgnTMEPXrN3r8k&_nc_zt=14&_nc_ht=scontent-phl2-1.xx&_nc_gid=gAYiJEAMJzemFnzP2MfEXg&_nc_ss=7f289&oh=00_AQJvpa2_3WQNTT1Sj9eLsLXXzq5mcpMWISmZf7SCA2C5vg…",
          "event": null,
          "caption": "itunes.apple.com",
          "cta_text": "Install now",
          "cards": [
            {
              "body": "Bring sports more fully into your day with the Nike App.",
              "cta_type": "INSTALL_MOBILE_APP",
              "caption": "itunes.apple.com",
              "link_description": "₱3,599",
              "link_url": "https://www.nike.com/ph/t/acg-polartec-wolf-tree-mid-rise-trousers-mVbQBn/CV0615-060",
              "title": "Nike ACG Polartec ® 'Wolf Tree' Women's Mid-Rise Trousers",
              "cta_text": "Install Now",
              "video_hd_url": null,
              "video_preview_image_url": null,
              "video_sd_url": null,
              "watermarked_video_hd_url": null,
              "watermarked_video_sd_url": null,
              "image_crops": [],
              "original_image_url": "https://scontent-phl2-1.xx.fbcdn.net/v/t39.35426-6/431748186_289316047369916_1595311644416959995_n.jpg?_nc_cat=104&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=EfYMn16b8_QQ7kNvwEEVCuA&_nc_oc=Adqh1r4na9PpgyhzG4H2I6Sk1SQLlV8RXxIKCKNJwhT3KWkEiYEpY_lnpIwc-OXoZho&_nc_zt=14&_nc_ht=scontent-phl2-1.xx&_nc_gid=gAYiJEAMJzemFnzP2MfEXg&_nc_ss=7f289&oh=00_AQJXOAePRQ4bIq_kXAX-n8b6lHckNRUCHVdjavRsre-hSA&oe=6AA63E1F",
              "resized_image_url": "https://scontent-phl2-1.xx.fbcdn.net/v/t39.35426-6/431748186_289316047369916_1595311644416959995_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=104&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=EfYMn16b8_QQ7kNvwEEVCuA&_nc_oc=Adqh1r4na9PpgyhzG4H2I6Sk1SQLlV8RXxIKCKNJwhT3KWkEiYEpY_lnpIwc-OXoZho&_nc_zt=14&_nc_ht=scontent-phl2-1.xx&_nc_gid=gAYiJEAMJzemFnzP2MfEXg&_nc_ss=7f289&oh=00_AQJfIW9EBOWGgNFLVrGdTeE8T90jTctPP4WgSZ8VnFJQ…",
              "watermarked_resized_image_url": ""
            },
            {
              "body": "Bring sports more fully into your day with the Nike App.",
              "cta_type": "INSTALL_MOBILE_APP",
              "caption": "itunes.apple.com",
              "link_description": "₱3,595",
              "link_url": "https://www.nike.com/ph/t/fc-barcelona-2023-24-stadium-fourth-dri-fit-football-shirt-j09wGH/DR5081-729",
              "title": "Nike F.C. Barcelona 2023/24 Stadium Fourth Women's Nike Dri-FIT Football Shirt",
              "cta_text": "Install Now",
              "video_hd_url": null,
              "video_preview_image_url": null,
              "video_sd_url": null,
              "watermarked_video_hd_url": null,
              "watermarked_video_sd_url": null,
              "image_crops": [],
              "original_image_url": "https://scontent-phl2-1.xx.fbcdn.net/v/t39.35426-6/431734766_930233981755195_3984431312184472988_n.jpg?_nc_cat=104&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=iwbAn-MQ_XcQ7kNvwHhcslq&_nc_oc=AdqbJ3Bw8kcS68lL_EqGPGPp37W9rPFw6IgKAbpk7fLZYjk_0bcvpV_3B4iSPJrHjc0&_nc_zt=14&_nc_ht=scontent-phl2-1.xx&_nc_gid=gAYiJEAMJzemFnzP2MfEXg&_nc_ss=7f289&oh=00_AQIxLIYIU_P_JWZ3TIW2u5KMjf3pqsCfgfeUF5tu0MbIrg&oe=6AA651AB",
              "resized_image_url": "https://scontent-phl2-1.xx.fbcdn.net/v/t39.35426-6/431734766_930233981755195_3984431312184472988_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=104&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=iwbAn-MQ_XcQ7kNvwHhcslq&_nc_oc=AdqbJ3Bw8kcS68lL_EqGPGPp37W9rPFw6IgKAbpk7fLZYjk_0bcvpV_3B4iSPJrHjc0&_nc_zt=14&_nc_ht=scontent-phl2-1.xx&_nc_gid=gAYiJEAMJzemFnzP2MfEXg&_nc_ss=7f289&oh=00_AQIG3iq2yIj1aW-P--5BF8Dw9CXjYLLACZrK3qmBGd9H…",
              "watermarked_resized_image_url": ""
            }
          ],
          "body": {
            "text": "Bring sports more fully into your day with the Nike App."
          },
          "cta_type": "INSTALL_MOBILE_APP",
          "display_format": "DPA",
          "link_description": "₱3,599",
          "link_url": "http://itunes.apple.com/app/id1095459556",
          "images": [],
          "page_categories": [
            "Sportswear",
            "Product/service"
          ],
          "page_like_count": 39546884,
          "title": "Nike ACG Polartec ® 'Wolf Tree' Women's Mid-Rise Trousers",
          "videos": [],
          "is_reshared": false,
          "extra_links": [],
          "extra_texts": [],
          "extra_images": [],
          "extra_videos": [],
          "country_iso_code": null,
          "brazil_tax_id": null,
          "additional_info": null,
          "ec_certificates": []
        },
        "has_user_reported": false,
        "report_count": null,
        "menu_items": [],
        "state_media_run_label": null,
        "page_name": "Nike",
        "impressions_with_index": {
          "impressions_text": null,
          "impressions_index": -1
        },
        "gated_type": "ELIGIBLE",
        "categories": [
          "UNKNOWN"
        ],
        "is_aaa_eligible": false,
        "contains_digital_created_media": false,
        "reach_estimate": null,
        "currency": "",
        "spend": null,
        "end_date": 1788850800,
        "publisher_platform": [
          "FACEBOOK",
          "INSTAGRAM"
        ],
        "start_date": 1744009200,
        "contains_sensitive_content": false,
        "total_active_time": null,
        "regional_regulation_data": {
          "finserv": {
            "is_deemed_finserv": false,
            "is_limited_delivery": false
          },
          "tw_anti_scam": {
            "is_limited_delivery": false
          }
        },
        "hide_data_status": "NONE",
        "fev_info": null,
        "ad_id": null,
        "targeted_or_reached_countries": [],
        "url": "https://www.facebook.com/ads/library?id=1702938977100376",
        "start_date_string": "2025-04-07T07:00:00.000Z",
        "end_date_string": "2026-09-08T07:00:00.000Z"
      },
      {
        "ad_archive_id": "1725806052073781",
        "collation_count": null,
        "collation_id": null,
        "is_active": true,
        "page_id": "102988293558",
        "page_is_deleted": false,
        "snapshot": {
          "branded_content": null,
          "page_id": "102988293558",
          "page_is_deleted": false,
          "page_profile_uri": "https://www.facebook.com/flipkart/",
          "root_reshared_post": null,
          "byline": null,
          "disclaimer_label": null,
          "page_name": "Flipkart",
          "page_profile_picture_url": "https://scontent-phl2-1.xx.fbcdn.net/v/t39.35426-6/745282931_1061978062923972_4893760407689107344_n.jpg?stp=dst-jpg_s60x60_tt6&_nc_cat=104&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=_9gMKOyY-ZkQ7kNvwHT17VK&_nc_oc=Ado334D53ocrqoVGCvfvZfDqLk5cUT6u6ixvCuraFBK1sOrdPq0X2yGF1F0Pwjd6urI&_nc_zt=14&_nc_ht=scontent-phl2-1.xx&_nc_gid=gAYiJEAMJzemFnzP2MfEXg&_nc_ss=7f289&oh=00_AQLSEjhmURogh6njlUrFaEOKZwzLCcltu-HS9G8-6E-At…",
          "event": null,
          "caption": "play.google.com",
          "cta_text": "Shop now",
          "cards": [
            {
              "body": "₹999Rexel Spelax Printed Men Round Neck White T-shirt",
              "cta_type": "SHOP_NOW",
              "caption": "play.google.com",
              "link_description": "New user offer: Get 10% off upto Rs 100 on your first order!",
              "link_url": "http://www.flipkart.com/rexel-spelax-printed-men-round-neck-white-t-shirt/p/itmf3yt4ffkkzezh?pid=TSHEZJZYBGYRNGYF&marketplace=FLIPKART&cmpid=content_appretar_MensClothingTopwearUnbranded_MensTopwearUB_facebook",
              "title": "Lifestyle Must-Haves from ₹199",
              "cta_text": "Shop Now",
              "video_hd_url": null,
              "video_preview_image_url": null,
              "video_sd_url": null,
              "watermarked_video_hd_url": null,
              "watermarked_video_sd_url": null,
              "image_crops": [],
              "original_image_url": "https://scontent-phl2-1.xx.fbcdn.net/v/t39.35426-6/745524975_1016297964449577_7448839044240076670_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=zO8KAmIPNKUQ7kNvwG1fsNw&_nc_oc=Ado5rbPSiJ1fo87LWTbbSu3zvTCp_hcjB0ZJlJVL-f9jqgyC3NQs2QAbKmM52vBDE-w&_nc_zt=14&_nc_ht=scontent-phl2-1.xx&_nc_gid=gAYiJEAMJzemFnzP2MfEXg&_nc_ss=7f289&oh=00_AQIHisNTW0KpxMaC-fx4yPvLAhOLzFgfrPXC-tod8Lk2MQ&oe=6AA650DE",
              "resized_image_url": "https://scontent-phl2-1.xx.fbcdn.net/v/t39.35426-6/745524975_1016297964449577_7448839044240076670_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=108&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=zO8KAmIPNKUQ7kNvwG1fsNw&_nc_oc=Ado5rbPSiJ1fo87LWTbbSu3zvTCp_hcjB0ZJlJVL-f9jqgyC3NQs2QAbKmM52vBDE-w&_nc_zt=14&_nc_ht=scontent-phl2-1.xx&_nc_gid=gAYiJEAMJzemFnzP2MfEXg&_nc_ss=7f289&oh=00_AQIkadhcZYlz7eTuocAbjKHdcAl79iKONieIcbdtjIb…",
              "watermarked_resized_image_url": ""
            },
            {
              "body": "₹999Rexel Spelax Printed Men Round Neck Grey T-shirt",
              "cta_type": "SHOP_NOW",
              "caption": "play.google.com",
              "link_description": "New user offer: Get 10% off upto Rs 100 on your first order!",
              "link_url": "http://www.flipkart.com/rexel-spelax-printed-men-round-neck-grey-t-shirt/p/itmf3ysvzsfyhrte?pid=TSHEZEZN5NWHDZHU&marketplace=FLIPKART&cmpid=content_appretar_MensClothingTopwearUnbranded_MensTopwearUB_facebook",
              "title": "Lifestyle Must-Haves from ₹199",
              "cta_text": "Shop Now",
              "video_hd_url": null,
              "video_preview_image_url": null,
              "video_sd_url": null,
              "watermarked_video_hd_url": null,
              "watermarked_video_sd_url": null,
              "image_crops": [],
              "original_image_url": "https://scontent-phl2-1.xx.fbcdn.net/v/t39.35426-6/745714560_1070549995616601_7185546145349806266_n.jpg?_nc_cat=102&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=6zTwVoMZ71EQ7kNvwFHqruz&_nc_oc=AdqmaKAhBcjx55IWNf_bhn65cTQIJHdJrB-D37O6k216mh68G7QCPf1YtfXBo0mghhA&_nc_zt=14&_nc_ht=scontent-phl2-1.xx&_nc_gid=gAYiJEAMJzemFnzP2MfEXg&_nc_ss=7f289&oh=00_AQJUdST6OY9NZKySthSX84Uc9ywar0QI2JiQX4KLvEYTaw&oe=6AA63AD0",
              "resized_image_url": "https://scontent-phl2-1.xx.fbcdn.net/v/t39.35426-6/745714560_1070549995616601_7185546145349806266_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=102&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=6zTwVoMZ71EQ7kNvwFHqruz&_nc_oc=AdqmaKAhBcjx55IWNf_bhn65cTQIJHdJrB-D37O6k216mh68G7QCPf1YtfXBo0mghhA&_nc_zt=14&_nc_ht=scontent-phl2-1.xx&_nc_gid=gAYiJEAMJzemFnzP2MfEXg&_nc_ss=7f289&oh=00_AQKnx8koSCiBF7f18FpGFiaoG-HHVFVR9hJtx_3Gu5l…",
              "watermarked_resized_image_url": ""
            }
          ],
          "body": {
            "text": "₹999Rexel Spelax Printed Men Round Neck White T-shirt"
          },
          "cta_type": "SHOP_NOW",
          "display_format": "DPA",
          "link_description": "New user offer: Get 10% off upto Rs 100 on your first order!",
          "link_url": "http://play.google.com/store/apps/details?id=com.flipkart.android",
          "images": [],
          "page_categories": [
            "Website"
          ],
          "page_like_count": 11831374,
          "title": "Lifestyle Must-Haves from ₹199",
          "videos": [],
          "is_reshared": false,
          "extra_links": [],
          "extra_texts": [],
          "extra_images": [],
          "extra_videos": [],
          "country_iso_code": null,
          "brazil_tax_id": null,
          "additional_info": null,
          "ec_certificates": []
        },
        "has_user_reported": false,
        "report_count": null,
        "menu_items": [],
        "state_media_run_label": null,
        "page_name": "Flipkart",
        "impressions_with_index": {
          "impressions_text": null,
          "impressions_index": -1
        },
        "gated_type": "ELIGIBLE",
        "categories": [
          "UNKNOWN"
        ],
        "is_aaa_eligible": false,
        "contains_digital_created_media": false,
        "reach_estimate": null,
        "currency": "",
        "spend": null,
        "end_date": 1788850800,
        "publisher_platform": [
          "FACEBOOK",
          "INSTAGRAM"
        ],
        "start_date": 1783926000,
        "contains_sensitive_content": false,
        "total_active_time": null,
        "regional_regulation_data": {
          "finserv": {
            "is_deemed_finserv": false,
            "is_limited_delivery": false
          },
          "tw_anti_scam": {
            "is_limited_delivery": false
          }
        },
        "hide_data_status": "NONE",
        "fev_info": null,
        "ad_id": null,
        "targeted_or_reached_countries": [],
        "url": "https://www.facebook.com/ads/library?id=1725806052073781",
        "start_date_string": "2026-07-13T07:00:00.000Z",
        "end_date_string": "2026-09-08T07:00:00.000Z"
      }
    ],
    "searchResultsCount": 50001,
    "cursor": "AQHTKMO4YU72Z1XOBeCXD5p2h7UCRbSHUFVT7B-6ygieBq-xwR9Du8kB9lBCfMBtwF02"
  }
}

Getting more results

Each response includes a cursor. Pass it back as cursor to fetch the next 30 ads. Repeat until no cursor is returned.

two calls
# Call 1 — first 30 ads
curl "https://fastfetchz.com/v1/facebook-ad-library/search-company-search?target=nasa" \
  -H "X-API-Key: $FASTFETCHZ_KEY"
# -> { "data": { ... }, "cursor": "eyJwYWdlIjoyfQ" }

# Call 2 — next 30 ads
curl "https://fastfetchz.com/v1/facebook-ad-library/search-company-search?target=nasa&cursor=eyJwYWdlIjoyfQ" \
  -H "X-API-Key: $FASTFETCHZ_KEY"

Limits

  • Maximum per call: 30 ads.
  • Minimum per call: 1 ad — a target with less data returns fewer ads, and an empty result is still a successful call.
  • Each call fetches a full page of up to 30 and costs the same either way. Pass limit to receive fewer than that in the response.
  • Larger jobs are paginated with a cursor; there is no cap on how many pages you fetch.

What this costs in practice

300,000 ads = 10,000 calls × 1 credits per call = 10,000 credits = $0.00

Priced at the Custom pack rate: 1,000,000 credits for $0.00.

Open in the pricing calculator

Error codes

401invalid_api_keyMissing or unrecognized X-API-Key header. No credits are charged.
402insufficient_creditsYour balance is below the cost of the call. Top up to continue.
403account_suspended / key_revokedThe account is suspended or the key was revoked.
429rate_limitedOver your account's requests-per-second limit. Retrying helps: the body carries retry_after_seconds and the response carries a Retry-After header. Not charged.
429monthly_cap_reachedThis key used the monthly call cap you set for it. Retrying will not help — raise the cap, use another key, or wait for the next calendar month. No Retry-After header is sent. Not charged.
500upstream_errorUnexpected failure while fulfilling the request. Not charged.