One synchronous call.
The gateway holds the connection until the solve finishes. Authenticate with the x-api-key header.
| field | required | notes |
|---|---|---|
| site_key | required | The hCaptcha sitekey of the target. |
| host | required | Bare hostname of the page, no scheme and no path. |
| proxy | required | A residential or mobile proxy for this solve. A request without one is rejected with 400 before it is queued, so it costs nothing. |
| task_id | optional | An idempotency key. Omit it and the gateway generates one. Reusing one returns the cached earlier result. |
| href | optional | Full page URL; improves fidelity on some sitekeys. |
| rqdata | optional | Pass through when the site supplies it. |
hCaptcha billing and usage
When am I charged?
Only when you receive a redeemable token. Your balance is a prepaid USD wallet: the hcap price is reserved from it when the request is accepted, committed when a token comes back, and released on any failure. A request rejected at the edge (400, 503) is never charged.
What does a solve cost?
The rate is written on your key and read back from GET /v1/client/balance (rates.hcap) and GET /key/status. The dashboard shows it next to your usage.
How long does a solve take?
The gateway holds the connection until the solve finishes; this is not a polling API. Set your client timeout to at least 95 seconds and use the token immediately, since hCaptcha tokens expire quickly.
Do I need my own proxies?
Yes. Every solve must carry a proxy. Residential or mobile exits work; datacenter addresses are rejected by hCaptcha.
Where do I see usage?
In the hcap usage section of the dashboard, which shows calls, what they cost in dollars and the rate on your key.