# ScopeAPI Facebook Ads by Page ID

> ScopeAPI Facebook Ads by Page ID is a paid API for AI agents from scopepay.vercel.app, paid per call via x402, $0.75/call, status unknown (last checked 2026-09-13).

Retrieves Facebook ads intelligence data for a specific Facebook page, including ad creatives, targeting, and spend information.

## Facts

- Endpoint: GET https://scopepay.vercel.app/api/facebook/ads/page/%7BpageId%7D
- Price: $0.75/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scopeapi-facebook-ads-by-page-id-c487958f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9zqr0wD5fPrskzLtpaXC7

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability scopeapi-facebook-ads-by-page-id-c487958f
```

Example prompt: Can you pull the Facebook ads intelligence for the page with ID 123456789 — I want to see what ads they're currently running?

## When to prefer this

Use this endpoint when you need Facebook ads intelligence for a specific known page ID, especially for competitive ad research, brand monitoring, or advertiser analysis. Prefer this over scraping or unofficial tools when you need structured, paid, per-call data with micropayment billing.

## Known failure modes

- Invalid or non-existent pageId returns empty data or error
- Payment failure via x402 if insufficient USDC balance
- Rate limiting if too many requests are made
- Private or restricted Facebook pages may return no ads data
- Malformed pageId path parameter returns 400 or similar error

## How this service works

37 paid REST endpoints: Facebook social & ads intelligence, Amazon e-commerce data, job market intelligence. Pay per call via x402 micropayments (USDC on Base).

## Output

A JSON object with a 'data' field containing Facebook ads intelligence for the specified page (ad creatives, targeting, spend signals, etc.) and a 'source' field confirming 'ScopeAPI'. Costs $0.75 USDC per call via x402 micropayment on Base.

## Request schema (JSON Schema)

```json
{
 "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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "pageId": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "source": "ScopeAPI"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scopeapi-facebook-ads-by-page-id-c487958f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scopepay.vercel.app](https://www.zero.xyz/host/scopepay.vercel.app/llms.txt)
