POST
/
api
/
scrapers
/
fb-marketplace
/
create-and-run

Authorizations

Authorization
string
header
required

You can retrieve your token by visiting the API Tokens section inside your profile page or see https://docs.mrscraper.com/documentation/api-token for the details.

Body

application/json
categories
object[]
required

The categories to scrape

name
string
required

The name of the scraping task.

zip_codes
string[]
required

The zip codes to scrape.

detail
boolean
default:
true

Scrape listed date.

pagination
number
default:
5

Scrape until page.

webhook_url
string

The URL to which the scraping results will be sent using POST request.

Response

200 - application/json
message
string
results
any[]
scraper
object