Credit Usage
curl "http://api.scraperapi.com/account?api_key=API_KEY"import requests
payload = {'api_key': 'APIKEY'}
r = requests.get('http://api.scraperapi.com/account', params=payload)
print(r.text)import fetch from 'node-fetch';
fetch('http://api.scraperapi.com/account?api_key=API_KEY')
.then(res => res.text())
.then(body => {
console.log(body);
})
.catch(err => {
console.error(err);
});<?php
// Replace the value for api_key with your actual API Key
$url = "https://api.scraperapi.com/account?api_key=API_KEY";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, false);
$response = curl_exec($ch);
if (curl_errno($ch)) {
echo 'Curl error: ' . curl_error($ch);
} else {
print_r($response);
}
curl_close($ch);Last updated

