Phase 1 · read only

Cambent Index API

Public HTTP/JSON for the live Cambent Token Index. Source: Cambent TKX. Current published levels need no API key. History and archive need scope read-index (without a key: last 30 days before as-of). This API does not route traffic or recommend a model. Cite: Source: Cambent TKX.

Live series

Task, tier, and jurisdiction sub-indices are not published. Unknown ids return 404.

Endpoints

Model fields

Primary names are clean. Short keys are deprecated exact-mirror aliases (same cell, same provenance) and remain at least 90 days after clean names ship. This is not a cold drop.

Cite the TKX

When you publish a number from this API, cite: Source: Cambent TKX (https://tkx.cambent.ai/), as-of the response asOf. Human print: https://tkx.cambent.ai/ and https://cambent.ai/tkx. Series TKX / TKX-Open / TKX-Frontier live on that board and the /tkx print table. Scoring v0.2, construction v0.3, baseline 100 = 2026-08-04. Do not present the print as your own measurement.

Auth

curl

Replace HOST with this Worker URL. Current published levels need no key. History and archive need a key with scope read-index for dates older than 30 days before as-of.

curl -sS "$HOST/v1/index"
curl -sS "$HOST/v1/index/tkx"
curl -sS "$HOST/v1/index/tkx-open"
curl -sS "$HOST/v1/tasks"
curl -sS "$HOST/v1/tasks/code/models"
curl -sS "$HOST/v1/models/deepseek-v4-pro/tasks/code"
curl -sS "$HOST/v1/index/tkx/history?from=2026-08-22&to=2026-08-24&interval=day"
curl -sS -H "Authorization: Bearer $CAMBENT_KEY" "$HOST/v1/index/tkx/history?interval=day"
curl -sS -H "X-Api-Key: $CAMBENT_KEY" "$HOST/v1/index/tkx/history?interval=day"
curl -sS "$HOST/v1/models"
curl -sS "$HOST/v1/models/deepseek-v4-pro"
curl -sS "$HOST/v1/events"
curl -sS "$HOST/v1/methodology"
curl -sS "$HOST/openapi.json"
curl -sS "$HOST/health"
curl -sS "$HOST/healthz"

Python

import os, json, urllib.request
host = os.environ["INDEX_HOST"]
print(json.load(urllib.request.urlopen(host + "/v1/index/tkx")))
req = urllib.request.Request(host + "/v1/index/tkx/history?interval=day")
req.add_header("Authorization", "Bearer " + os.environ["CAMBENT_KEY"])
print(json.load(urllib.request.urlopen(req)))

JavaScript

const host = process.env.INDEX_HOST;
const headline = await fetch(host + "/v1/index/tkx").then((r) => r.json());
const history = await fetch(host + "/v1/index/tkx/history?interval=day", {
  headers: { Authorization: "Bearer " + process.env.CAMBENT_KEY }
}).then((r) => r.json());

Notes

Live TKX widget

Public, no API key. Fetches GET /v1/index/tkx on this Worker (the current published level). Attribution and links to cambent.ai / tkx.cambent.ai are built in. Replace HOST with this Worker URL.

<script src="$HOST/widget.js" data-series="tkx" async></script>
<script src="$HOST/widget.js" data-series="tkx,tkx-open,tkx-frontier" async></script>
<iframe src="$HOST/widget?series=tkx" title="Cambent TKX" style="border:0;width:100%;max-width:360px;height:212px;" loading="lazy"></iframe>

Methodology: https://cambent.ai/methodology. Machine-readable spec: /openapi.json. Widget: /widget. Quickstart markdown: docs/platform/quickstart.md. API terms placeholder: docs/platform/api-terms.md.