{"uid":"cap_U_OXACzjTESi7ZUoK8TyE","slug":"facebook-ad-library-company-ads-search-8e3840d2","name":"Facebook Ad Library Company Ads Search","description":"Company Ads Pagination billing: call the first page normally and save billing.requestId from the Orthogonal /v1/run response. For later page, offset, or cursor calls on the same logical search, pass parentRequestId with unchanged non-pagination parameters. Valid continuation calls still get their own request IDs and quoted price, but are charged 0. Changing filters starts a new billable request.","url":"https://x402.orthogonal.com/scrapecreators/v1/facebook/adLibrary/company/ads?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"trim":{"type":"string","description":"Set to true for a trimmed response"},"cursor":{"type":"string","description":"Cursor for pagination For later cursor pages of the same logical search, keep non-pagination parameters unchanged and pass top-level parentRequestId from the first Orthogonal /v1/run response."},"pageId":{"type":"string","description":"Facebook page ID"},"status":{"type":"string","description":"Status filter"},"country":{"type":"string","description":"Country filter"},"end_date":{"type":"string","description":"End date (YYYY-MM-DD)"},"language":{"type":"string","description":"Language filter"},"media_type":{"type":"string","description":"Media type filter"},"start_date":{"type":"string","description":"Start date (YYYY-MM-DD)"},"companyName":{"type":"string","description":"Company name"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-KWHMOkiTfGmc6Bg501m4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches and retrieves paginated ads from Facebook's Ad Library for a specific company, with smart billing that charges only for the first page of each logical search.","exampleAgentPrompt":"Pull all active Facebook ads for Nike from the US Ad Library between January 1, 2024 and June 30, 2024 — show me image and video ads only.","exampleUseCases":[{"title":"Competitor ad creative research","prompt":"Show me all the Facebook ads that Coca-Cola has been running in the US since the start of 2024, filtered to active image ads only."},{"title":"Brand ad compliance monitoring","prompt":"Pull every Facebook ad from our company page ID 123456789 that's currently active and targeted to the UK market so our compliance team can review them."},{"title":"Campaign date range analysis","prompt":"Get all Facebook ads run by Apple between October 1, 2023 and December 31, 2023 in any country — I want to see what they were pushing during the holiday season."}],"resultDescription":"Returns a paginated list of Facebook Ad Library entries for the specified company, including ad creatives, status, media type, targeting metadata, and a cursor for fetching subsequent pages. The first-page response also includes a billing requestId that can be passed as parentRequestId for subsequent pages at no additional charge.","failureModes":["Company name or page ID not found in Facebook Ad Library — returns empty results","Invalid date format (must be YYYY-MM-DD) causes a 400 error","Invalid country or language code returns no results","Cursor from a different search session or expired cursor causes pagination failure","Changing filter parameters while passing parentRequestId starts a new billable request"],"whenToPreferThis":"Use this endpoint when you need to scrape Facebook Ad Library data for a specific company with pagination support and cost-efficient continuation billing. Prefer it over direct Facebook Ad Library API access when you want simplified querying by company name (not just page ID) and automatic smart billing for multi-page result sets. Best for competitive research, brand monitoring, or ad compliance workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T18:58:43.099Z","isFirstParty":false,"canonicalSlug":"facebook-ad-library-company-ads-search-8e3840d2"}