Social Media Scraping API
Introduction
Social Media Scraping API allows you to scrape public information from social media websites. See the subsections in this page to see what targets are supported.
You may choose to scrape real-time or via a callback method and receive the results in raw HTML or parsed JSON format.
Authentication
Once you have an active Social Media Scraping API subscription, you can set your password in the dashboard. To do so, select Social Media under Scraping APIs list. Then, head over to the Authentication method tab. Click the pencil icon and enter your password.
Synchronous (real-time) & asynchronous (callback) requests
With Social Media Scraping API, you can scrape choosing synchronous requests to receive data instantly or asynchronous requests to receive data based on a callback function.
Synchronous (real-time)
POST
https://scraper-api.smartproxy.com/v1/scrape
Asynchronous (create a callback)
POST
https://scraper-api.smartproxy.com/v1/task
Asynchronous (receive data in raw HTML)
GET
https://scraper-api.smartproxy.com/v1/task/{{task_id}}/results?type=raw
Asynchronous (receive data parsed in JSON)
GET
https://scraper-api.smartproxy.com/v1/task/{{task_id}}/results?type=Parsed
Postman Collection
Updated 2 months ago