Skip to content

eSIMTrade Docs

Public API

api.esimtrade.com

cURL
JavaScript
HTTP
JSON

Simpler, clearer reseller API docs.

Start with authentication, check wallet balance, read plans, and then move into orders and inventory. These docs are designed to help teams integrate faster with less scrolling and less guessing.

Fast scan
Live route coverage
Copyable examples
Inventory
API key or session
GET

List eSIMs

Read the reseller eSIM inventory view backed by PortalOrder records and optional status filters.

Endpoint

GET /reseller/esims

Endpoint behavior

This route returns the reseller's eSIM inventory feed using the same persisted PortalOrder data model. It supports pagination and optional status filtering and is intended as the API equivalent of the My eSIMs operational view.

Query parameterTypeDescription
pagenumberPage number, default 1
pageSizenumberItems per page, default 20, capped at 100
statusstringOptional status filter

eSIM inventory list

cURL
curl --location --request GET 'https://api.esimtrade.com/api/v1/reseller/esims?page=1&pageSize=20' \
--header 'x-access-code: YOUR_ACCESS_CODE' \
--header 'x-secret-key: YOUR_SECRET_KEY'

Live response shape

JSON
{
  "total": 2,
  "page": 1,
  "pageSize": 5,
  "esims": [
    {
      "providerOrderNo": "B26022703140001",
      "slug": "PK_0.5_Daily",
      "packageCode": "PUX79Y0PK",
      "packageName": "Pakistan 500MB/Day",
      "locationCode": "PK",
      "status": "got_resource",
      "quantity": 1,
      "rawOrderJson": {
        "iccid": "8948010000095399804",
        "qrCodeUrl": "https://p.qrsim.net/example.png",
        "smdpStatus": "RELEASED"
      }
    }
  ]
}

Base URL

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

Open on API host

On this page