API Reference

Endpoint-by-endpoint reference for the Nora /v2 API.

The Nora /v2 API is a JSON-over-HTTPS REST API. The public surface includes intents (onramp, offramp, prepare-burn, approve-burn) and wallets (registration and on-chain whitelist activation).

Base URLs

EnvironmentBase URL
Sandboxhttps://sandbox.api.nora.finance
Productionhttps://api.nora.finance

Authentication

Every request sends a single header:

X-API-Key: sk_test_...

Keys bind to (organization, instance) — no other auth header is needed. See Authentication.

Response envelope

Success: the resource shape directly (no data wrapper).

{ "id": "…", "status": "active" }

Failure: /v2 endpoints return JSON errors. The exact shape varies by endpoint family:

  • /v2/intents/* returns { code: string, message: string, details?: object }.
  • /v2/wallets/* returns { code: string, message: string, details?: object }. Wallet-specific machine codes appear in details.code, for example TRANSACTION_EXPIRED and SYNC_PROOF_REQUIRED.
  • Structural validation failures on any route use the validator shape { data, error: [{ code, path, message }], success: false } instead — see Errors.

See Error handling for the full taxonomy.

Idempotency

POST /v2/intents/onramp and POST /v2/intents/offramp accept an idempotency-key header (UUID). POST /v2/wallets and POST /v2/wallets/:id/submit require the header. Successful same-key, same-body replays return the original operation: intent replays expose its current state, while wallet replays return the stored result. An onramp retry can return 503 again while payment instructions remain unavailable. Offramps with an explicit clientReference return 409 on retry. Page through GET /v2/intents?intentType=offramp using limit and offset, and match clientReference in the returned items; no clientReference filter exists. A different body with the same key returns 409. See Idempotency.

POST /v2/intents/:id/approve-burn is the exception — no header is sent; it accepts one burn proof per intent, and a repeat answers 400.

Versioning

/v2 is the current stable surface. Breaking changes ship under a new version prefix; no silent changes to existing endpoints.

Resources

  • Intents — onramp, offramp, prepare-burn, approve-burn, fetch, list.
  • Wallets — register minter wallets, prepare or submit grants, and verify on-chain state.

On this page