DAKS Token API Documentation

DAKS Token API

Integrate DAKS Token functionality into your applications with our comprehensive REST API

Getting Started

1. Get API Key

Sign up for a developer account and generate your API key from the dashboard

2. Make Requests

Use your API key to authenticate requests to our REST endpoints

3. Handle Responses

Process JSON responses and integrate DAKS functionality into your app

Authentication

All API requests require authentication using your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

API Endpoints

GET
/api/v1/token/balance

Get Token Balance

Retrieve the DAKS token balance for a specific wallet address

Example Request:

curl -X GET "https://api.dakstoken.com/v1/token/balance?address=0x..." \
  -H "Authorization: Bearer YOUR_API_KEY"
POST
/api/v1/transfer

Send Tokens

Transfer DAKS tokens to another wallet or phone number

Example Request:

curl -X POST "https://api.dakstoken.com/v1/transfer" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "+1234567890",
    "amount": "100",
    "currency": "DAKS"
  }'
POST
/api/v1/airtime/purchase

Purchase Airtime

Convert DAKS tokens to mobile airtime for any supported country

Example Request:

curl -X POST "https://api.dakstoken.com/v1/airtime/purchase" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "phone": "+234123456789",
    "amount": "10",
    "country": "NG"
  }'
GET
/api/v1/transactions

Get Transaction History

Retrieve transaction history for the authenticated user

Example Request:

curl -X GET "https://api.dakstoken.com/v1/transactions?limit=50" \
  -H "Authorization: Bearer YOUR_API_KEY"

Rate Limits & Guidelines

Rate Limits

  • • 1000 requests per hour for authenticated users
  • • 100 requests per hour for unauthenticated requests
  • • Burst limit of 10 requests per second
  • • Rate limit headers included in all responses

Best Practices

  • • Cache responses when possible
  • • Use webhooks for real-time updates
  • • Implement exponential backoff for retries
  • • Monitor your usage via the dashboard

Need Help?

Our developer support team is here to help you integrate DAKS Token into your applications.