POST
/
api
/
scrapers
/
pdf
/
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.

keywords
object[]
required

The each keywords to search PDF files.

unique
boolean

Option to not include previously scraped PDF files.

expected_pdf
number

The total expected PDF files results. This will automatically add the alternative keywords needed to achieve the expected results.

Response

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