datasets_facebook_pages_search
Search stored public Facebook Page contact records by name or identifiers, returning website, email, phone, WhatsApp, category, and like count when available. Costs 1 credit per record returned (minimum 2), so keep page_size to what you need. Use filters for contact fields and discovery source; use datasets_facebook_pages_item for one record or datasets_facebook_pages_facets for counts.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "datasets_facebook_pages_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Optional full-text query over title and address, max 256 characters. | |
| page | No | Result page number, 1-based, default 1; page times page_size must not exceed 10000. | |
| sort | No | Optional sort order. Allowed values: relevance, likes_desc, likes_asc, hydrated_at_desc, hydrated_at_asc. Defaults to relevance with q, otherwise likes_desc. | |
| page_id | No | Optional exact Facebook Page id filter, max 128 characters. | |
| category | No | Optional exact Page category filter (case-insensitive), max 128 characters. | |
| has_email | No | Optional filter for Pages with a public contact email. | |
| has_phone | No | Optional filter for Pages with at least one public phone number. | |
| max_likes | No | Optional maximum Page like count, 0 or greater. | |
| min_likes | No | Optional minimum Page like count, 0 or greater. | |
| page_size | No | Page size, default 20, max 100; page times page_size must not exceed 10000. | |
| identifier | No | Optional exact Page username/identifier filter (case-insensitive), max 128 characters. | |
| has_website | No | Optional filter for Pages with a linked website. | |
| has_whatsapp | No | Optional filter for Pages with a public WhatsApp contact. | |
| hydrated_after | No | Optional filter for records last refreshed on or after this date (RFC3339 or YYYY-MM-DD). | |
| hydrated_before | No | Optional filter for records last refreshed on or before this date (RFC3339 or YYYY-MM-DD). | |
| discovery_source | No | Optional exact filter for how the Page was discovered (e.g. wikidata), max 128 characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |