Estimate a cost
curl --request POST \
--url https://go-fetch.io/api/v1/pricing/calculate_cost/ \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"platform": "<string>",
"items_count": 1
}
'import requests
url = "https://go-fetch.io/api/v1/pricing/calculate_cost/"
payload = {
"platform": "<string>",
"items_count": 1
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({platform: '<string>', items_count: 1})
};
fetch('https://go-fetch.io/api/v1/pricing/calculate_cost/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"platform": "<string>",
"num_items": 123,
"price_per_1000": "<string>",
"price_per_item": "<string>",
"total_cost": "<string>",
"currency": "<string>"
}Pricing
Estimate a cost
List price for a number of items on one platform.
POST
/
api
/
v1
/
pricing
/
calculate_cost
/
Estimate a cost
curl --request POST \
--url https://go-fetch.io/api/v1/pricing/calculate_cost/ \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"platform": "<string>",
"items_count": 1
}
'import requests
url = "https://go-fetch.io/api/v1/pricing/calculate_cost/"
payload = {
"platform": "<string>",
"items_count": 1
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({platform: '<string>', items_count: 1})
};
fetch('https://go-fetch.io/api/v1/pricing/calculate_cost/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"platform": "<string>",
"num_items": 123,
"price_per_1000": "<string>",
"price_per_item": "<string>",
"total_cost": "<string>",
"currency": "<string>"
}Authorizations
Body
application/jsonapplication/x-www-form-urlencodedmultipart/form-data