Introduction
Build your own data reselling business with the Rema Data API. Our secure, high-performance REST API allows you to programmatically purchase data bundles for MTN, Telecel, and AirtelTigo.
99.9% System Uptime
Engineered reliability for mission-critical businesses.
24/7 Developer Support
Direct access to our engineering team, day or night.
Free API Access
Get your API key instantly. No subscription fees or hidden charges.
Universal Coverage
Comprehensive support for all major networks across Ghana.
Developer Experience
RESTful endpoints, clean docs, and easy code examples.
Authentication
Authenticate your requests by including your secret API key in the X-API-KEY header.
Keep your key secret! Never share your API key in client-side code (browsers, mobile apps). Only use it from your backend server.
curl -X GET https://remadata.com/api/wallet-balance \
-H "X-API-KEY: rd_live_your_secret_key" \
-H "Content-Type: application/json"Get Available Bundles
Fetch a complete list of data bundles available for purchase. This endpoint returns your specific API Pricing, which may be lower than public prices.
Query Parameters
# Get all bundles
curl -X GET https://remadata.com/api/bundles \
-H "X-API-KEY: your_key"
# Filter by network
curl -X GET https://remadata.com/api/bundles?network=mtn \
-H "X-API-KEY: your_key"{
"status": "success",
"data": [
{
"network": "mtn",
"name": "1GB",
"volume": "1.00GB",
"volumeInMB": 1024,
"price": 5.50, // Your special API Price
"description": "Indomie bundle..."
},
{
"network": "telecel",
"name": "2GB",
"price": 10.00,
...
}
]
}Check Real-Time Price
Verify the exact cost of a specific data volume before purchasing. This is useful for dynamic pricing displays in your own app.
Body Parameters
{
"networkType": "mtn",
"volumeInMB": 1024
}{
"status": "success",
"volume": "1024MB",
"network": "mtn",
"api_price": "5.50",
"currency": "GHS"
}Purchase Data
Initiate a data purchase transaction. The amount will be deducted from your wallet instantly.
Body Parameters
const axios = require('axios');
await axios.post('https://remadata.com/api/buy-data', {
ref: 'MY_ORDER_001',
phone: '0551234567',
volumeInMB: 1024,
networkType: 'mtn'
}, {
headers: { 'X-API-KEY': 'your_key' }
});{
"status": "success",
"message": "Order processed successfully",
"data": {
"orderId": "ORD_...",
"reference": "MY_ORDER_001",
"status": "completed",
"amount": 5.50
}
}Wallet Balance
Check your current account balance.
curl -H "X-API-KEY: key" https://remadata.com/api/wallet-balance{
"status": "success",
"data": {
"balance": "150.00",
"currency": "GHS"
}
}Order History
1. Check Order Status
Quickly check the current status of an order using its reference number.
curl -X GET https://remadata.com/api/order-status/ORD_123456 \
-H "X-API-KEY: your_api_key"2. Get All Orders
Retrieve a paginated list of all your orders. By default, it returns the latest 15 orders.
curl -H "X-API-KEY: key" https://remadata.com/api/orders3. Get Order by ID
Fetch details of a single specific order using its unique ID.
curl -H "X-API-KEY: key" "https://remadata.com/api/orders?id=65b123..."4. Get by Reference
Find an order using your own custom reference number provided during purchase.
curl -H "X-API-KEY: key" "https://remadata.com/api/orders?ref_number=MY_REF_001"5. Advanced Filtering
Combine multiple filters to find specific subsets of orders.
curl -H "X-API-KEY: key" "https://remadata.com/api/orders?status=completed&network=mtn"curl -H "X-API-KEY: key" "https://remadata.com/api/orders?start_date=2025-01-01&end_date=2025-01-31"