HuntAPI

Status Codes

HTTP status codes returned by the HuntAPI API and how to handle them.

Billing applies to successful requests: 200 for synchronous calls, 201 for asynchronous jobs. 404 billing varies by endpoint (check each endpoint page). All other 4xx/5xx responses are free.

CodeBilledStatusAction
200YesSuccessful API CallNo action required.
201YesJob CreatedNo action required.
202NoAccepted (Async)The request was accepted and is being processed. Use the job ID to check the status.
400NoBad RequestVerify your parameters and their types. Check the documentation for more information.
401NoInvalid API KeyCheck your API key (x-api-key header or x_api_key query string).
401NoInactive API KeyActivate your API key in the API Keys section of your account settings.
401NoExpired API KeyUpdate your API key or generate a new one.
401NoRate limit exceededBack off and retry. Upgrade your plan or raise per-key quotas if this happens often.
402NoPayment requiredTop up credits, upgrade your plan, enable Auto Top-Up, or settle any open invoices.
403NoForbiddenVerify your permissions. Contact us if you believe this is a mistake.
404VariesNot FoundBilling is endpoint-specific. Check the individual endpoint documentation.
413NoPayload Too LargeThe uploaded file or request body exceeds the size limit. Check the API documentation for maximum sizes.
500NoInternal ErrorRetry the action or contact our support team.