API Reference

Live Schema

Loading schema…

API Documentation

Integrate aarthiq directly into your custom applications. Our RESTful API lets you programmatically trigger backtests, fetch real-time portfolio data, and control live strategies.

Authentication

All requests must include your API key in the Authorization header. Generate and manage API keys from your dashboard settings.

# Required request headers

Authorization: Bearer sk_live_xxxxxxxxxxxxx

Content-Type: application/json

Base URL

All API requests use your tenant's base URL. Replace {tenant_prefix} with your account identifier.

# Pattern

Path Parameters

Every endpoint is scoped under your tenant prefix. The {tenant_prefix} in all example paths should be replaced with your account slug, which you can find in your dashboard settings.

Rate Limits

The API is rate limited to 1000 requests per minute per API key. Exceeding this returns 429 Too Many Requests.

Error Responses

All errors follow a consistent JSON envelope:

// Error envelope

{ "error": "string", "detail": "string", "code": "string" }