Budgets
Put a ceiling in US dollars on a search or a contact unlock, then check what it cost.
Cap a search
Set budget.max_usd to a number, 0 or higher. Humos prices a search against the budget before queueing it.
{
"titles": ["Head of Operations"],
"limit": 25,
"freshness": { "max_age_days": 30 },
"budget": { "max_usd": 2.5 }
}
A search reports its cost in usage.
{
"id": "srch_example_02",
"status": "completed",
"created_at": "2026-12-03T10:00:00Z",
"results": [],
"usage": {
"cost_usd": 1.2,
"profiles_searched": 80,
"profiles_verified": 0
}
}
The figures are fictional. usage and the fields inside it are optional, so do not assume they are present.
Cap an unlock
Unlocking contact details is a separate call with its own budget. A search budget does not carry over to it.
{
"person_ids": ["per_example_01", "per_example_02"],
"types": ["work_email", "mobile"],
"budget": { "max_usd": 2 }
}
The response can include cost_usd next to contacts. Unlock only the people and contact types you will use.
Read your usage
curl "$HUMOS_API_URL/v1/usage" \
-H "Authorization: Bearer $HUMOS_API_KEY"
getUsage reports spend for the current period.
{
"period": "2026-12",
"cost_usd": 14.2,
"searches": 9,
"unlocks": 4
}
period is a string. Its format is not specified yet, so do not parse it. The operation takes no parameters.
Keep spend predictable
- Set
budget.max_usdon every search and unlock. - Start with a small
limit. The default is 25 and the maximum is 200. - Ask for only as much freshness as you need.
- Do not retry a search or unlock automatically without a retry cap. See errors.
- Keep your own spending limit as well, based on the costs you receive.
Not specified yet
- The budget applied when you send none.
- What happens when the cap is reached: fewer results, a warning, a failed search or a rejected request. Check the HTTP status,
status,warningsanderror. - Prices, and which costs count toward the cap.