Post Scraper
This API can be used for scraping any person or company post. You just have to pass the post URL to our API.
You have to send a GET request to https://api.scrapingdog.com/profile/post along with the below given parameters. Each successful request will cost 5 credits.
Parameters
Parameters
Description
api_key required
Your personal API key. Available on your dashboard Type: String
id required
Post ID. Type: String
API Example
curl "https://api.scrapingdog.com/profile/post?api_key=APIKEY&id=6976499964512243712"import requests
url = "https://api.scrapingdog.com/profile/post"
params = {
"api_key": "APIKEY",
"id": "6976499964512243712"
}
response = requests.get(url, params=params)
if response.status_code == 200:
data = response.json()
print(data)
else:
print(f"Request failed with status code: {response.status_code}")
const axios = require('axios');
const url = 'https://api.scrapingdog.com/profile/post';
const params = {
api_key: 'APIKEY',
id: '6976499964512243712'
};
axios.get(url, { params: params })
.then(response => {
if (response.status === 200) {
const data = response.data;
console.log(data);
} else {
console.log(`Request failed with status code: ${response.status}`);
}
})
.catch(error => {
console.error('An error occurred:', error);
});
Last updated