GETDiscovery
Get Data Plans
Returns a list of available eSIM data plans matching your specified criteria. Filter by type to scope results; Destination for country-specific plans, Region for regional plans, or Global for worldwide plans. Each result includes data allowance, validity, pricing, and supported countries.
Endpoint
GEThttps://api.sotel.com/api/esim/data/plan/fetch
Authentication
Requires a bearer token obtained from the /authenticate endpoint. Include it in the Authorization header.
Authorization: Bearer {token}Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
page | integer | Optional | Page number for pagination (zero-indexed). (Default: 0) |
size | integer | Optional | Number of results per page. (Default: 15) |
country | string | Optional | Filter by a specific country (e.g. Netherlands). |
type | string | Optional | Data plan type. All possible values (DESTINATION, REGION, GLOBAL). |
Response
List of available data plans returned successfully.
Response
{
"data": [
{
"productId": "21170245",
"name": "Colombia 1GB 5 days",
"dataAllowance": 1,
"timeAllowance": 5,
"dataPlanType": "DESTINATION",
"usdPrice": 5,
"currency": "USD",
"iso3": null,
"supportedCountries": [
{
"country": "Colombia",
"iso3": "COL"
}
]
},
{
"productId": "21170312",
"name": "Zambia 1GB 5 days",
"dataAllowance": 1,
"timeAllowance": 5,
"dataPlanType": "DESTINATION",
"usdPrice": 5,
"currency": "USD",
"iso3": null,
"supportedCountries": [
{
"country": "Zambia",
"iso3": "ZMB"
}
]
},
{
"productId": "21170192",
"name": "Spain 1GB 5 days",
"dataAllowance": 1,
"timeAllowance": 5,
"dataPlanType": "DESTINATION",
"usdPrice": 2,
"currency": "USD",
"iso3": null,
"supportedCountries": [
{
"country": "Spain",
"iso3": "ESP"
}
]
},
{
"productId": "21170294",
"name": "Cayman Islands 1GB 5 days",
"dataAllowance": 1,
"timeAllowance": 5,
"dataPlanType": "DESTINATION",
"usdPrice": 6,
"currency": "USD",
"iso3": null,
"supportedCountries": [
{
"country": "Cayman Islands",
"iso3": "CYM"
}
]
},
{
"productId": "21170189",
"name": "Lithuania 1GB 5 days",
"dataAllowance": 1,
"timeAllowance": 5,
"dataPlanType": "DESTINATION",
"usdPrice": 2,
"currency": "USD",
"iso3": null,
"supportedCountries": [
{
"country": "Lithuania",
"iso3": "LTU"
}
]
},
{
"productId": "21170196",
"name": "Malaysia 1GB 5 days",
"dataAllowance": 1,
"timeAllowance": 5,
"dataPlanType": "DESTINATION",
"usdPrice": 2.35,
"currency": "USD",
"iso3": null,
"supportedCountries": [
{
"country": "Malaysia",
"iso3": "MYS"
}
]
},
{
"productId": "21170305",
"name": "Saint Lucia 1GB 5 days",
"dataAllowance": 1,
"timeAllowance": 5,
"dataPlanType": "DESTINATION",
"usdPrice": 6,
"currency": "USD",
"iso3": null,
"supportedCountries": [
{
"country": "Saint Lucia",
"iso3": "LCA"
}
]
},
{
"productId": "21170243",
"name": "United Arab Emirates 1GB 5 days",
"dataAllowance": 1,
"timeAllowance": 5,
"dataPlanType": "DESTINATION",
"usdPrice": 4,
"currency": "USD",
"iso3": null,
"supportedCountries": [
{
"country": "United Arab Emirates",
"iso3": "ARE"
}
]
}
],
"page": 0,
"size": 15,
"totalElements": 245,
"totalPages": 17
}Code Examples
curl -X GET 'https://api.sotel.com/api/esim/data/plan/fetch?country=Nigeria&type=REGION&page=0&size=50' \
-H 'Authorization: Bearer {token}'Try It
Try It
Fill in the parameters to generate a cURL command
Generated cURL
curl -X GET 'https://api.sotel.com/api/esim/data/plan/fetch' \
-H 'Authorization: Bearer {token}'