Billing and caching
How hoshime bills calls in units, what is free, and how cached answers work.
View as Markdownhoshime bills in units. Each endpoint’s reference page says what one successful call bills; most public data endpoints bill 1 unit.
What bills
| Call | Units |
|---|---|
| A public data endpoint that answers | The endpoint’s units: 1 for most, read directly or through the Jakarta relay; 5 to 20 for one that needs a residential proxy, by the traffic it measures, or 30 per MB it moves when that is more; 5 per page it loads for one whose site lets only a real browser in, such as IDX |
POST /v1/browser/scrape |
2 for an HTTP fetch, 20 when the browser renders the page, plus 30 per MB it moves through hoshime’s residential proxy |
| A crawled page | 2, or 20 when the browser rendered it, plus 30 per MB it moves through hoshime’s residential proxy |
A live login (POST /v1/browser/live) |
50 per started minute the session was open, at least 50, when it ends (saved, stopped or expired); opening it and a failed session bill 0. It also bills 30 per MB its browser moved through hoshime’s residential proxy |
POST /v1/serp/search |
60 × ceil(depth / 10), where depth 0 means 20, plus 60 for aiOverview |
| A rank check | The same as its search, when it succeeds |
| A screenshot | 10 per successful capture |
POST /v1/jobs |
1 for a new job |
| A browser job run | 50 per started minute of browser time, at least 50, for an attempt that succeeds, plus 30 per MB it moves through hoshime’s residential proxy; a failed attempt bills 0 |
| A skills run | 50 per started minute of the run, plus 30 per MB it moves through hoshime’s residential proxy, when it succeeds; a failed run bills 0 |
| An AI answer in a skills run or a flow | 10 per answer, more for a long one: 30 per $0.001 the model charged |
| A script run | 4 per started 10 seconds of run time, for every attempt that ran |
| An export | Each page it reads bills the endpoint’s units; a cached page and the download are free |
What is free
- Failures. Any error answer bills 0 units: a blocked source, a timeout, a bad parameter.
- Cached answers. Endpoints cache successful answers for a while (each reference page says how long). A cached answer has
meta.cached: trueand bills 0. - Retries inside hoshime, across proxy tiers.
- Idempotent repeats. A create that repeats an
idempotencyKeyreturns the stored resource and bills nothing. - Skipped links of a crawl, sitemap fetches and the requests of HTTP jobs.
- Browser profiles: creating, editing, importing cookies and storing logins. A run with a profile bills as the same run without one.
Free account and plans
A new account starts with 1,000 credits. Until it buys a plan, it reads through hoshime’s own addresses, the datacenter proxy and the Jakarta relay, and every cached answer. What costs hoshime money on every call needs a plan, and answers 402 plan_required without one:
- Residential and mobile proxies: endpoints that need one, and the fallback to one when a site blocks the free routes.
- Browser rendering in the browser tier, such as the IDX endpoints.
- Scrapes and crawls with
proxy: "residential"or acountry, and browser profiles with acountryor read through their proxy. - Searches and rank checks, unless they pass your own
tunnel. - Skills runs and the
aisteps of flows.
Credits from a paid month last until that month ends; what is left of them then expires, and the next paid month brings a fresh set. Welcome credits never expire. An account that has paid once keeps all of these, even after its credits expire.
See what you billed
Every answer says what it billed in meta.units and the Hoshime-Units header. GET /v1/usage?from=…&to=… sums requests and units over up to 90 days, by day, route or clientRef:
curl "https://api.hoshime.com/v1/usage?from=1761955200&to=1762560000&groupBy=route" \
-H "Authorization: Bearer $HOSHIME_TOKEN"