# AnyAPI Facebook Search Pages

> AnyAPI Facebook Search Pages is a paid API for AI agents from api.getanyapi.com, paid per call via x402, $0.111/call, status unknown (last checked 2026-09-14).

Searches Facebook for pages matching a given query and returns matching page results

## Facts

- Endpoint: POST https://api.getanyapi.com/v1/run/facebook.search_pages
- Price: $0.111/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anyapi-facebook-search-pages-ae50cf82
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dlbQYIfEJKVOG69aaOpZ_

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 anyapi-facebook-search-pages-ae50cf82 -d '<json body>'
```

Example prompt: Search Facebook for pages related to 'organic coffee roasters' and give me a list of matching pages with their names and links.

## When to prefer this

Use this endpoint when you need to discover Facebook pages by keyword or topic without a Facebook developer account or Graph API access. Ideal for competitive research, brand monitoring, lead generation, or finding niche communities on Facebook. Prefer this over the Facebook Graph API when you don't want to manage OAuth tokens or app review processes.

## Known failure modes

- No pages found for the given query — returns empty result set
- Facebook anti-scraping measures trigger a block or CAPTCHA — returns error
- Query too vague or generic — returns irrelevant or unrelated pages
- Rate limiting or payment failure — returns 402 or quota error
- Facebook changes its page structure — results may be incomplete or malformed

## How this service works

1,200+ scraping and data APIs behind one key. Pay per request in real dollars. No subscriptions, nothing monthly, nothing to cancel.

## Output

A JSON array of Facebook page results matching the search query, typically including page names, URLs, category labels, follower or like counts, and other available page metadata scraped from Facebook's search results.

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anyapi-facebook-search-pages-ae50cf82/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.getanyapi.com](https://www.zero.xyz/host/api.getanyapi.com/llms.txt)
