Endpoints: Migrating from v1 to v2

❗️

Old /v1 Scraping API endpoints will be deprecated on the 4th of March 2024

New /v2 endpoints have been released for all scraping products. Changes to these endpoints include:

  • New subdomain scraper-api
  • New routes that start with /v2

The new /v2 endpoints should be used by default by all new customers.

Existing customers should migrate from /v1 to /v2 endpoints before 4th of March 2024, after which /v1 endpoints will no longer be supported.

Migrating SERP, eCommerce & Web integrations

  • Real-time (Synchronous) integrations should be changed:
Changes
Fromhttps://scrape.smartproxy.com/v1/tasks
tohttps://scraper-api.smartproxy.com/v2/scrape
  • Asynchronous integrations should be changed:
Changes
Fromhttps://scrape.smartproxy.com/v1/data
tohttps://scraper-api.smartproxy.com/v2/task
  • Batch Requests (Asynchronous) integrations should be changed:
Changes
Fromhttps://scrape.smartproxy.com/v1/data/batch
tohttps://scraper-api.smartproxy.com/v2/task/batch

Migrating Social Media integrations

  • Real-time (Synchronous) integrations should be changed:
Changes
Fromhttps://scraper-api.smartproxy.com/v1/scrape
tohttps://scraper-api.smartproxy.com/v2/scrape
  • Asynchronous integrations should be changed:
Changes
Fromhttps://scraper-api.smartproxy.com/v1/task
tohttps://scraper-api.smartproxy.com/v2/task

Result Format Changes for Social Media

The data obtained from the Social Media Scraper with have following changes:

/v1

{
    data: [{...}]
    task_id: ...
}

/v2

{
    results: [{...}]
    task_id: ...
}