# ScopeAPI Facebook Search

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

Search Facebook for social content, pages, or profiles using a keyword query, paid per call via USDC micropayment.

## Facts

- Endpoint: GET https://scopepay.vercel.app/api/facebook/search
- Price: $0.5/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-search-4d99fad0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4kRjf0RMHFilg2TaQ2HuN

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-search-4d99fad0
```

Example prompt: Search Facebook for 'Nike running shoes' and show me what pages, posts, or profiles come up.

## When to prefer this

Use this endpoint when you need programmatic access to Facebook search results (pages, profiles, posts) for a keyword and are willing to pay $0.50 USDC per call via x402 micropayment on Base. Prefer this over manual browsing or scraping when integrating Facebook social intelligence into an automated workflow or agent pipeline.

## Known failure modes

- Missing or empty `q` query parameter returns an error or empty result
- Query matches no Facebook entities — returns empty data object
- Rate limiting or payment failure (x402 USDC payment not processed) blocks the request
- Invalid or malformed query string causes a 400-level error
- Facebook data unavailable or scraping blocked upstream returns incomplete results

## 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 search results (pages, profiles, posts, or other entities matching the query) and a `source` field identifying ScopeAPI as the provider.

## 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-search-4d99fad0/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)
