# ScopeAPI Facebook Ads Search

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

Search and retrieve Facebook ad intelligence data by query keyword via pay-per-call REST API

## Facts

- Endpoint: GET https://scopeapipay.vercel.app/api/facebook/ads/search
- Price: $0.75/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scopeapi-facebook-ads-search-a6c6d81d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8CPMSb0amIUVZBC6mgTZ1

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-search-a6c6d81d
```

Example prompt: Search ScopeAPI's Facebook ads intelligence for all ads currently running with the keyword 'Nike' so I can see what creatives and campaigns they're pushing right now.

## When to prefer this

Choose this endpoint when you need to search Facebook ad intelligence by keyword or brand name and are willing to pay $0.75 USDC per call via x402 micropayment. Ideal for competitive ad research, brand monitoring, and marketing intelligence workflows where Facebook ad creative and campaign data is required on-demand without a long-term API subscription.

## Known failure modes

- Missing required query parameter 'q' returns validation error
- Invalid or missing x402 payment header results in 402 Payment Required response
- Insufficient USDC balance causes payment failure and blocked response
- Query returns empty data set if no matching ads found
- Rate limiting or quota exceeded returns 429 error
- Malformed request returns 400 Bad Request

## 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

Returns a JSON object with ad data sourced from Facebook's ad ecosystem, including ad creatives, advertiser details, and campaign metadata matching the search query, attributed to ScopeAPI.

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "q": {
       "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-search-a6c6d81d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scopeapipay.vercel.app](https://www.zero.xyz/host/scopeapipay.vercel.app/llms.txt)
