POST/v1/tasks

Add Tasks

Add Facebook Pages search URLs to scrape

Add Facebook Pages search URLs to scrape business pages. The scraper extracts page information including contact details, follower counts, and social links.

Headers

KeyValueRequired
AuthorizationToken YOUR_API_KEYYes
Content-Typeapplication/jsonYes

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

Pro Tip

Perform your search on Facebook first, then copy the URL to preserve all search parameters.
Note

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.