# ScopeAPI Facebook Pages Search

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

Search for Facebook Pages by keyword query and return matching page data

## Facts

- Endpoint: GET https://scopeapipay.vercel.app/api/facebook/search/pages
- 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-pages-search-dc9d41c7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vwPfmco7Rx9sPfw_7iHYZ

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-pages-search-dc9d41c7
```

Example prompt: Search Facebook Pages for 'organic coffee brand' and show me the matching pages — I want to see what pages come up for that term.

## When to prefer this

Use this endpoint when you need to search and discover Facebook Pages by keyword for social media intelligence, competitor analysis, brand monitoring, or market research — especially when integrating with an x402 micropayment workflow using USDC on Base. Prefer this over manual Facebook searches when automating discovery at scale.

## Known failure modes

- Missing required 'q' query parameter returns an error or empty result
- Invalid or empty query string may return no results
- Rate limiting or payment failure (402) if USDC micropayment is not completed
- Facebook data unavailability or scraping restrictions may cause partial or empty responses
- Network timeout on the upstream data source

## 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 Pages matching the search query and a 'source' field identifying ScopeAPI as the provider. Page results typically include page names, identifiers, and metadata about matched pages.

## 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-pages-search-dc9d41c7/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)
