Skip to main content

Introduction

The Quantinal API is a RESTful JSON API that gives you programmatic access to your spaces, trackers, runs, and vault data. Everything you can do in the console — create trackers, trigger runs, upload data sources — you can automate through the API.

Base URL

All endpoints are served under a single versioned base:

https://api.quantinal.ai/v1

Authentication

Include your API token in the Authorization header. Tokens start with qapi_.

Authorization: Bearer qapi_your_token

You can also pass your token via X-API-Key or X-API-Token headers.

Get your token: Console → Account → API Tokens

API Token Scope

API tokens provide programmatic access to your resources:

  • Spaces — Read only (list, get). Create trackers in spaces.
  • Trackers — Full access (CRUD, trigger runs, list runs, get/delete runs)
  • Tracker Vault — Read access and source management (upload, list, update, delete sources)
Web Console Only

The following operations require the web console (not accessible via API tokens):

  • Space creation, update, and deletion
  • Skill discovery and listing
  • Billing, payment management, and webhooks
  • Account settings and API token management
  • Marketplace and privacy operations

Response Format

All endpoints return JSON. Successful responses include the resource data directly or wrapped in a data array for list endpoints.

Single resource:

{
"space_id": "spc_abc123",
"name": "Market Research",
...
}

List endpoints:

{
"data": [ ...items... ],
"pagination": {
"page": 1,
"page_size": 20,
"total_items": 53,
"total_pages": 3
}
}

Errors

Error Format
{"detail": "Tracker not found"}
CodeMeaning
400Invalid request — check parameters and request body
401Unauthorized — invalid or missing API token
402Insufficient quants — top up your balance
403Forbidden — endpoint requires web console, or access denied
404Not found — resource doesn't exist or you don't own it
422Validation error — invalid field values
429Rate limited — slow down and retry

Pagination

List endpoints return paginated results:

ParameterTypeDescription
pageintegerPage number (default: 1)
page_sizeintegerItems per page (default: 20, max: 100)