# eSIMDB providers API

Find eSIMDB providers by name, slug or country coverage via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, q, raw, and retrieve structured data including source provider identifier, source provider slug, provider display name, returned source country references, and source coverage-country count for provider directory, and plan navigation.

Documentation: https://openany.si/esimdb/esimdb-providers-api/f7b4e171-5af6-4194-84a5-2475b73dadbd/
API ID: f7b4e171-5af6-4194-84a5-2475b73dadbd
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/esimdb/v1/providers
Page update time: 2026-12-03T02:47:13.599Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:47:12.947Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## eSIMDB Providers API

Optionally use q and a two-letter country code. Keep id, slug, countries and countries\_count distinct; a displayed country subset does not necessarily enumerate the full source coverage count.

## What You Can Build

- **Provider directory**: Keep source provider IDs and slugs.
- **Plan navigation**: Use source provider names or slugs in Plan Search.

## Returned Data

| Field | Meaning |
| --- | --- |
| `providers[].id` | Source provider identifier |
| `providers[].slug` | Source provider slug |
| `providers[].name` | Provider display name |
| `providers[].countries` | Returned source country references |
| `providers[].countries_count` | Source coverage-country count |
| `total` | Source provider-catalogue total |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "eSIMDB providers API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "q": {
          "type": "string",
          "description": "Only providers whose name or slug contains this text."
        },
        "country": {
          "type": "string",
          "description": "Only providers covering this country (2-letter code)."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "country": {
      "type": "null"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "providers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "countries": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "countries_count": {
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "image": {
            "type": "string"
          },
          "logo": {
            "type": "null"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        }
      }
    },
    "q": {
      "type": "string"
    },
    "total": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/esimdb/v1/providers?output=json&q=airalo&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "count": 1,
  "country": null,
  "credits_used": 1,
  "fetched_at": "2026-11-19T12:28:43.737Z",
  "providers": [
    {
      "countries": [
        "KR",
        "AG",
        "AR",
        "DO",
        "SD",
        "VA",
        "DZ",
        "PH",
        "CL",
        "CA",
        "MX",
        "US",
        "IL",
        "VE",
        "AM",
        "BD",
        "CN",
        "HK",
        "ID",
        "IN",
        "JP",
        "KH",
        "LA",
        "LK",
        "MO",
        "MY",
        "PK",
        "SG",
        "TH",
        "TW",
        "VN",
        "TG",
        "KY",
        "IQ",
        "EC",
        "BH",
        "UY",
        "BB",
        "BL",
        "BE",
        "BM",
        "HT",
        "PR",
        "BA",
        "BG",
        "SL",
        "AE",
        "MS",
        "ZA",
        "CO",
        "CF",
        "SV",
        "BZ",
        "YT",
        "BJ",
        "HR",
        "CY",
        "AD",
        "AI",
        "AL",
        "AT",
        "AU",
        "AW",
        "AZ",
        "BN",
        "BO",
        "BQ",
        "BR",
        "BS",
        "BW",
        "BY",
        "CD",
        "CG",
        "CH",
        "CI",
        "CM",
        "CR",
        "CW",
        "CZ",
        "DE",
        "DK",
        "DM",
        "EE",
        "EG",
        "ES",
        "FI",
        "FJ",
        "FO",
        "FR",
        "GB",
        "GD",
        "GE",
        "GF",
        "GG",
        "GH",
        "GI",
        "GM",
        "GP",
        "GR",
        "GT",
        "GY",
        "HN",
        "HU",
        "IE",
        "IM",
        "IS",
        "IT",
        "JE",
        "JM",
        "JO",
        "KE",
        "KN",
        "KW",
        "KZ",
        "LC",
        "LI",
        "LR",
        "LT",
        "LU",
        "LV",
        "MA",
        "MC",
        "MD",
        "ME",
        "MF",
        "MG",
        "MK",
        "ML",
        "MN",
        "MQ",
        "MT",
        "MZ",
        "NG",
        "NI",
        "NL",
        "NO",
        "NZ",
        "OM",
        "PA",
        "PE",
        "PF",
        "PL",
        "PT",
        "PT-AZ",
        "PY",
        "QA",
        "RE",
        "RO",
        "RS",
        "SA",
        "SC",
        "SE",
        "SI",
        "SK",
        "SM",
        "SN",
        "SR",
        "SX",
        "TC",
        "TD",
        "TL",
        "TN",
        "TR",
        "TT",
        "TZ",
        "UA",
        "UG",
        "UZ",
        "VC",
        "VG",
        "XK",
        "KG",
        "VU",
        "SZ",
        "WS",
        "CV",
        "GN",
        "BF",
        "GA",
        "GW",
        "MR",
        "MU",
        "MW",
        "RW",
        "ZM",
        "GU",
        "AO",
        "NE",
        "VI",
        "MV",
        "LS",
        "PS",
        "NR",
        "GL",
        "PG",
        "TO",
        "BT",
        "NP",
        "LB",
        "TJ",
        "ET",
        "AF",
        "ZW"
      ],
      "countries_count": 203,
      "id": "5d663d552a89717945a0d26d",
      "image": "https://esimdb.com/assets/pictures/provider/dd0e1ab41769692838877_tiny",
      "logo": null,
      "name": "Airalo",
      "slug": "airalo"
    }
  ],
  "q": "airalo",
  "total": 303
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### How can I filter providers?
Use q to match name or slug; country restricts providers covering that two-letter country code.

### Are count and total the same?
count is the returned subset, while total is the source catalogue total. Preserve their original scope.

### Does countries_count equal the length of countries?
Do not assume the returned country subset is a complete enumeration. Retain the source summary separately.

### Does a provider entry sell or activate an eSIM?
This directory returns source provider references. Use Plans for offers; this operation does not purchase or activate connectivity.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/esimdb/esimdb-providers-api/f7b4e171-5af6-4194-84a5-2475b73dadbd/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
