# ScopeAPI Facebook Ads Search

> ScopeAPI Facebook Ads Search 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-14).

Search and retrieve Facebook ad intelligence data by keyword query

## Facts

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

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-eda253cd
```

Example prompt: Search ScopeAPI's Facebook ads intelligence for ads related to 'protein powder' — I want to see what ads are currently running on Facebook for that keyword.

## When to prefer this

Choose this endpoint when you need to search Facebook ad intelligence by keyword and want pay-per-call access without a subscription. Ideal for competitive ad research, marketing analysis, or discovering what ads are running on Facebook for specific topics. Best when you need ad data programmatically via micropayments on Base.

## Known failure modes

- Missing required 'q' query parameter returns an error or empty result
- Payment not completed via x402 micropayment returns 402 Payment Required
- Invalid or expired USDC payment on Base network causes authorization failure
- Facebook data unavailable for obscure or very new keywords returns empty data object
- Rate limiting or upstream Facebook data source unavailability causes 503 errors

## 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 a 'data' field containing Facebook ad search results matching the query keyword, along with a 'source' field identifying ScopeAPI. The data likely includes ad creatives, advertisers, and campaign metadata found on Facebook for the given search term.

## 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-eda253cd/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)
