Company Profile Scraper
Parameters
Parameter
Description
API Example
curl "https://api.scrapingdog.com/profile/?api_key=5eaa61a6e562fc52fe763tr516e4653&type=company&id=amazon"import requests
api_key = "5eaa61a6e562fc52fe763tr516e4653"
url = "https://api.scrapingdog.com/profile/"
params = {
"api_key": api_key,
"type": "company",
"id": "amazon"
}
response = requests.get(url, params=params)
if response.status_code == 200:
data = response.json()
print(data)
else:
print(f"HTTP request failed with status code {response.status_code}")
const axios = require('axios');
const api_key = '5eaa61a6e562fc52fe763tr516e4653';
const type = 'company';
const id = 'amazon';
const apiUrl = 'https://api.scrapingdog.com/profile/';
axios
.get(apiUrl, {
params: {
api_key,
type,
id,
}
})
.then(response => {
if (response.status === 200) {
const data = response.data;
console.log(data);
} else {
console.log(`HTTP request failed with status code ${response.status}`);
}
})
.catch(error => {
console.error(`An error occurred: ${error}`);
});
Last updated