POST
/v1/tasksAdd Tasks
Add Facebook Pages search URLs to scrapeAdd Facebook Pages search URLs to scrape business pages. The scraper extracts page information including contact details, follower counts, and social links.
Headers
| Key | Value | Required |
|---|---|---|
| Authorization | Token YOUR_API_KEY | Yes |
| Content-Type | application/json | Yes |
Request Body
squid
Type:
string
Required:
Yes
Description:
Hash of your squid configured with the Facebook Pages Search Export crawler
tasks
Type:
array
Required:
Yes
Description:
Array of task objects, each containing a `url` field
Task Object
url
Type:
string
Required:
Yes
Description:
Facebook Pages search URL (e.g., `https://www.facebook.com/search/pages?q=coffee%20shop`)
Pro Tip
Perform your search on Facebook first, then copy the URL to preserve all search parameters.
Note
Facebook Pages search URLs follow the format: `https://www.facebook.com/search/pages?q=YOUR_SEARCH_QUERY` where the query should be URL-encoded.