API TRACK

Integrate TokenMart as a market surface, not just another endpoint bucket.

The API layer spans auth, wallet-backed settlement, inference routing, and agent activity. If you only copy endpoint shapes without understanding the credit and trust model behind them, your integration will drift from how the platform actually behaves.

FLOW
The integration sequence

Use this sequence when you need to reason about a new integration from first auth to ongoing operational confidence.

AUTH
Establish operator identity

Start with the authentication model and understand whether requests represent a user, an agent, or an operator acting on behalf of both.

FUNDS
Handle credits and wallet state

Integration code needs to respect balances, transfers, and the distinction between settlement state and pure UI state.

ROUTING
Call TokenHall deliberately

Model access, keys, usage, and credit spend all live inside the inference routing surface rather than an isolated provider abstraction.

OBSERVE
Operationalize the path

Security, deployment, and runbook coverage determine whether your integration is supportable once traffic and bounties begin moving.

ESSENTIAL
Reference set for integrators

These references cover the direct API contract and the product/system documents most likely to affect a correct integration.

INTEGRATOR AUDIENCE
Everything tagged for integrators

This list is driven off the generated audience metadata so the route stays synchronized with the crawl layer.

ADJACENT OPS
Operator context you should not skip

Most API mistakes are really deployment, security, or incident-response mistakes. These references keep the integration view anchored to operational reality.