Developers menu

Docs / Developers

Markdown copy

Developers

Read FirmTape's measurements from code: the live levels, the order ledger, your alerts as signed webhooks, the archive, LAB and Geo. Every reference page names the plan it needs and links back to the feature it serves.

Base URL https://firmtape.comJSON over HTTPSTimes in ETopenapi.jsonMCP

Quickstart

  1. Pick the product. Each card below says which plan it needs. Finished sessions are free and need no key.
  2. Make an API key on the account page, with the scope of that product. It is shown once; one key per machine.
  3. Call it. curl -H "Authorization: Bearer $FIRMTAPE_LIVE_KEY" "https://firmtape.com/api/v1/levels?sym=SPX,ES"

The full quickstart, with Python and Node.

By product

API keys and scopes

One name, API key, for every key a program sends. A key carries a scope: the products it opens. The prefix names the scope, so a key pasted into a chart plugin is visibly not one that spends Lab credits. Send it as Authorization: Bearer <key>.

ScopePrefixOpensPlanMade on
liveftpl_The levels API (/api/v1), the platform integrationsLIVEAccount, Integrations
lablabk_The LAB API (/api/lab, /api/struct), the MCP server's lab_ toolsLABAccount, LAB
datasetlabk_The DATASET files (/snapshots/<day>.json.gz) and levels API history older than 90 daysDATASETAccount, LAB
ordersordk_The Orders API (/orders/api), the POSITIONS API (/api/positions), the Orders MCP server (/orders/mcp)ORDERSAccount, Orders
geogk_The Geo API (geo.firmtape.com/v1), the Geo MCP serverGEOAccount, Geo, Keys

Rotation, revocation, the signing secret and the legacy key in the address.

Across products

Errors

Branch on the status, then on a stable code. Retry only 429 and 5xx.

Rate limits

Per key or per account, read from the answer's headers.

Webhooks

Signed with HMAC-SHA256 over the timestamp and the raw body; retries, test events, the planned single format.

MCP

mcp.firmtape.com for the archive and LAB; tools, auth, limits, client setup.

Versioning

Additive changes within a version, dated; deprecations with a removal date.

For AI agents

A Markdown copy of every page, one index, the OpenAPI document.

Planned

Measurements of dealer positioning, never a forecast or a trade call. This page is built from FirmTape's public contract, the same files the OpenAPI document is built from; the tests hold them against the route code. Markdown: /docs/developers.md.