Base URL
All API requests use the following base URL:Authentication
Authenticate all requests with your API key in thex-api-key header:
- Profile-scoped keys — Tied to a Wallet Profile. Can read and write (register wallets, plan operations, submit transactions) within that profile.
- Admin keys — Organization-wide, read-only. Can list wallets and view aggregate data across all profiles. Cannot create wallets or operations.
Response Format
Success Responses
Successful responses return data directly (no envelope):200 OK- Request succeeded201 Created- Resource created202 Accepted- Request accepted for processing
Error Responses
Error responses include a message and error code:400 Bad Request- Invalid parameters (VALIDATION_FAILED)401 Unauthorized- Invalid or missing API key403 Forbidden- API key disabled, expired, or used from an address outside its allowlist; organization pending approval or suspended; or not allowed404 Not Found- Resource not found429 Too Many Requests- Rate limit exceeded (Retry-Afteris the seconds to wait)409 Conflict- The request conflicts with the resource’s state (for example,OPERATION_ALREADY_SUBMITTEDfrom submit signed)500 Internal Server Error- Server error503 Service Unavailable- Temporarily unable to complete the request (INTERNAL_ERROR); retry
Error Codes
Client account codes
For organizations that open client accounts. Other organizations getCLIENT_ACCOUNTS_NOT_ENABLED from Create Account and from a register with accountId, and ACCOUNT_NOT_FOUND from
the other account calls.
Rate Limits
API requests are rate limited per API key, per minute. A separate ceiling applies to the whole organization.
When rate limited, the response is
429 with code RATE_LIMIT_EXCEEDED. The Retry-After header is the number of seconds to wait before retrying. Implement exponential backoff, and do not retry sooner than Retry-After.
Amount Convention
All monetary amounts in the API are represented as strings in base units (smallest denomination).
Amounts are always strings, never numbers, to preserve precision.
Transaction Submission
After signing a transaction, you have two options:
Most integrations should use
submit-signed for simplicity. Use submit-hash if you need control over the broadcast (e.g., priority fees, custom RPC endpoints).
Sandbox Environment
For testing, use the sandbox base URL:rfk_sandbox_. See the Sandbox guide for details.
Supported Blockchains
Request Examples
cURL
JavaScript (fetch)
Python (requests)
Available Resources
SDK Recommendation
For TypeScript/JavaScript projects, we recommend using the official SDK:- Full TypeScript types
- Wallet registration and management
- Automatic error handling with
RebelfiError - Flexible wallet identification (
walletId,walletAddress, oruserId)