Get this month's usage
curl --request GET \
--url https://go-fetch.io/api/v1/organizations/{id}/usage/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://go-fetch.io/api/v1/organizations/{id}/usage/"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://go-fetch.io/api/v1/organizations/{id}/usage/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"period": "<string>",
"items_scraped": 123,
"credits_spent": "<string>",
"jobs_count": 123,
"successful_jobs": 123,
"failed_jobs": 123
}Organizations
Get this month's usage
Items scraped, credits spent and job counts since the 1st of the month (UTC).
GET
/
api
/
v1
/
organizations
/
{id}
/
usage
/
Get this month's usage
curl --request GET \
--url https://go-fetch.io/api/v1/organizations/{id}/usage/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://go-fetch.io/api/v1/organizations/{id}/usage/"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://go-fetch.io/api/v1/organizations/{id}/usage/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"period": "<string>",
"items_scraped": 123,
"credits_spent": "<string>",
"jobs_count": 123,
"successful_jobs": 123,
"failed_jobs": 123
}