Estimate a cost
curl --request GET \
--url https://intentleads.si/api/v1/billing/estimate \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://intentleads.si/api/v1/billing/estimate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://intentleads.si/api/v1/billing/estimate"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"meter": "intent",
"quantity": 1000,
"cost_usd": 87.2,
"average_cents": 8.72,
"people_this_month_before": 2140,
"available_usd": 392.5,
"covered_by_balance": true,
"people_the_balance_covers": 4816,
"workspace_limit_left": null,
"workspace_budget_left_usd": null,
"note": "Free and nothing is held."
}
Estimate a cost
What quantity more people would cost now on a meter, at this month’s prices, and whether your balance covers it. In a workspace with a monthly budget, also what’s left of it. Nothing is held. An export’s own dry run shows its exact cost.
Free. This doesn’t spend your balance.
GET
/
api
/
v1
/
billing
/
estimate
Estimate a cost
curl --request GET \
--url https://intentleads.si/api/v1/billing/estimate \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://intentleads.si/api/v1/billing/estimate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://intentleads.si/api/v1/billing/estimate"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"meter": "intent",
"quantity": 1000,
"cost_usd": 87.2,
"average_cents": 8.72,
"people_this_month_before": 2140,
"available_usd": 392.5,
"covered_by_balance": true,
"people_the_balance_covers": 4816,
"workspace_limit_left": null,
"workspace_budget_left_usd": null,
"note": "Free and nothing is held."
}
Authorizations
Query Parameters
Response
The estimate.