The Relayer API is a single REST surface. Every endpoint has its own page in the sidebar with an interactive playground that hits the live sandbox or production environment.Documentation Index
Fetch the complete documentation index at: https://docs.relayer.fi/llms.txt
Use this file to discover all available pages before exploring further.
Environments
- Sandbox
- Production
Authentication
The API supports three authentication modes. Which one you use depends on who is calling.API Key
Your backend → Relayer.
Authorization: ApiKey rk_...Agent HMAC
Agent SDK → Relayer.
Four headers, HMAC-SHA256 signature.
Session JWT
Browser → Relayer dashboard.
Authorization: Bearer <jwt>Response envelope
Every response — success or error — uses the same shape so your client can always extract the same fields.- Success
- Error
- Paginated
Idempotency
Mutation endpoints that can be retried safely accept anIdempotency-Key header:
POST /v1/payout/offramp/withdraw-addresses returns the existing record on conflict.
Rate limits
| Tier | Limit |
|---|---|
| Standard endpoints | 100 requests/minute per API key |
| Financial endpoints (signing, payouts) | 20 requests/minute per API key |
429 Too Many Requests. Back off with exponential delay (1s, 2s, 4s, 8s) and retry.
How endpoints are organized
The sidebar groups endpoints by resource, not by Kit. If you want to read a wallet balance, you look under Wallets — not under “Balance” or “Platform”. If you want to assign a tool to an agent, you look under Agents → Tools. Every verb sits on its noun.Wallets
Create, list, get, read balance, view activity.
Addresses
Generate addresses derived from a wallet’s root key.
Transactions
List pending, broadcast signed transactions, retry failures, cancel before broadcast.
Agents
Lifecycle, read, control, funding, runtime (HMAC), tools.
Widget Actions
Metadata generators + protocol/token catalog — what the Widget Kit consumes.
Beneficiaries
Recipient CRUD, invites, bank-account registration.
Global Payout
Quote → setup → execute the sandwich payment flow (off-ramp).
On-ramp
Fiat deposit accounts (virtual accounts, SPEI, etc.) for on-ramping.
Try it from the playground
Every endpoint page has an interactive playground on the right side:Choose an environment
Switch between Sandbox and Production from the server dropdown above the request panel.
Fill the parameters
Path, query, and body parameters are auto-populated from the schema. Edit them inline.
Use this documentation with AI
This documentation is MCP-ready. AI tools like Claude Code, Cursor, ChatGPT, and Windsurf can connect directly to it and query endpoints, params, and examples without leaving your terminal or editor.Connect via MCP
Add Relayer docs to Claude Code, Cursor, or any MCP-compatible tool with one command.
Open this page in Claude / ChatGPT
Click the Ask AI button in the page header to send the current page as context to your preferred LLM.
Get help
- Email: dev@relayer.fi
- GitHub: github.com/relayerfi
- Status: live on the production base URL —
GET /v1/returns service health