# eSIMDB travel eSIM plans for a country or region API

Search eSIMDB plans by country or region via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as country, output, page, and retrieve structured data including source unlimited-data flag, source validity in days, and source new-customer-only condition to plan comparison, and network filtering, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/esimdb/esimdb-travel-esim-plans-for-a-country-or-region-api/990728e5-a67f-4edc-ad6d-4946357d3d1d/
API ID: 990728e5-a67f-4edc-ad6d-4946357d3d1d
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/esimdb/v1/plans
Page update time: 2026-12-03T02:47:13.587Z
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.863Z. 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 Plan Search API

Use country or region with optional plan filters and page/per\_page. Source price\_usd, data\_gb, unlimited and validity\_days are distinct; unknown boolean attributes must remain separate from explicit false values.

## What You Can Build

- **Plan comparison**: Keep source price, allowance and eligibility conditions.
- **Network filtering**: Retain operator, hotspot and unknown-policy distinctions.

## Returned Data

| Field | Meaning |
| --- | --- |
| `plans[].price_usd` | Source plan price in USD |
| `plans[].data_gb` | Source finite data allowance in GB |
| `plans[].unlimited` | Source unlimited-data flag |
| `plans[].validity_days` | Source validity in days |
| `plans[].new_user_only` | Source new-customer-only condition |
| `next_page` | Next filtered plan page when present |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "eSIMDB travel eSIM plans for a country or region 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": {
        "country": {
          "type": "string",
          "description": "Country name, slug or 2-letter code (see /esimdb/v1/destinations). Give this or `region`."
        },
        "region": {
          "type": "string",
          "description": "Region slug instead of a country: europe, asia, global, north-america, south-america, africa, middle-east, oceania, caribbean..."
        },
        "min_data_gb": {
          "type": "number",
          "description": "Only plans with at least this much data (GB); unlimited plans always match."
        },
        "min_days": {
          "type": "integer",
          "description": "Only plans valid for at least this many days."
        },
        "max_price": {
          "type": "number",
          "description": "Only plans up to this price in USD."
        },
        "provider": {
          "type": "string",
          "description": "Only this provider (name or slug, e.g. airalo, holafly, ubigi)."
        },
        "has_5g": {
          "type": "boolean",
          "description": "true: only 5G plans."
        },
        "unlimited": {
          "type": "boolean",
          "description": "true: only unlimited-data plans."
        },
        "max_price_per_gb": {
          "type": "number",
          "description": "Only plans up to this price per GB in USD (unlimited plans have no price per GB and are left out)."
        },
        "max_days": {
          "type": "integer",
          "description": "Only plans valid for at most this many days."
        },
        "network": {
          "type": "string",
          "description": "Only plans on one of these networks: slugs as in `plans[].networks` (e.g. softbank-jp) or the operator part (softbank), comma separated."
        },
        "tethering": {
          "type": "boolean",
          "description": "true: plans that allow hotspot use; false: plans that state they do not. Plans that do not say are left out."
        },
        "can_top_up": {
          "type": "boolean",
          "description": "true: plans that can be topped up; false: plans that state they cannot."
        },
        "ekyc": {
          "type": "boolean",
          "description": "true: plans that need identity verification; false: plans that state they do not."
        },
        "telephony": {
          "type": "boolean",
          "description": "true: plans with a phone number (calls / SMS); false: data-only plans that say so."
        },
        "low_latency": {
          "type": "boolean",
          "description": "true: only low-latency plans; false: the others."
        },
        "subscription": {
          "type": "boolean",
          "description": "true: only subscription plans; false: only one-off plans."
        },
        "new_user_only": {
          "type": "boolean",
          "description": "false: leave out offers limited to new customers; true: only those."
        },
        "sort": {
          "type": "string",
          "description": "Order.",
          "enum": [
            "price",
            "price_per_gb",
            "data",
            "validity"
          ]
        },
        "per_page": {
          "type": "integer",
          "description": "Plans per page, 1-100."
        },
        "page": {
          "type": "integer",
          "description": "Page number, starting at 1. Pass `next_page` back as `page`; it is null on the last page."
        },
        "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"
    },
    "credits_used": {
      "type": "integer"
    },
    "destination": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "flag": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "plans": {
          "type": "integer"
        },
        "providers": {
          "type": "integer"
        },
        "region": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      }
    },
    "featured": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "data_gb": {
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "prices": {
            "type": "object",
            "properties": {
              "EUR": {
                "type": "number"
              },
              "GBP": {
                "type": "integer"
              },
              "JPY": {
                "type": "integer"
              },
              "USD": {
                "type": "number"
              },
              "AUD": {
                "type": "number"
              }
            }
          },
          "provider": {
            "type": "string"
          },
          "unlimited": {
            "type": "boolean"
          },
          "validity_days": {
            "type": "integer"
          }
        }
      }
    },
    "fetched_at": {
      "type": "string"
    },
    "listed": {
      "type": "integer"
    },
    "matching": {
      "type": "integer"
    },
    "next_page": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "plans": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "can_top_up": {
            "type": "boolean"
          },
          "data_cap_per": {
            "type": "null"
          },
          "data_gb": {
            "type": "number"
          },
          "ekyc": {
            "type": "boolean"
          },
          "has_5g": {
            "type": "boolean"
          },
          "has_ads": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "low_latency": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "networks": {
            "type": "array",
            "items": {}
          },
          "new_user_only": {
            "type": "boolean"
          },
          "pay_as_you_go": {
            "type": "boolean"
          },
          "possible_throttling": {
            "type": "boolean"
          },
          "price_per_gb_usd": {
            "type": "integer"
          },
          "price_usd": {
            "type": "integer"
          },
          "prices": {
            "type": "object",
            "properties": {
              "USD": {
                "type": "integer"
              }
            }
          },
          "promo_price_usd": {
            "type": "null"
          },
          "promo_prices": {
            "type": "object",
            "properties": {}
          },
          "provider": {
            "type": "object",
            "properties": {
              "certified": {
                "type": "boolean"
              },
              "name": {
                "type": "string"
              },
              "plans": {
                "type": "integer"
              },
              "promo": {
                "type": "string"
              },
              "promo_code": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            }
          },
          "reduced_speed_kbps": {
            "type": "null"
          },
          "speed_limit": {
            "type": "null"
          },
          "subscription": {
            "type": "boolean"
          },
          "telephony": {
            "type": "null"
          },
          "tethering": {
            "type": "boolean"
          },
          "unlimited": {
            "type": "boolean"
          },
          "validity_days": {
            "type": "integer"
          },
          "validity_info": {
            "type": "null"
          }
        }
      }
    },
    "sort": {
      "type": "string"
    },
    "total_plans": {
      "type": "integer"
    },
    "total_providers": {
      "type": "integer"
    },
    "updated_at": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/esimdb/v1/plans?country=japan&output=json&page=1&per_page=1&raw=0&sort=price' \
  -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,
  "credits_used": 1,
  "destination": {
    "code": "JP",
    "flag": "🇯🇵",
    "name": "Japan",
    "plans": 26329,
    "providers": 287,
    "region": "asia",
    "slug": "japan",
    "type": "country"
  },
  "featured": [
    {
      "data_gb": 10,
      "id": "6a86b8d0e3ff1de9b5e829e3",
      "prices": {
        "EUR": 14,
        "GBP": 12,
        "JPY": 2300,
        "USD": 14
      },
      "provider": "Ubigi",
      "unlimited": false,
      "validity_days": 7
    },
    {
      "data_gb": 0,
      "id": "6a9eaee8790b8f4b89af24e4",
      "prices": {
        "USD": 24.74
      },
      "provider": "BambooSIM",
      "unlimited": false,
      "validity_days": 7
    },
    {
      "data_gb": 20,
      "id": "6af4b3aa966cb96e4bb16b91",
      "prices": {
        "EUR": 19.95,
        "GBP": 17,
        "USD": 19.99
      },
      "provider": "Simbye",
      "unlimited": false,
      "validity_days": 30
    },
    {
      "data_gb": 0,
      "id": "6af3f282cd272ebcc527f2e0",
      "prices": {
        "AUD": 37.95
      },
      "provider": "The SIM Shop",
      "unlimited": false,
      "validity_days": 15
    },
    {
      "data_gb": 20,
      "id": "6a58b0a3d9c3603cf48fc040",
      "prices": {
        "USD": 25
      },
      "provider": "GlobaleSIM",
      "unlimited": false,
      "validity_days": 30
    }
  ],
  "fetched_at": "2026-11-19T12:28:44.432Z",
  "listed": 26329,
  "matching": 26329,
  "next_page": 2,
  "page": 1,
  "plans": [
    {
      "can_top_up": false,
      "data_cap_per": null,
      "data_gb": 0.5,
      "ekyc": false,
      "has_5g": false,
      "has_ads": false,
      "id": "6a9f4c4fd827ea5a9a12728c",
      "low_latency": false,
      "name": "Japan Free eSIM (app claim)",
      "networks": [],
      "new_user_only": true,
      "pay_as_you_go": false,
      "possible_throttling": false,
      "price_per_gb_usd": 0,
      "price_usd": 0,
      "prices": {
        "USD": 0
      },
      "promo_price_usd": null,
      "promo_prices": {},
      "provider": {
        "certified": true,
        "name": "Wanderly eSIM",
        "plans": 119,
        "promo": "GET 10% OFF",
        "promo_code": "ESIMDB10",
        "slug": "getwanderly",
        "url": "https://esimdb.com/japan/getwanderly"
      },
      "reduced_speed_kbps": null,
      "speed_limit": null,
      "subscription": false,
      "telephony": null,
      "tethering": true,
      "unlimited": false,
      "validity_days": 7,
      "validity_info": null
    }
  ],
  "sort": "price",
  "total_plans": 26329,
  "total_providers": 287,
  "updated_at": "2026-11-19T11:41:58.815Z"
}
```

## 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 do unlimited plans interact with data filters?
They always match min_data_gb, but max_price_per_gb leaves them out because they have no price-per-GB basis.

### How do I exclude introductory offers?
Set new_user_only=false. Keep any source promotion and subscription conditions with the returned plan.

### Does tethering=false include unknown hotspot policies?
No. The documented filter selects plans that explicitly state the requested hotspot policy; unspecified policies are left out.

### How do I paginate and interpret a zero price?
Pass next_page as page; per_page accepts 1–100. A source zero-price offer can have eligibility conditions and does not imply free OpenAny calls.

### 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-travel-esim-plans-for-a-country-or-region-api/990728e5-a67f-4edc-ad6d-4946357d3d1d/

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