Skip to main content
New to Corsair? See API access, authentication, and error handling.

Account

capabilities

account.capabilities Read the deployment version, the AI availability and the batch limit. This route is free Risk: read
Input: empty object Output

errorCatalog

account.errorCatalog Read every error code with the statuses it uses and what a caller should do about it. This route is free Risk: read
Input: empty object Output

usage

account.usage Read the shared balance, the trial reset time and whether this call used a key or the IP trial. This route is free Risk: read
Input: empty object Free, and meta.access.mode tells an IP trial from a keyed call. Output

Gender

batch

gender.batch Infer gender for up to 50 names, emails or usernames in one request. An item can fail on its own, and only successful items are billed Risk: read
Input Up to 50 items (10 on the IP trial); defaults to ai_mode: off, unlike a single request.
Output

infer

gender.infer Infer gender from a name, an email address or a username, with a confidence, the source that answered (dataset or AI) and the credits it cost Risk: read
Input ai_mode defaults to fallback here (1 credit in total); always costs 2. Output

Phone

validate

phone.validate Validate and format a phone number, returning its E.164 form, country and calling code Risk: read
Input Returns the E.164 form, or null when the number cannot be formatted. Output