Base URL
https://api.ninjasproxy.dev
Auth
Authorization: Bearer <token>
Format
application/json
🔐

Auth

3 endpoints — click an endpoint to expand its details and code examples.

Error Codes

All error responses share this shape:

{
  "error":      "insufficient_balance",
  "message":    "Your balance is $0.00. Top up at portal.ninjasproxy.com/billing.",
  "request_id": "req_01HX9ZQMABCDEFGH"
}
StatusCodeMeaning
400bad_requestMalformed body or invalid query params
401unauthorizedMissing or invalid Bearer token / API key
402insufficient_balanceBalance too low to complete the operation
403forbiddenAuthenticated but not authorised for this resource
404not_foundResource does not exist
409conflictConcurrent modification — retry with backoff
422validation_errorSchema valid but business-logic validation failed
429rate_limitedToo many requests — back off and retry
500internal_errorUnexpected server error — contact support if persistent