Skip to main content

API Reference

The Zet API is organized around REST principles. All endpoints accept JSON request bodies and return JSON responses.

Base URL

https://api.zet.money/v1

Authentication

All endpoints require an API key via the x-api-key header. See Authentication for details.

Endpoint groups

Common patterns

Quotes → Execute

Most operations follow a two-step pattern:
  1. Get a quote — call the quote endpoint to get pricing, fees, and a quoteId
  2. Execute — pass the quoteId to initiate/execute the transaction
Quotes are valid for ~5 minutes. If expired, request a new one.

Custodial vs Non-Custodial

Every execute/initiate endpoint accepts either:
  • walletId — for Zet-managed wallets (custodial, gasless)
  • sourceAddress / destinationAddress — for user-managed wallets (non-custodial)

Idempotency

Pass a reference string with your initiate/execute calls. If you retry with the same reference, the existing transaction is returned instead of creating a duplicate.

Pagination

List endpoints support page and limit query parameters. Response includes a meta object with pagination info.