# API Direct – Facebook Pages Search

> API Direct – Facebook Pages Search is a paid API for AI agents from x402.apidirect.io, paid per call via x402, $0.009/call, status unknown (last checked 2026-10-30).

Search for Facebook pages by keyword, returning multiple pages of results merged into a single response.

## Facts

- Endpoint: GET https://x402.apidirect.io/v1/facebook/pages?utm_source=zero.xyz
- Price: $0.009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-direct-facebook-pages-search-f00d6284
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rbsJwHSDD9C9KmA0jNR09

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 api-direct-facebook-pages-search-f00d6284
```

Example prompt: Search Facebook for pages related to 'organic coffee roasters' and pull back 3 pages of results so I can see as many matching pages as possible.

## When to prefer this

Use this endpoint when you need to discover or enumerate Facebook pages by topic, brand, keyword, or category — especially for competitive research, influencer identification, or building a list of relevant Facebook presences. Prefer this over manual browsing or scraping when you need structured, programmatic results across multiple result pages in one call.

## Known failure modes

- Empty results if query matches no Facebook pages
- Rate limiting or quota errors if too many calls are made in quick succession
- Query exceeding 500-character limit returns a validation error
- Pages parameter out of range (must be 1–15) returns an error
- Facebook-side changes may cause partial or degraded results

## How this service works

Search for Facebook pages by keyword.

## Output

A merged list of Facebook page results matching the search query, including page names, descriptions, URLs, follower counts, and other available metadata, aggregated across the requested number of result pages (1–15).

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "pages": {
       "type": "integer",
       "default": 1,
       "maximum": 15,
       "minimum": 1,
       "description": "Number of pages to fetch and merge into one response (1-15). Billed per page."
      },
      "query": {
       "type": "string",
       "maxLength": 500,
       "description": "Search query (max 500 characters)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-direct-facebook-pages-search-f00d6284/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.apidirect.io](https://www.zero.xyz/host/x402.apidirect.io/llms.txt)
