POST
/
api
/
scrapers
/
leads-generator
/
google
/
create-and-run

Authorizations

Authorization
string
headerrequired

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
name
string
required

The name of the scraping task.

search_type
enum<string>
required

The search type. It can be either 'url' or 'keywords'.

Available options:
url,
keywords
keywords
string

Keywords to search. Required if the search type is 'keywords'.

url
string

URL to search. Required if search type is 'url'.

limit_pages
integer
required

Limit the number of pages to scrape.

Response

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