POST
/
api
/
scrapers
/
leads-generator
/
twitter
/
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
string
required

Keywords to search.

sentiment_type
enum<string>
required

Sentiment type for the data.

Available options:
all,
positive,
neutral,
negative
expected_data
integer
required

The number of expected data.

Response

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