API & authentication
Use the SDK for signed flows or call the API with the same authorization bindings.
On this page
Public reads
| Route | Use |
|---|---|
| GET /health | Process health. |
| GET /ready | Finalized indexing and risk-scan readiness. |
| GET /catalog | Supported chains, assets, Houses and integrations. |
| GET /integrations/config?app_token=… | Resolve the token’s admitted SDK configuration. |
| GET /integrations/validation | Current acceptance requirements. |
| GET /integrations/platform/spot | Shared atomic spot component addresses. |
| GET /integrations/platform/use-case | Shared use-case component addresses. |
| GET /credits/:id | Indexed credit details. |
| GET /credits/:id/positions | Tracked app positions. |
| GET /credits/:id/pending | Pending app actions. |
| GET /settlement/:id | Settlement operation state. |
Signed mutations
| Route | Signer / purpose |
|---|---|
| POST /auth/nonce | Request the challenge for one method, path and body hash. |
| POST /applications | Owner: register a name, HTTPS origin and chain. |
| POST /applications/:id/verify-origin | Owner: confirm DNS ownership proof. |
| POST /integrations/packages/validate | Author: submit deployment-bound acceptance evidence. |
| POST /integrations/packages/register | Author: register a passed validation ID. |
| POST /integrations/packages/approve | Authorized operator: activate the admitted version. |
| POST /intents | Borrower: submit a credit request. |
| POST /settlement | Payer: register a bound settlement operation. |
Authorization headers
Signed request headers
x-termbook-wallet: <signing EVM address>
x-termbook-signature: <signed challenge>
x-termbook-nonce: <single-use server nonce>The server binds the signature to the actual method, path and canonical body hash. The SDK checks the challenge domain and expiry before asking the wallet to sign. App-specific routes can also require x-termbook-app-token and origin checks. Rate limits return 429 with retry guidance.
State authority
Indexed API records make progress and history convenient to read. Onchain custody, authorization, debt and risk enforcement remain authoritative. Do not use an indexed status alone to declare a transaction finalized or a facility safely closed.