List plans
Browse the eSIM plans you can sell.
/api/v1/catalogue
Scope: catalogue
Returns every available plan with its developer price. Add ?has_voice=true to return only Naara Connect plans (Full eSIMs with calls, SMS and data), or ?has_voice=false for data-only plans.
Fields
| Field | Type | Notes |
|---|---|---|
id | int | Use this as plan_id when you quote or order |
name | string | Display name |
type | string | For example local |
has_voice | bool | false is data-only; true is a Naara Connect Full eSIM |
data_mb | int | Data allowance in megabytes |
validity_days | int | How long the plan lasts |
countries | string[] | ISO country codes the plan covers |
price_usd | number | Your developer price |
currency | string | Always USD |
curl https://naara.app/api/v1/catalogue \
-H "Authorization: Bearer $NAARA_KEY"
<?php
require 'vendor/autoload.php';
$client = new GuzzleHttp\Client(['base_uri' => 'https://naara.app/api/v1/']);
$response = $client->get('catalogue', [
'headers' => ['Authorization' => 'Bearer ' . getenv('NAARA_KEY')],
]);
echo $response->getBody();
const res = await fetch("https://naara.app/api/v1/catalogue", {
headers: {
Authorization: `Bearer ${process.env.NAARA_KEY}`,
},
});
console.log(await res.json());
import os
import requests
res = requests.get(
"https://naara.app/api/v1/catalogue",
headers={"Authorization": f"Bearer {os.environ['NAARA_KEY']}"},
)
print(res.json())
{
"data": [
{
"id": 12,
"name": "Nigeria 5GB / 30 days",
"type": "local",
"has_voice": false,
"data_mb": 5120,
"validity_days": 30,
"countries": [
"NG"
],
"price_usd": 11.0,
"currency": "USD"
}
]
}