eSIMDB travel eSIM plans for a country or region API
Use the eSIMDB travel eSIM plans for a country or region API to retrieve published prices, data-plan options, charging networks and record identities and titles as structured JSON from eSIMDB. Choose country, region and sort option as optional query conditions to select the source records or view required for your request. Use these results to compare travel connectivity plans by data allowance, validity and price before following provider options. For sort option, choose price / price_per_gb / data / validity. Continue with the returned next_page as page; a null value marks the last page. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.
- Selected price
- $0.002 / billing creditPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
eSIMDB travel eSIM plans for a country or region API
Prepare your request, then continue with your agent.
Pricing
$0.002 / billing credit
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
- Provider
- Pricing
On this page
Overview
eSIMDB travel eSIM plans for a country or region API
Use the eSIMDB travel eSIM plans for a country or region API to retrieve published prices, data-plan options, charging networks and record identities and titles as structured JSON from eSIMDB. Choose country, region and sort option as optional query conditions to select the source records or view required for your request. Use these results to compare travel connectivity plans by data allowance, validity and price before following provider options. For sort option, choose price / price_per_gb / data / validity. Continue with the returned next_page as page; a null value marks the last page. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.
Travel eSIM plans for a country or region API
Every travel eSIM data plan listed for a country or region across providers: plan name, provider (with promo code), data in GB or unlimited, daily cap, validity in days, price in USD and the provider's currencies, promo price, price per GB, 5G, tethering, top-up, eKYC, phone number, subscription, pay-as-you-go, new-user-only, throttling and networks. Filter by minimum data, minimum and maximum days, maximum price, maximum price per GB, provider, network, 5G or unlimited, and by tethering, top-up, eKYC, phone number, low latency, subscription and new-user-only (the answer echoes the newer filters as `applied_filters`), and sort by price, price per GB, data or validity. Pass `next_page` back as `page`; null on the last page.
Inputs and results
Send the listed inputs as GET query parameters. This operation has no mandatory query parameters. Supported values, filters and optional identifiers are listed below.
| Parameter | Type | Required | Meaning |
|---|---|---|---|
country | string | Optional | Country name, slug or 2-letter code (see /esimdb/v1/destinations). Give this or `region`. |
region | string | Optional | Region slug instead of a country: europe, asia, global, north-america, south-america, africa, middle-east, oceania, caribbean... |
min_data_gb | number | Optional | Only plans with at least this much data (GB); unlimited plans always match. |
min_days | integer | Optional | Only plans valid for at least this many days. |
max_price | number | Optional | Only plans up to this price in USD. |
provider | string | Optional | Only this provider (name or slug, e.g. airalo, holafly, ubigi). |
has_5g | boolean | Optional | true: only 5G plans. |
unlimited | boolean | Optional | true: only unlimited-data plans. |
max_price_per_gb | number | Optional | Only plans up to this price per GB in USD (unlimited plans have no price per GB and are left out). |
max_days | integer | Optional | Only plans valid for at most this many days. |
network | string | Optional | Only plans on one of these networks: slugs as in `plans[].networks` (e.g. softbank-jp) or the operator part (softbank), comma separated. |
tethering | boolean | Optional | true: plans that allow hotspot use; false: plans that state they do not. Plans that do not say are left out. |
can_top_up | boolean | Optional | true: plans that can be topped up; false: plans that state they cannot. |
ekyc | boolean | Optional | true: plans that need identity verification; false: plans that state they do not. |
telephony | boolean | Optional | true: plans with a phone number (calls / SMS); false: data-only plans that say so. |
low_latency | boolean | Optional | true: only low-latency plans; false: the others. |
subscription | boolean | Optional | true: only subscription plans; false: only one-off plans. |
new_user_only | boolean | Optional | false: leave out offers limited to new customers; true: only those. |
sort | string | Optional | Order. Allowed values: price, price_per_gb, data, validity. |
per_page | integer | Optional | Plans per page, 1-100. |
page | integer | Optional | Page number, starting at 1. Pass `next_page` back as `page`; it is null on the last page. |
raw | string | Optional | Use 0 to leave out the source raw blocks. This controls raw source payloads, not the normalized result records. Allowed values: 0, 1. |
fields | string | Optional | Optional comma-separated output fields; nested paths follow the source field-selection syntax. Call metadata is retained. |
fresh | string | Optional | Use 1 to bypass the source response cache. Cache hits are also billed according to reported credits. Allowed values: 1. |
output | string | Optional | Response format for this product: json. Omit this parameter to use JSON. Allowed values: json. |
records | string | Optional | Source export selector for CSV or NDJSON. It has no effect on this JSON-only product. |
Using OpenAny
Send this request to the OpenAny gateway with your OpenAny API key in the Authorization header. The query values below match the paired request example.
OpenAny request example
curl "https://api.openany.si/v1/agent-apis/apish/esimdb/v1/plans?country=japan&sort=price&per_page=1&page=1&output=json&raw=0" \
-H "Authorization: Bearer <OPENANY_API_KEY>"This command illustrates the OpenAny request format. The response example below retains its stated provenance; it is not evidence that this gateway request was executed.
Response example
Recorded source response for the exact request shown above. Filters, field selectors and page choices in that request define the returned scope.
{
"destination": {
"type": "country",
"code": "JP",
"name": "Japan",
"slug": "japan",
"region": "asia",
"flag": "🇯🇵",
"providers": 287,
"plans": 26329
},
"total_plans": 26329,
"total_providers": 287,
"updated_at": "2026-11-19T11:41:58.815Z",
"listed": 26329,
"matching": 26329,
"page": 1,
"count": 1,
"next_page": 2,
"sort": "price",
"featured": [
{
"id": "6a86b8d0e3ff1de9b5e829e3",
"provider": "Ubigi",
"data_gb": 10,
"unlimited": false,
"validity_days": 7,
"prices": {
"EUR": 14,
"GBP": 12,
"JPY": 2300,
"USD": 14
}
},
{
"id": "6a9eaee8790b8f4b89af24e4",
"provider": "BambooSIM",
"data_gb": 0,
"unlimited": false,
"validity_days": 7,
"prices": {
"USD": 24.74
}
},
{
"id": "6af4b3aa966cb96e4bb16b91",
"provider": "Simbye",
"data_gb": 20,
"unlimited": false,
"validity_days": 30,
"prices": {
"EUR": 19.95,
"GBP": 17,
"USD": 19.99
}
},
{
"id": "6af3f282cd272ebcc527f2e0",
"provider": "The SIM Shop",
"data_gb": 0,
"unlimited": false,
"validity_days": 15,
"prices": {
"AUD": 37.95
}
},
{
"id": "6a58b0a3d9c3603cf48fc040",
"provider": "GlobaleSIM",
"data_gb": 20,
"unlimited": false,
"validity_days": 30,
"prices": {
"USD": 25
}
}
],
"plans": [
{
"id": "6a9f4c4fd827ea5a9a12728c",
"name": "Japan Free eSIM (app claim)",
"provider": {
"name": "Wanderly eSIM",
"slug": "getwanderly",
"url": "https://esimdb.com/japan/getwanderly",
"certified": true,
"promo_code": "ESIMDB10",
"promo": "GET 10% OFF",
"plans": 119
},
"data_gb": 0.5,
"unlimited": false,
"data_cap_per": null,
"validity_days": 7,
"validity_info": null,
"price_usd": 0,
"promo_price_usd": null,
"price_per_gb_usd": 0,
"prices": {
"USD": 0
},
"promo_prices": {},
"has_5g": false,
"tethering": true,
"can_top_up": false,
"ekyc": false,
"telephony": null,
"subscription": false,
"pay_as_you_go": false,
"new_user_only": true,
"has_ads": false,
"low_latency": false,
"speed_limit": null,
"reduced_speed_kbps": null,
"possible_throttling": false,
"networks": []
}
],
"cached": false,
"fetched_at": "2026-11-19T12:28:44.432Z",
"credits_used": 1
}Usage and price
The price is USD 0.002 per actual credit reported in credits_used, with no fixed per-call fee. A response reporting zero credits has zero usage cost. Up to USD 0.002 is reserved for this request; the final price follows reported usage within the configured upper limit. A valid empty result or an unsuccessful lookup can still consume source credits. Cache hits also consume credits.
Coverage and limits
Coverage and update times follow the source. Use the documented field definitions when interpreting the selected result. Requests have a 120-second time budget and a 8 MiB response limit.
Use page according to the operation's parameter definitions. Each additional page requires a separate request.
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
cachedbooleancountintegercredits_usedintegerdestinationobjectcodestringflagstringnamestringplansintegerprovidersintegerregionstringslugstringtypestring
featuredobject[]data_gbintegeridstringpricesobjectEURnumberGBPintegerJPYintegerUSDnumberAUDnumber
providerstringunlimitedbooleanvalidity_daysinteger
fetched_atstringlistedintegermatchingintegernext_pageintegerpageintegerplansobject[]can_top_upbooleandata_cap_pernulldata_gbnumberekycbooleanhas_5gbooleanhas_adsbooleanidstringlow_latencybooleannamestringnetworksunknown[]new_user_onlybooleanpay_as_you_gobooleanpossible_throttlingbooleanprice_per_gb_usdintegerprice_usdintegerpricesobjectUSDinteger
promo_price_usdnullpromo_pricesobjectproviderobjectcertifiedbooleannamestringplansintegerpromostringpromo_codestringslugstringurlstring
reduced_speed_kbpsnullspeed_limitnullsubscriptionbooleantelephonynulltetheringbooleanunlimitedbooleanvalidity_daysintegervalidity_infonull
sortstringtotal_plansintegertotal_providersintegerupdated_atstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
cached?: boolean;
count?: number;
credits_used?: number;
destination?: {
code?: string;
flag?: string;
name?: string;
plans?: number;
providers?: number;
region?: string;
slug?: string;
type?: string;
};
featured?: Array<{
data_gb?: number;
id?: string;
prices?: {
EUR?: number;
GBP?: number;
JPY?: number;
USD?: number;
AUD?: number;
};
provider?: string;
unlimited?: boolean;
validity_days?: number;
}>;
fetched_at?: string;
listed?: number;
matching?: number;
next_page?: number;
page?: number;
plans?: Array<{
can_top_up?: boolean;
data_cap_per?: null;
data_gb?: number;
ekyc?: boolean;
has_5g?: boolean;
has_ads?: boolean;
id?: string;
low_latency?: boolean;
name?: string;
networks?: Array<unknown>;
new_user_only?: boolean;
pay_as_you_go?: boolean;
possible_throttling?: boolean;
price_per_gb_usd?: number;
price_usd?: number;
prices?: {
USD?: number;
};
promo_price_usd?: null;
promo_prices?: Record<string, unknown>;
provider?: {
certified?: boolean;
name?: string;
plans?: number;
promo?: string;
promo_code?: string;
slug?: string;
url?: string;
};
reduced_speed_kbps?: null;
speed_limit?: null;
subscription?: boolean;
telephony?: null;
tethering?: boolean;
unlimited?: boolean;
validity_days?: number;
validity_info?: null;
}>;
sort?: string;
total_plans?: number;
total_providers?: number;
updated_at?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
apishCurrent eSIMDB travel eSIM plans for a country or region API · GET · View API reference | $0.002 / billing credit | — | —successP50— |
- Pricing
- $0.002
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 2. Price update time: not supplied.
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/apish/esimdb/v1/plans- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
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'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
country | URL query parametersquery | string | No | Country name, slug or 2-letter code (see /esimdb/v1/destinations). Give this or `region`. |
region | URL query parametersquery | string | No | Region slug instead of a country: europe, asia, global, north-america, south-america, africa, middle-east, oceania, caribbean... |
min_data_gb | URL query parametersquery | number | No | Only plans with at least this much data (GB); unlimited plans always match. |
min_days | URL query parametersquery | integer | No | Only plans valid for at least this many days. |
max_price | URL query parametersquery | number | No | Only plans up to this price in USD. |
provider | URL query parametersquery | string | No | Only this provider (name or slug, e.g. airalo, holafly, ubigi). |
has_5g | URL query parametersquery | boolean | No | true: only 5G plans. |
unlimited | URL query parametersquery | boolean | No | true: only unlimited-data plans. |
max_price_per_gb | URL query parametersquery | number | No | Only plans up to this price per GB in USD (unlimited plans have no price per GB and are left out). |
max_days | URL query parametersquery | integer | No | Only plans valid for at most this many days. |
network | URL query parametersquery | string | No | Only plans on one of these networks: slugs as in `plans[].networks` (e.g. softbank-jp) or the operator part (softbank), comma separated. |
tethering | URL query parametersquery | boolean | No | true: plans that allow hotspot use; false: plans that state they do not. Plans that do not say are left out. |
can_top_up | URL query parametersquery | boolean | No | true: plans that can be topped up; false: plans that state they cannot. |
ekyc | URL query parametersquery | boolean | No | true: plans that need identity verification; false: plans that state they do not. |
telephony | URL query parametersquery | boolean | No | true: plans with a phone number (calls / SMS); false: data-only plans that say so. |
low_latency | URL query parametersquery | boolean | No | true: only low-latency plans; false: the others. |
subscription | URL query parametersquery | boolean | No | true: only subscription plans; false: only one-off plans. |
new_user_only | URL query parametersquery | boolean | No | false: leave out offers limited to new customers; true: only those. |
sort | URL query parametersquery | string | No | Order. enum: "price", "price_per_gb", "data", "validity" |
per_page | URL query parametersquery | integer | No | Plans per page, 1-100. |
page | URL query parametersquery | integer | No | Page number, starting at 1. Pass `next_page` back as `page`; it is null on the last page. |
raw | URL query parametersquery | string | No | 0 leaves out the bulky `raw` source blocks (often 10-30x smaller). enum: "0", "1" |
fields | URL query parametersquery | string | No | Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included. |
fresh | URL query parametersquery | string | No | 1 skips the 24-hour cache and fetches live. enum: "1" |
output | URL query parametersquery | string | No | JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported. enum: "json" |
records | URL query parametersquery | string | No | With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row. |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"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"
}Composite rule pricing
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.
| Fee item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| Actual API.SH credits consumed | $0.002000 / billing credit | Response · /credits_used · Numeric value | Always | 1 billing credit · Decimal places: 0 |
Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.
Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.
Pricing parameters and defaults
[]
Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# eSIMDB travel eSIM plans for a country or region API
Use the eSIMDB travel eSIM plans for a country or region API to retrieve published prices, data-plan options, charging networks and record identities and titles as structured JSON from eSIMDB. Choose country, region and sort option as optional query conditions to select the source records or view required for your request. Use these results to compare travel connectivity plans by data allowance, validity and price before following provider options. For sort option, choose price / price_per_gb / data / validity. Continue with the returned next_page as page; a null value marks the last page. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.
## Available implementations
apish · eSIMDB travel eSIM plans for a country or region API: https://openany.si/markets/apis/capabilities/esimdb-travel-esim-plans-for-a-country-or-region-api?offering=990728e5-a67f-4edc-ad6d-4946357d3d1d · $0.002 / billing credit
## Selected API contract
Documentation: https://openany.si/apis/990728e5-a67f-4edc-ad6d-4946357d3d1d
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/esimdb/v1/plans
Price: $0.002 / billing credit
Provider: apish
Contract revision: 2
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared 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'
```
## API contract
```json
{
"resource_type": "api",
"name": "eSIMDB travel eSIM plans for a country or region API",
"endpoint": "https://api.openany.si/v1/agent-apis/apish/esimdb/v1/plans",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Country name, slug or 2-letter code (see /esimdb/v1/destinations). Give this or `region`.",
"location": "query",
"name": "country",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Region slug instead of a country: europe, asia, global, north-america, south-america, africa, middle-east, oceania, caribbean...",
"location": "query",
"name": "region",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Only plans with at least this much data (GB); unlimited plans always match.",
"location": "query",
"name": "min_data_gb",
"nullable": false,
"required": false,
"type": "number"
},
{
"description": "Only plans valid for at least this many days.",
"location": "query",
"name": "min_days",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Only plans up to this price in USD.",
"location": "query",
"name": "max_price",
"nullable": false,
"required": false,
"type": "number"
},
{
"description": "Only this provider (name or slug, e.g. airalo, holafly, ubigi).",
"location": "query",
"name": "provider",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "true: only 5G plans.",
"location": "query",
"name": "has_5g",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "true: only unlimited-data plans.",
"location": "query",
"name": "unlimited",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "Only plans up to this price per GB in USD (unlimited plans have no price per GB and are left out).",
"location": "query",
"name": "max_price_per_gb",
"nullable": false,
"required": false,
"type": "number"
},
{
"description": "Only plans valid for at most this many days.",
"location": "query",
"name": "max_days",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Only plans on one of these networks: slugs as in `plans[].networks` (e.g. softbank-jp) or the operator part (softbank), comma separated.",
"location": "query",
"name": "network",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "true: plans that allow hotspot use; false: plans that state they do not. Plans that do not say are left out.",
"location": "query",
"name": "tethering",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "true: plans that can be topped up; false: plans that state they cannot.",
"location": "query",
"name": "can_top_up",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "true: plans that need identity verification; false: plans that state they do not.",
"location": "query",
"name": "ekyc",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "true: plans with a phone number (calls / SMS); false: data-only plans that say so.",
"location": "query",
"name": "telephony",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "true: only low-latency plans; false: the others.",
"location": "query",
"name": "low_latency",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "true: only subscription plans; false: only one-off plans.",
"location": "query",
"name": "subscription",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "false: leave out offers limited to new customers; true: only those.",
"location": "query",
"name": "new_user_only",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "Order.",
"enum_values": [
"price",
"price_per_gb",
"data",
"validity"
],
"location": "query",
"name": "sort",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Plans per page, 1-100.",
"location": "query",
"name": "per_page",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Page number, starting at 1. Pass `next_page` back as `page`; it is null on the last page.",
"location": "query",
"name": "page",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
"enum_values": [
"0",
"1"
],
"location": "query",
"name": "raw",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.",
"location": "query",
"name": "fields",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "1 skips the 24-hour cache and fetches live.",
"enum_values": [
"1"
],
"location": "query",
"name": "fresh",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
"enum_values": [
"json"
],
"location": "query",
"name": "output",
"nullable": false,
"required": false,
"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.",
"location": "query",
"name": "records",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"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": []
}
},
"examples": [
{
"http_status": 200,
"name": "Official example · Live API.SH response · Minimal request",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"country": "japan",
"output": "json",
"page": "1",
"per_page": "1",
"raw": "0",
"sort": "price"
}
},
"response_body": {
"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
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · Live API.SH response · Minimal request
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 26
Review these request fields before running. Keep the published provider and request method unchanged.
country- Country name, slug or 2-letter code (see /esimdb/v1/destinations). Give this or `region`.
region- Region slug instead of a country: europe, asia, global, north-america, south-america, africa, middle-east, oceania, caribbean...
min_data_gb- Only plans with at least this much data (GB); unlimited plans always match.
min_days- Only plans valid for at least this many days.
max_price- Only plans up to this price in USD.
provider- Only this provider (name or slug, e.g. airalo, holafly, ubigi).
has_5g- true: only 5G plans.
unlimited- true: only unlimited-data plans.
max_price_per_gb- Only plans up to this price per GB in USD (unlimited plans have no price per GB and are left out).
max_days- Only plans valid for at most this many days.
network- Only plans on one of these networks: slugs as in `plans[].networks` (e.g. softbank-jp) or the operator part (softbank), comma separated.
tethering- true: plans that allow hotspot use; false: plans that state they do not. Plans that do not say are left out.
can_top_up- true: plans that can be topped up; false: plans that state they cannot.
ekyc- true: plans that need identity verification; false: plans that state they do not.
telephony- true: plans with a phone number (calls / SMS); false: data-only plans that say so.
low_latency- true: only low-latency plans; false: the others.
subscription- true: only subscription plans; false: only one-off plans.
new_user_only- false: leave out offers limited to new customers; true: only those.
sort- Order.
per_page- Plans per page, 1-100.
page- Page number, starting at 1. Pass `next_page` back as `page`; it is null on the last page.
raw- 0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
fields- Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
fresh- 1 skips the 24-hour cache and fetches live.
output- JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.
records- With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.
Terminal · cURLcurl \ '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'Check the response
Sample response · Documented HTTP 200
Sample response{ "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" }