POST
/
api
/
scrapers
/
{scraper_id}
/
run
curl --request POST \
  --url https://app.mrscraper.com/api/scrapers/{scraper_id}/run \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "urls": [
    "https://example.com/page-1",
    "https://example.com/page-2"
  ]
}'
{
  "data": [
    {
      "id": 1,
      "scraper_id": 88683,
      "scraping_run_id": 1,
      "scraper_name": "My scraper 1",
      "scraped_url": "https://example.com/page-1",
      "status": "running",
      "content": null,
      "created_at": "2022-11-20T11:54:52.000000Z",
      "updated_at": "2022-11-20T11:54:52.000000Z"
    },
    {
      "id": 2,
      "scraper_id": 88683,
      "scraper_name": "My scraper 1",
      "scraped_url": "https://example.com/page-2",
      "status": "queued",
      "content": null,
      "created_at": "2022-10-20T11:54:52.000000Z",
      "updated_at": "2022-10-20T11:54:52.000000Z"
    }
  ]
}

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.

Path Parameters

scraper_id
integer
required

The scraper's ID.

Body

application/json
urls
string[]

The URLs to scrape if you want to override default ones.

Response

200 - application/json
data
object[]