eSIMTrade Docs
api.esimtrade.com
Clear, practical reseller API documentation.
Start with authentication, check your wallet balance, review plans, and then work with orders and inventory. Each endpoint page explains its authentication, request fields, response shape, and copyable examples.
List Plans
Load the reseller catalog with reseller-aware pricing or fetch a single slug with resolved pricing detail.
Endpoint
GET /portal/plans
Endpoint behavior
Without query parameters, this route returns the current provider catalog with reseller-aware pricing attached to each package entry. With a slug query parameter, it returns a single plan and resolves reseller pricing for that item only.
The response includes the sell price assigned to your reseller account. Supplier cost and internal pricing calculations are not included. Use the returned slug or packageCode values as the source of truth for later purchase requests.
| Query parameter | Type | Description |
|---|---|---|
| slug | string | Optional single-plan lookup by slug |
List catalog
curl --location --request GET 'https://api.esimtrade.com/api/v1/portal/plans' \ --header 'x-access-code: YOUR_ACCESS_CODE' \ --header 'x-secret-key: YOUR_SECRET_KEY'
Fetch single plan by slug
curl --location --request GET 'https://api.esimtrade.com/api/v1/portal/plans?slug=ES_3_30' \ --header 'x-access-code: YOUR_ACCESS_CODE' \ --header 'x-secret-key: YOUR_SECRET_KEY'
Live response shape
{
"data": {
"packageCode": "CKH002",
"slug": "ES_3_30",
"name": "Spain 3GB 30Days",
"price": 2.5,
"currencyCode": "USD",
"volume": 3,
"duration": 30,
"durationUnit": "DAY",
"locationCode": "ES",
"retailPrice": 3.6
}
}On this page
