Dashboard vs. API Access
RebelFi provides two ways to interact with the platform:Dashboard (No-Code)
Full-featured web interface for managing wallets, operations, and yield without writing code.
- Visual wallet and operation management
- Real-time monitoring and reporting
- Approval workflows and notifications
- Perfect for OTC desks and operators
API (Programmatic)
RESTful APIs for automated workflows and programmatic control.
- Programmatic operation creation
- Agent-based custody integration
- Webhook events and notifications
- Full automation capabilities
Common Pattern: Many teams start with the dashboard to understand flows and manually test operations, then migrate
to API-driven automation once comfortable with the platform.
Base URL
Authentication
API access uses API key authentication.API keys have full access to your organization. Store them securely and never commit to version control.
The RebelFi dashboard uses internal bearer token (JWT) authentication, which is not used for API integration. This
documentation covers only API key authentication for programmatic access.
Response Format
All API responses follow a consistent structure:Success Response
Error Response
Common Error Codes
| Code | HTTP Status | Description |
|---|---|---|
UNAUTHORIZED | 401 | Invalid or missing authentication credentials |
FORBIDDEN | 403 | Insufficient permissions for this action |
NOT_FOUND | 404 | Resource not found |
VALIDATION_ERROR | 400 | Request validation failed |
INSUFFICIENT_BALANCE | 400 | Not enough available funds |
OPERATION_IN_PROGRESS | 409 | Another operation is already running on this wallet |
RATE_LIMIT_EXCEEDED | 429 | Too many requests |
INTERNAL_ERROR | 500 | Internal server error |
Rate Limits
Rate limits are applied per organization:- Dashboard/User APIs: 100 requests per minute
- Agent APIs: 1000 requests per minute (for polling)
- Allocation APIs: 10 requests per minute (for creation)
Agent polling endpoints have higher rate limits to support frequent polling (every 10-30 seconds).
Core Concepts
Understanding these concepts will help you work effectively with the API:Managed Wallets
Wallets that RebelFi monitors for yield optimization.Operations
Structured workflows that describe business intent: Types:SUPPLY- Deploy funds to yield protocolsDISBURSE- Withdraw funds from yield
PLANNING- Created, reservation lockedPENDING_APPROVAL- Awaiting manual approvalEXECUTING- Being signed by custodyCONFIRMING- Submitted to blockchainCOMPLETED- Confirmed and finalized
Reservations
Financial locks that prevent double-spending during operations:Allocations
Deployed positions earning yield:Transaction Attempts
Blockchain transactions executing operation steps:API Structure
The RebelFi API is organized into logical sections:- Authentication (
/api/core/auth) - User registration, login, password reset - API Keys (
/api/core/apikeys) - Generate and manage API keys for agent authentication - Wallets (
/api/core/wallets) - Wallet management, monitoring configuration, balance queries - Operations (
/api/core/operations) - Operation queue, approval/rejection, history - Allocations (
/api/v1/allocations) - List allocations, create supply operations, portfolio summary - Agent - Transactions (
/api/agent/transactions) - Poll for pending transactions, report execution status - Agent - Actions (
/api/agent/actions) - Poll for custody actions (wallet creation, etc.), report outcomes
SDK Support
- TypeScript/JavaScript
- Python
- cURL
Use direct API calls. Contact us if you need SDK support for your language.
Quick Examples
Check Wallet Balances
Create Supply Operation
Agent Polling
Pagination
List endpoints support pagination:limit- Number of items to return (default: 50, max: 100)offset- Number of items to skip (default: 0)
Filtering
Many endpoints support filtering:Idempotency
Operation creation endpoints support idempotency keys to prevent duplicate operations:API Sections
Authentication
User login, registration, and API key management
Wallets
Wallet management and monitoring configuration
Operations
Queue management, approvals, and execution history
Allocations
Create supply operations and track yield allocations
Agent APIs
Custody agent polling and execution reporting
Support
Need Help?
Need Help?
- Documentation: This site (docs.rebelfi.io)
- Discord: Join our community
- Email: support@rebelfi.io
- Status: status.rebelfi.io