Skip to main content
POST
Submit a challenge instruction and images for recognition. Successfully answered requests are charged.

Authorizations

Authorization
string
header
required

Ninetile API key, sent as Authorization: Bearer <key>. Keys are issued in the dashboard.

Body

application/json
image_data
string[]
required
Required array length: 1 - 27 elements

Base64-encoded PNG, JPEG, WebP, or GIF, optionally prefixed by a matching data:image/...;base64, URI, or an HTTPS URL on an hcaptcha.com host.

type
any
required
task
string
required
Required string length: 1 - 500
image_urls
string<uri>[]
Required array length: 1 - 27 elements

HTTPS URL hosted on hcaptcha.com.

image_examples
string[]
Required array length: 1 - 3 elements

Base64-encoded PNG, JPEG, WebP, or GIF, optionally prefixed by a matching data:image/...;base64, URI, or an HTTPS URL on an hcaptcha.com host.

Response

Answer returned and charged.

id
string
required
Pattern: ^rec_
data
required

For grid tasks, booleans per tile (nested by page for full challenge objects); for area select, a point box or boxes; for drag challenges, backend answer objects.

charged_usd
number
required

Charge for a successful recognition (default $0.00030).

points

Area-select click points in percent; present only for area-select answers.