Add Tasks
Facebook Pages Search Export
Add Tasks
Add Facebook Pages search URLs to scrape
POST
Add Tasks
Add Facebook Pages search URLs to scrape business pages. The scraper extracts page information including contact details, follower counts, and social links.
Headers
Your API authentication token. Value:
Token YOUR_API_KEYRequest body format. Value:
application/jsonRequest Body
| Field | Type | Required | Description |
|---|---|---|---|
| squid | string | Yes | Hash of your squid configured with the Facebook Pages Search Export crawler |
| tasks | array | Yes | Array of task objects, each containing a url field |
Task Object
| Field | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | Facebook Pages search URL (e.g., https://www.facebook.com/search/pages?q=coffee%20shop) |
Facebook Pages search URLs follow the format:
https://www.facebook.com/search/pages?q=YOUR_SEARCH_QUERY where the query should be URL-encoded.Code Examples
Response
200