Catalog Lookup
Look up available products, exchange rates, and bundles for a phone number.
Catalog Lookup
Look up the available airtime products for a phone number or network. The API automatically detects the phone's network via HLR lookup, or you can specify a network_id manually for ported numbers. You can also use network_id alone without a phone number to browse products for a known network.
GET /v2/catalog/lookup
Permission required: airtime.read
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
phone_number | string | No | Phone number in E.164 format — + followed by digits (e.g., +233541112259). URL-encode the + as %2B. |
network_id | integer | No | Override auto-detection with a specific network ID |
At least one of phone_number or network_id must be provided. When network_id is used alone, the HLR lookup is skipped and phone_number is null in the response.
Example Request
curl -X GET "https://api.clickairtime.com/v2/catalog/lookup?phone_number=%2B233541112259" \
-H "Authorization: Bearer ce_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"const response = await fetch(
'https://api.clickairtime.com/v2/catalog/lookup?phone_number=%2B233541112259',
{
headers: {
'Authorization': 'Bearer ce_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
},
}
);
const data = await response.json();import requests
response = requests.get(
'https://api.clickairtime.com/v2/catalog/lookup',
params={'phone_number': '+233541112259'},
headers={
'Authorization': 'Bearer ce_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
}
)
data = response.json()$ch = curl_init('https://api.clickairtime.com/v2/catalog/lookup?phone_number=%2B233541112259');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: Bearer ce_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = json_decode(curl_exec($ch));Example Response
{
"success": true,
"data": {
"phone_number": "+233541112259",
"network": {
"id": 11,
"name": "MTN",
"country": "Ghana",
"country_code": "GH",
"currency": "GHS"
},
"exchange_rate": {
"source_currency": "USD",
"destination_currency": "GHS",
"rate": 11.1507
},
"products": {
"custom_airtime": {
"available": true,
"min_amount_local": 1,
"max_amount_local": 200,
"local_currency": "GHS"
},
"fixed_bundles": [
{
"id": 4264,
"name": "150 GHS",
"type": "FIXED_PRODUCT",
"category": "AIRTIME",
"price": {
"value": 13.2861,
"currency": "USD"
},
"price_usd": 13.2861,
"local_value": "150 GHS",
"local_amount": 150,
"local_currency": "GHS",
"description": "150 GHS"
},
{
"id": 4258,
"name": "300 GHS",
"type": "FIXED_PRODUCT",
"category": "AIRTIME",
"price": {
"value": 26.5722,
"currency": "USD"
},
"price_usd": 26.5722,
"local_value": "300 GHS",
"local_amount": 300,
"local_currency": "GHS",
"description": "300 GHS"
}
]
},
"sms_notification": {
"available": true,
"cost_usd": 0.08
}
},
"meta": {
"request_id": "req_d08d68370c8a",
"timestamp": "2026-10-13T13:21:37.325Z"
}
}
The fixed_bundles array above is shortened; MTN Ghana returns many more bundles.
Response Fields
| Field | Type | Description |
|---|---|---|
phone_number | string | null | The queried phone number (null when only network_id was sent) |
network | object | Network information |
network.id | integer | Network ID (use as network_id in POST /v2/topups) |
network.name | string | Network operator name |
network.country | string | Country name |
network.country_code | string | ISO 2-letter country code |
network.currency | string | Local currency code |
exchange_rate | object | null | Your exchange rate for this destination. May be null when no rate is available. |
exchange_rate.source_currency | string | Your wallet currency |
exchange_rate.destination_currency | string | The destination's local currency |
exchange_rate.rate | number | Local currency units you get per 1 unit of your wallet currency, at your price |
products.custom_airtime | object | Custom-amount airtime options |
products.custom_airtime.available | boolean | Whether custom amounts can be sent. false means this network sells fixed bundles only — send a product_id instead of an amount. |
products.custom_airtime.min_amount_local | number | Minimum custom amount.value, in local currency |
products.custom_airtime.max_amount_local | number | Maximum custom amount.value, in local currency |
products.custom_airtime.local_currency | string | Currency code to send as amount.currency (e.g. GHS) |
products.fixed_bundles | array | Fixed-price airtime, data, and bundle products |
products.fixed_bundles[].id | integer | Product ID — send this as product_id in POST /v2/topups |
products.fixed_bundles[].name | string | Product name |
products.fixed_bundles[].type | string | Always FIXED_PRODUCT |
products.fixed_bundles[].category | string | AIRTIME, DATA, or BUNDLE |
products.fixed_bundles[].price | object | Your price for this bundle (after your rate and discount), in your wallet currency: { value, currency }. Indicative — the final charge is cost on the top-up response. |
products.fixed_bundles[].price_usd | number | null | Same value as price.value when your wallet is USD, otherwise null |
products.fixed_bundles[].local_value | string | What the recipient receives, as display text |
products.fixed_bundles[].local_amount | number | What the recipient receives, as a number in local currency |
products.fixed_bundles[].local_currency | string | Local currency code |
products.fixed_bundles[].description | string | Product description |
sms_notification | object | SMS notification availability and pricing |
See Network Products for how to use these fields when sending a top-up.
For ported numbers where auto-detection returns the wrong network, use the network_id parameter to specify the correct network manually. You can also use network_id alone to look up products without a phone number — see Network Products for a dedicated endpoint.
Errors
| Code | HTTP Status | When |
|---|---|---|
MISSING_REQUIRED_FIELD | 400 | Neither phone_number nor network_id was sent |
INVALID_PHONE_NUMBER | 400 | phone_number is not E.164 (+ followed by digits) |
HLR_LOOKUP_FAILED | 400 | The phone number's network could not be detected. Retry with network_id. |
NETWORK_NOT_FOUND | 404 | network_id does not match a network |
