API Documentation
Learn how to seamlessly integrate our APIs into your application.Before you begin!
You should create a free Aboki business account that you can test the API against. We will provide you with API keys that you can use to make API calls.
Render Collection
View the Render Collection

Sample Requests
We provide sample API calls next to each method using cURL. All you need to do is insert your specific parameters, and you can test the calls from the command line.Quick Example - Get Offramp Quote
Make aPOST
request to:
https://aboki-b2b-eobk.onrender.com/api/v1/business-offramp/quote
with headers:
Authorization: Bearer pk_live_your_key_here
Content-Type: application/json
{ "tokenAmount": 100, "targetToken": "USDC", "targetNetwork": "base" }
API Overview
The Aboki API gives you access to pretty much all the features you can use on our dashboard and lets you extend them for use in your application. It strives to be RESTful and is organized around the main resources you would be interacting with.Main Features
- Offramp Services: Convert crypto tokens to Nigerian Naira instantly
- Onramp Services: Convert Nigerian Naira to crypto tokens seamlessly
- Multi-Network Support: Base, Solana, and Ethereum networks
- Real-time Pricing: Live exchange rates and liquidity validation
- Bank Integration: Direct Nigerian bank account verification and payouts
- Webhook Notifications: Real-time order status updates
Getting Started
Step 1: Get Your API Keys
- Create Account: Visit app.aboki.xyz/dashboard
- Complete Verification: Complete business registration and admin approval
- Generate Keys: Get your Public Key (
pk_live_...
) from the dashboard
Step 2: Make Your First Request
Test authentication with a simple quote request: Endpoint:https://aboki-b2b-eobk.onrender.com/api/v1/business-offramp/quote
Headers:
Authorization: Bearer pk_live_your_key_here
Content-Type: application/json
{ "tokenAmount": 10, "targetToken": "USDC", "targetNetwork": "base" }
Step 3: Integration Patterns
Offramp Flow (Crypto → NGN):- Get Quote - Show customer NGN amount
- Verify Bank Account - Validate customer bank
- Create Order - Generate deposit wallet
- Customer sends crypto, receives NGN automatically
- Get Quote - Show customer token amount
- Create Order - Generate payment instructions
- Customer pays NGN, receives crypto automatically
Authentication
All API requests require authentication using your Public Key:Authorization: Bearer pk_live_your_public_key_here
See Authentication Guide for complete setup instructions.
Response Format
All API responses follow this consistent structure:{ "success": true, "message": "Operation completed successfully", "data": { /* Response data here */ } }
Error Handling
Failed requests return detailed error information:{ "success": false, "message": "Detailed error description", "code": "ERROR_CODE", "errors": { "field": "Specific field error" } }
Rate Limits
- Production: 1000 requests per minute
- Sandbox: 100 requests per minute
- Rate limit headers included in all responses
Support
- Documentation: Complete API reference and guides
- Dashboard: app.aboki.xyz/dashboard
- Support: Contact through dashboard or email
- Status: Real-time system status and uptime
Ready to integrate? Start with Authentication or jump to Offramp Quote to begin testing.