API Reference

REST API for managing your NinjaProxy account.

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

Reference files

🔐 Auth

3 endpoints — click an endpoint to expand request and response examples.

Error Codes

All error responses share this shape:

{
  "error":      "insufficient_balance",
  "message":    "Your balance is $0.00. Top up at portal.ninjasproxy.dev/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

👤 Account

2 endpoints — click an endpoint to expand request and response examples.

📊 Usage

3 endpoints — click an endpoint to expand request and response examples.

🌐 Proxy

4 endpoints — click an endpoint to expand request and response examples.

💳 Billing

3 endpoints — click an endpoint to expand request and response examples.

Use these docs with AI

Start with the AI guide or hand llms.txt to your assistant.
Use with AI
llms.txt