SimoraGo API reference
The plan API is public JSON over HTTPS with no key. It answers from the same plan catalogue as the site, the MCP server and the A2A agent. Base URL: https://simorago.com. Machine-readable description: /openapi.json.
Endpoints
GET /api/v1/plans- Every destination with its plans, cheapest first. Query: destination, country, locale, and optionally limit and cursor.
GET /api/v1/plans/{id}- One plan by id, with the store policies. Query: locale.
GET /api/v1/dataset- The travel eSIM fair-use dataset (CC BY 4.0): daily caps, throttle speeds and hotspot allowances by brand, each with a source.
GET /api/plans, /api/plans/{id}, /api/dataset- The same endpoints without the version prefix. They answer identically and keep working.
GET /api/products- Permanent redirect (301) to /api/plans, kept for older clients.
GET /openapi.json- OpenAPI description of these endpoints.
Query parameters
destination- Destination slug, for example japan, europe or global. An unknown slug answers 404 unknown_destination.
country- ISO 3166-1 alpha-2 code or a country name. Keeps the plans that cover that country, regional plans included; a regional plan that leaves it out is dropped. Input that names no country answers 400 unknown_country.
locale- en (default), es, de, fr, pt or he: the language of plan names, destination names and page links.
limit- Optional page size, in destinations (1 to 100). With limit or cursor the answer adds next_cursor; without them it lists every destination, as before.
cursor- next_cursor from the previous page. It is null on the last page. A cursor this API did not issue answers 400 invalid_parameter.
Examples
curl -s "https://simorago.com/api/v1/plans?destination=japan"curl -s "https://simorago.com/api/v1/plans?country=FR&locale=fr"curl -s "https://simorago.com/api/v1/plans?limit=10"curl -s https://simorago.com/openapi.jsonResponse
/api/plans answers with generatedAt, currency, checkout (status, whether it is open, and the checkout URL template), policies and destinations. Each destination has its slug, name, countries, url and plans. When the site runs on its recorded sample catalogue the body says sample: true. Each plan carries:
id, name, destination, pageUrl- Plan id (use it with /api/plans/{id}), plain-language name, destination slug and its page.
countries, notCovered- ISO codes the plan covers, and the destination's countries this plan leaves out.
dataMb, validityDays, activation- Data in MB (null for a daily-allowance plan), days of validity, and when validity starts.
price- amount and currency (USD), with fetchedAt: when the price was read from the supplier.
fairUse- dailyHighSpeedMb and throttledKbps (the speed after the daily cap), with their source.
hotspot, networks, sms, fiveG, topUp- The tethering rule (not_published when the supplier does not state one), the mobile networks, and the other plan features.
purchasable, checkoutUrl- Whether checkout is open, and the checkout page when it is (null otherwise).
Errors
Every error is RFC 9457 problem details, served as application/problem+json, with type, title, status, detail, instance (the request path) and a machine-readable code. error repeats the code for clients written before this format.
{"type":"https://simorago.com/en/developers/api#problem-unknown-plan","title":"Unknown plan","status":404,"detail":"There is no plan with this id. Take plan ids from GET /api/plans.","instance":"/api/v1/plans/x","code":"unknown_plan","error":"unknown_plan"}400 unknown_country- The country parameter names no country.
400 invalid_parameter- limit or cursor has a value the endpoint does not accept.
404 unknown_destination- No destination has this slug.
404 unknown_plan- No plan has this id.
404 not_found- No API endpoint at this path.
405 method_not_allowed- The API is read-only: only GET and HEAD are answered. The Allow header lists the methods.
429 rate_limited- More requests from your IP address than the rate limit allows (see below). Retry-After says how many seconds to wait.
Versions and deprecation
- The API is versioned by path. The current version is v1, under
/api/v1/./api/plans,/api/plans/{id}and/api/datasetare stable aliases of v1: they answer the same way and keep working. - New fields and new optional parameters are added within v1; they do not change what an existing field means.
- A breaking change ships only as a new major path (
/api/v2/), never inside an existing version. - A version that is going away is announced at least 6 months before removal. In that time its answers carry a
Deprecationheader (RFC 9745) and aSunsetheader (RFC 8594) with the removal date, and it is marked deprecated here and in /openapi.json (info.x-deprecation-policy). No version is deprecated today, so neither header is sent.
Caching, CORS and rate limits
- Successful answers are cacheable for ten minutes (
Cache-Control: public, max-age=600); errors are not cached. - CORS is open (
Access-Control-Allow-Origin: *), so a browser app can call the API directly. - Rate limit: 120 requests per minute per IP address (an IPv6 client counts by its /64), one quota shared by the agent endpoints:
/api/plans,/api/plans/{id},/api/v1/*,/mcp,/a2a,/ask,/feeds/*,/schemamap.xmland/openapi.json./a2aalso allows at most 60 a minute on its own. CORS preflight (OPTIONS) is not counted. - Every answer from those endpoints says where you stand, in the fields of the IETF RateLimit draft and in the older X- names:
RateLimit-Policy: "agent";q=120;w=60(the quota and its window in seconds),RateLimit: "agent";r=<remaining>;t=<seconds>(requests left and seconds until the window resets), andX-RateLimit-Limit,X-RateLimit-RemainingandX-RateLimit-Reset(seconds until reset, not a timestamp). All of them are readable from a browser (Access-Control-Expose-Headers). - Over the limit the answer is
429withRetry-After(seconds) and the same headers. The plan API, feeds and/asksend the rate_limited problem;POST /mcpandPOST /a2asend a JSON-RPC error (code -32000, id null). Wait forRetry-After, then retry. - Please cache answers for ten minutes rather than polling: a cached answer costs nothing against the limit.
Buying
The API cannot buy a plan. When purchasable is true, send the traveller to the plan's checkoutUrl; they pay on simorago.com in a browser. Quote prices with their fetchedAt time.