In this article
Learn how to retrieve the bundles available to your organisation with the API and filter them by group, country or region, so you can show your customers the right bundles for where they travel. You'll also learn why you should save the response instead of polling.
Before you start
- The current API version is v2.5.
- Authenticate with your API key in the X-API-Key header. The header name is case-insensitive.
- A missing or invalid API key returns 403 Forbidden.
- The developer documentation for this endpoint is static. There is no "Try it" request runner on the catalogue page.
What the catalogue returns
GET /catalogue lists the bundles available to your organisation for ordering. It retrieves bundles from the bundle groups assigned to your organisation. The Catalogue guide developer document outlines this process.
The monikers (bundle codes) returned by the catalogue can be used with the /orders endpoint to place an order. See Create an eSIM using the API. Each bundle in the response has an unlimited field that shows whether the bundle is unlimited.
Each bundle in the response includes these fields: name, description, groups, countries, countryNetworks, potentialNetworks, dataAmount, duration, speed, autostart, unlimited, roamingEnabled, price (the bundle price in your organisation's currency), billingType, profileName and allowances.
Filtering the catalogue
GET /catalogue accepts these query parameters: page, perPage, direction, orderBy, description (wildcard search for the description), group (filter by bundle group, exact value), countries (comma-separated list of country ISO codes) and region.
Group
Use the group filter so that the response only contains bundles from the group you are targeting, for example Standard Fixed. See Bundle types explained (groups and unlimited).
Country
The country filter uses ISO country codes, for example Turkey = TR and United Arab Emirates = AE. You can download the price list with the Price List button on Inventory > Buy in your Portal. See Accessing and using your price and coverage lists.
Tip: Use the country filter to build destination pages in your storefront, so each one shows only the bundles that cover that country. Your customers find the right bundle faster and are less likely to buy one that doesn't work where they travel.
Region
The region filter uses region names to retrieve all bundles that are available for a given region. The region names are:
- Africa
- Asia
- Europe
- Global
- Middle East
- North America
- South America
- Oceania
Example request
This request returns the second page of the Standard Fixed bundles available for Turkey, 25 bundles per page. Send your API key in the X-API-Key header.
curl -X GET "https://api.esim-go.com/v2.5/catalogue?group=Standard%20Fixed&countries=TR&page=2&perPage=25" \
-H "Accept: application/json" \
-H "X-API-Key: $API_KEY"
Replace $API_KEY with your API key; see Find, copy and refresh your API key.
The response lists each bundle with the fields shown above. For a full example response, see the Catalogue guide.
Save the response
Save the catalogue response for later use, to keep in line with the Technical Service Agreement (TSA) - Platform services. Frequent and consistent polling of services is not allowed. Only make requests when information or data is required. The TSA is at https://esimgo.com/technical-service-agreement.