Endpoints: Migrating from v1 to v2
Old /v1 Scraping API endpoints will be deprecated on the 1st of February 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 1st of February 2024, after which /v1 endpoints will no longer be supported.
Migrating SERP, eCommerce & Web integrations
- Real-time (Synchronous) integrations should be changed:
Changes | |
---|---|
From | https://scrape.smartproxy.com/v1/tasks |
to | https://scraper-api.smartproxy.com/v2/scrape |
- Asynchronous integrations should be changed:
Changes | ||
---|---|---|
From | https://scrape.smartproxy.com/v1/data | |
to | https://scraper-api.smartproxy.com/v2/task |
- Batch Requests (Asynchronous) integrations should be changed:
Changes | |
---|---|
From | https://scrape.smartproxy.com/v1/data/batch |
to | https://scraper-api.smartproxy.com/v2/task/batch |
Migrating Social Media integrations
- Real-time (Synchronous) integrations should be changed:
Changes | |
---|---|
From | https://scraper-api.smartproxy.com/v1/scrape |
to | https://scraper-api.smartproxy.com/v2/scrape |
- Asynchronous integrations should be changed:
Changes | |
---|---|
From | https://scraper-api.smartproxy.com/v1/task |
to | https://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: ...
}
Updated about 1 month ago