77trust / 100

Facebook Page

by ApiToll Facebook Page Ad Monitor in News & content

x402 APIPassing, checked 36 min ago

Facebook ads from a specific advertiser page — monitor every live and recent ad a competitor runs by passing their Facebook page URL, vanity handle, or page id. Returns the full ad creative (headline, body copy, CTA + destination link, image and video URLs), run dates, and platform mix across Facebook, Instagram, Messenger and Threads. Track a competitor’s ad strategy and winning creatives over time. No Meta login.

GET
https://ads.apitoll.cloud/v1/ads/facebook/page
Price
$0.03
per call in USDC
Uptime
98.0%
last 30 days
Response time
176 ms
360 ms slowest 5%
Last check
Passed
36 min ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://ads.apitoll.cloud/v1/ads/facebook/page

Each call costs $0.03 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://ads.apitoll.cloud/v1/ads/facebook/page?page=https%3A%2F%2Fwww.facebook.com%2Fnike

Parameters

ParameterTypeRequiredDescription
active_statusstringNoFilter by whether the ad is still running. One of: all, active, inactive.
ad_typestringNoAd category filter. political_and_issue_ads MAY add spend + impressions ranges when Meta discloses them (often absent). One of: all, political_and_issue_ads, housing_ads, employment_ads, credit_ads, financial_products_and_services_ads.
countrystringNoTwo-letter ISO country (US, GB, DE…) the ads target, or ALL for a bounded multi-region sweep (slower). Default US.
limitintegerNoMax ads to return (1-60).
media_typestringNoCreative format filter. One of: all, image, video, meme, image_and_meme, none.
pagestringYesFacebook page URL (facebook.com/nike), vanity handle, profile.php?id=, or numeric page id. Defaults to a demo page if omitted.
periodstringNoLimit to ads active in this window. Blank = all time. One of: , last24h, last7d, last14d, last30d.
platformsstringNoComma-separated publisher filter: FACEBOOK,INSTAGRAM,MESSENGER,AUDIENCE_NETWORK,THREADS,WHATSAPP. Blank = all.
resolve_advertiserbooleanNoAlso resolve the page identity (categories, profile pic). Slower. Default false.
sort_bystringNomost_recent (newest/currently-running first — default) or impressions_desc (all-time highest-impression ads, often older/ended). One of: impressions_desc, most_recent.

Example response

The provider's example. We can't check it without paying.

Example response, 44 lines
{
  "ads": [
    {
      "adArchiveId": "9876543210987654",
      "bodyText": "{{product.brand}} — {{product.description}}",
      "country": "US",
      "ctaText": "Shop Now",
      "ctaType": "SHOP_NOW",
      "daysRunning": 14,
      "displayFormat": "DCO",
      "imageUrls": [
        "https://scontent.xx.fbcdn.net/v/nike1.jpg"
      ],
      "isActive": true,
      "linkUrl": "https://fb.com/canvas_doc/1357532171781925",
      "linkUrlType": "canvas",
      "mediaExpiresAt": "2026-06-29T22:19:28Z",
      "pageId": "15087023444",
      "pageName": "Nike",
      "publisherPlatform": [
        "FACEBOOK",
        "INSTAGRAM",
        "AUDIENCE_NETWORK"
      ],
      "scrapedAt": "2026-06-19T14:32:09Z",
      "sourceUrl": "https://www.facebook.com/ads/library/?view_all_page_id=15087023444",
      "startDate": 1718000000,
      "templatedText": true,
      "title": "{{product.name}}"
    }
  ],
  "asOf": "2026-06-19T14:32:10Z",
  "count": 25,
  "country": "US",
  "page": "https://www.facebook.com/nike",
  "resolvedPage": {
    "pageId": "15087023444",
    "pageName": "Nike"
  },
  "source": {
    "name": "Facebook Ad Library",
    "via": "Apify"
  }
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.03.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://ads.apitoll.cloud/v1/ads/facebook/page?page=https%3A%2F%2Fwww.facebook.com%2Fnike'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://ads.apitoll.cloud/v1/ads/facebook/page?page=https%3A%2F%2Fwww.facebook.com%2Fnike' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.03 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.03" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.03 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fads.apitoll.cloud%2Fv1%2Fads%2Ffacebook%2Fpage
const res = await pay("https://ads.apitoll.cloud/v1/ads/facebook/page?page=https%3A%2F%2Fwww.facebook.com%2Fnike");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.03 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.03"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://ads.apitoll.cloud/v1/ads/facebook/page?page=https%3A%2F%2Fwww.facebook.com%2Fnike")
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
36 min agoPassed402160 ms$0.03
11 h agoPassed402173 ms$0.03
22 h agoPassed402363 ms$0.03
34 h agoPassed402241 ms$0.03
3 days agoTimed out---
Show 10 older checks
5 days agoTimed out---
5 days agoPassed402135 ms$0.03
6 days agoPassed402128 ms$0.03
6 days agoPassed402105 ms$0.03
6 days agoPassed402166 ms$0.03
7 days agoPassed402228 ms$0.03
7 days agoPassed402164 ms$0.03
7 days agoPassed402163 ms$0.03
8 days agoPassed402209 ms$0.03
8 days agoPassed402202 ms$0.03