Skip to content
eSIMTrade
Log inSign up
Skip to content

eSIMTrade Docs

Public API

api.esimtrade.com

cURL
JavaScript
HTTP
JSON

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.

Fast scan
Live route coverage
Copyable examples
Getting Started
API key or session

Authentication

How reseller credential pairs work, supported headers, and which auth modes are accepted by reseller routes.

Preferred credential model

New integrations should authenticate with a generated access-code and secret-key pair. These credentials are created in the reseller portal and can be rotated or revoked without changing the reseller account itself.

Routes using requireResellerAccess also accept a valid reseller session cookie when the request comes from an authenticated portal session.

HeaderRequiredPurpose
x-access-codeYes for pair authIdentifies the API key record
x-secret-keyYes for pair authVerifies the shared secret
x-api-keyLegacy onlySecret-only compatibility mode
Authorization: Bearer <secret>Legacy onlySecret-only compatibility mode

Plans request with pair auth

cURL
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'

Rate limiting and access scope

Each API key has its own per-minute request limit. The default shown in the portal is 120 requests per minute; check your API Access settings for the limit assigned to your key.

API key responses are limited to the reseller account that owns the key. A key cannot read another reseller's orders, profile, balance, or eSIM inventory.

If an API key is revoked or expired, reseller routes return HTTP 401 Unauthorized.

Base URL

https://api.esimtrade.com/api/v1

Open on API host