REST API
Proxy Gateway
Direct HTTP access to any API through the apitree gateway. One token, one endpoint pattern, standardized responses.
Endpoint
textRequest line
GET|POST|PUT|DELETE /api/v1/proxy/{api_slug}/{path} Authorization: Bearer nxs_live_YOUR_KEY
Response Format
Every response follows the apitree standard envelope:
jsonStandard envelope
{ "data": { ... }, // Provider's response "meta": { "cached": false, // true = instant Redis response "latency_ms": 234, // Total round-trip time "credits_used": 0.001, // Credits charged for this call "request_id": "req_...", // Unique request ID for debugging "provider": "api-slug", // Which API was called "status_code": 200 // Provider's HTTP status } }
Authentication
Pass your apitree API key in the Authorization header. Supports both API keys and JWT tokens.
Method
Format
API Key
Authorization: Bearer nxs_live_{key}JWT
Authorization: Bearer {jwt_token}