Partners Plan Feed API
Version 1esimpricing-plans/1

Plan Feed API

One HTTPS endpoint on your side returns your whole catalog as JSON. We read it every 6 hours and price your brand from it.

GET /.well-known/esimpricing/plans.json200
[
  {
    "validity": 7,
    "dataCap": 1,
    "dataUnit": "GB",
    "prices": {
      "USD": 4.5
    },
    "coverages": [
      "JP"
    ]
  }
]
Method
GET https, JSON
Read
every 6 h
Required fields
5 per plan
Size
8 MB · 20 pages
Auth
header token, optional

eSIMPricing Plan Feed API

Version 1 · format esimpricing-plans/1

A plan feed is one HTTPS endpoint on your side that returns your whole current catalog as JSON. eSIMPricing reads it on a schedule and prices your brand from it. This document is the contract: what we request, what you return, the rules the data must follow, and what happens to it.

This is the only format we read. A plan is described with the same fields as the catalog feed many brands already publish for comparison sites, so a feed built to that schema is a valid feed here as it is. The fields we add are optional.

Quick start

  1. Publish a URL that returns a JSON list of your plans. Each plan needs five fields: validity, dataCap, dataUnit, prices and coverages.

    [
      {
        "validity": 7,
        "dataCap": 1,
        "dataUnit": "GB",
        "prices": {
          "USD": 4.5
        },
        "coverages": ["JP"]
      }
    ]
    
  2. Check it (section 7.1). The answer lists every error and warning with the rows it is on, and shows how each plan would appear:

    curl -s https://esimpricing.com/partners/api/v1/feed-check \
      -H 'Content-Type: application/json' \
      -d '{ "url": "https://example.com/esim/plans.json" }'
    
  3. Sign in to the partner area, claim your brand and connect the URL under “Plan feed”. From then on it is read every 6 hours. A check (step 2) is not a read: only reads of the connected feed count toward the price tables (section 6).

Then add what makes a listing accurate: your own plan id, the plan’s link, the networks in coverages, tethering, reducedSpeed for plans that slow down, and starts.

1. The request

We send one request per read.

PartWhat we send
MethodGET
URLAny https:// URL you give us. Suggested: https://<your-domain>/.well-known/esimpricing/plans.json
TokenOptional. One request header: Authorization, X-Api-Key, or another name of the form X-…-Key or X-…-Token. A token in the URL is refused.
User agentesimpricing-bot/1.0 (+https://esimpricing.com/for-providers)
Acceptapplication/json
ScheduleEvery 6 hours, and when you press “Read now” in the partner area
Timeout25 seconds per request
RedirectsFollowed up to 5 times, https only

Requests come from Cloudflare’s network and have no fixed IP address. Protect the endpoint with the token, not with an IP allow-list. A bot check that answers with a challenge page (JavaScript or CAPTCHA) fails the read: exempt the feed’s path from it, or match the user agent above.

2. The response

  • Status 200, Content-Type: application/json, UTF-8.
  • The complete catalog in one document of at most 8 MB, or in pages (section 2.1) of at most 8 MB each and 16 MB in all.
  • Any other status, a timeout or invalid JSON fails the read. Your last accepted read stays in use.

2.1 Paging

A catalog too large for one document is split into pages. Each page is an object (section 3) that names the next one in next, an absolute URL on the same site. The last page has no next. At most 20 pages are followed.

2.2 Types

Values are JSON types. A number is a number, not text: "validity": 7, never "validity": "7". Booleans are true and false. A field you have nothing to say about is left out or null; never send a guess. Names are case-sensitive.

3. The document

Either a list of plans (the quick-start example), or an object that carries the list in plans together with facts about the whole catalog:

{
  "feed": "esimpricing-plans/1",
  "brand": "Example Mobile",
  "currency": "EUR",
  "updated": "2026-03-12T08:00:00Z",
  "pages": {
    "JP": "https://example-mobile.com/esim/japan"
  },
  "plans": [
    {
      "id": "jp-10-30",
      "planName": "Japan 10 GB",
      "link": "https://example-mobile.com/esim/japan/10gb-30d",
      "prices": {
        "EUR": 14,
        "USD": 15.5
      },
      "validity": 30,
      "dataCap": 10,
      "dataUnit": "GB",
      "coverages": [
        {
          "code": "JP",
          "networks": [
            {
              "name": "NTT Docomo",
              "types": ["4G", "5G"]
            },
            {
              "name": "SoftBank",
              "types": ["4G"]
            }
          ]
        }
      ],
      "tethering": true,
      "canTopUp": true,
      "starts": "connect",
      "activateWithin": 180
    },
    {
      "id": "asia-daily-7",
      "planName": "Asia 3 GB a day",
      "prices": {
        "EUR": 29
      },
      "validity": 7,
      "dataCap": 3,
      "dataUnit": "GB",
      "dataCapPer": "day",
      "reducedSpeed": 1000,
      "coverages": ["JP", "KR", "TW", "TH"],
      "internetBreakouts": [
        {
          "country": "SG"
        }
      ],
      "tethering": true
    },
    {
      "id": "uk-number-30",
      "planName": "UK 20 GB with a number",
      "prices": {
        "EUR": 25
      },
      "validity": 30,
      "dataCap": 20,
      "dataUnit": "GB",
      "coverages": ["GB"],
      "telephony": {
        "dialingCode": "+44",
        "voice": {
          "inbound": true,
          "outbound": true
        },
        "sms": {
          "inbound": true,
          "outbound": false
        }
      },
      "eKYC": true
    }
  ]
}
FieldUseTypeMeaning
plansrequiredarrayEvery plan on sale (section 4).
feedrecommendedstringThe format name, esimpricing-plans/1.
currencyrecommendedstringISO 4217 code of the currency you charge in. When a plan states several prices, this is the one we take.
updatedrecommendedstringWhen this document was generated, ISO 8601 with time zone.
brandoptionalstringYour brand name.
taxIncludedoptionalbooleanWhether prices include VAT or sales tax.
pagesoptionalobjectYour own page for a destination, by ISO 3166-1 alpha-2 code. Clicks from that destination’s tables land there once the page passes our check (section 6).
nextoptionalstringThe next page of a paged catalog (section 2.1).

4. A plan

4.1 What is sold

FieldUseTypeMeaning
validityrequiredintegerDays the plan can be used without paying again. 0 for no expiry. May be left out for a subscription.
dataCaprequirednumberThe amount at full speed, in dataUnit. 0 only when there is no such amount (section 4.5).
dataUnitrequiredstringMB, GB or TB. 1 GB is 1000 MB.
pricesrequiredobjectWhat a new customer pays at checkout, keyed by ISO 4217 code: { "USD": 9.5 }. At least one.
coveragesrequiredarrayWhere the plan works, at least one entry (section 4.3).
idrecommendedstringYour own identifier for the plan, at most 120 characters. Unique in the feed and the same on every read. Price history is kept per id; without one we derive it from link or the plan’s terms.
planNamerecommendedstringThe plan’s name as your site shows it, at most 120 characters.
linkrecommendedstringThe plan’s page on your own domain, https, without tracking parameters. A click on the plan in our tables opens this page; without it the click opens your page for the destination (pages) or your homepage.
dataCapPerwhen it appliesstringday, week or month: the amount in dataCap renews each period.
maxSpeedwhen it appliesintegerA speed limit on the whole plan, in kbps.
reducedSpeedwhen it appliesintegerThe speed once dataCap is used, in kbps. Leave it out when data stops.

4.2 What a buyer should know

FieldUseTypeMeaning
tetheringrecommendedbooleanWhether personal hotspot is allowed.
startsrecommendedstringWhen the validity clock starts: connect (first connection in the destination), install or purchase.
activateWithinrecommendedintegerDays after purchase by which the plan must be activated.
internetBreakoutsrecommendedarrayWhere traffic leaves to the internet: [{ "country": "SG" }].
canTopUpoptionalbooleanMore data can be added to the same eSIM.
eKYCoptionalbooleanIdentity verification is required.
telephonywhen it appliesobjectFor plans with a phone number (section 4.4).
newUserOnlywhen it appliesbooleanThe price is for first orders only.
subscriptionwhen it appliesbooleanThe plan renews by itself.
subscriptionPeriodwhen it appliesstringmonth or week.
payAsYouGowhen it appliesbooleanBilled by use.
hasAdswhen it appliesbooleanThe plan shows advertisements.
promoEnabledoptionalbooleanPromo codes are accepted. Read and not used: the tables show list prices.
additionalInfooptionalstringWhat else a buyer should know, one sentence per line, at most 600 characters.
priceInfooptionalstringA note on the price.
capacityInfooptionalstringA note on data limits or throttling.
validityInfooptionalstringA note on validity.
activationInfooptionalstringWhen validity begins, in words. Prefer starts.

4.3 coverages

Each entry is a country code such as "JP", or an object when you can name the networks:

FieldUseTypeMeaning
coderequiredstringISO 3166-1 alpha-2 code, upper case.
networksrecommendedarrayThe operators the plan uses there.
namerequiredstringIn a network: the operator, by its own name.
typesrecommendedarrayIn a network: the radio generations the plan reaches on it, such as ["4G", "5G"].

A plan is marked 5G in a country when one of its networks there lists "5G".

One operator per network, by its name alone and only under the countries it serves: { "name": "China Telecom", "types": ["4G", "5G"] } under CN, not "CHINA: China Telecom", "China Telecom-4G" or "China Mobile, China Telecom". We match each name to the operators of that country, including their former names, and show it as the operator spells it; a name that matches none is left out and reported (section 6.2).

4.4 telephony

FieldUseTypeMeaning
dialingCoderequiredstringThe number’s country calling code with the plus sign, such as "+44".
voicerequiredobjectCalls.
smsrequiredobjectTexts.
inboundrequiredbooleanIn voice and sms: can be received.
outboundrequiredbooleanIn voice and sms: can be made or sent.

4.5 Writing the data amount

The plandataCapdataUnitdataCapPerSpeed fields
10 GB in total, then data stops10GB
500 MB in total500MB
10 GB, then slowed to 512 kbps10GBreducedSpeed: 512
2 GB a day, then slowed to 1 Mbps2GBdayreducedSpeed: 1000
1 GB a day, then data stops until the next day1GBday
Unlimited, limited to 5 Mbps throughout0GBmaxSpeed: 5000
Unlimited at full speed, fair use only0GB

5. Rules

  1. The whole catalog. Every plan a visitor can buy on your site or in your app today, and nothing they can’t. Top-ups sold only to existing customers stay out.
  2. One entry per plan. A plan sold for several countries is one entry with several coverages, not one entry per country.
  3. The price a new customer pays. List price with mandatory fees, before any coupon or first-order discount, in the currency you charge in. Other currencies in prices are welcome when you really charge them; do not convert for us. A visitor we send must not pay more than any other visitor.
  4. The full-speed amount is the data figure. A plan that slows down after 3 GB a day is dataCap: 3 with dataCapPer: "day" and reducedSpeed, not unlimited. dataCap: 0 is for plans with no such amount: state maxSpeed if there is one, and the networks and internetBreakouts if there is not.
  5. Validity is the longest use without paying again.
  6. Speeds are in kbps. 1 Mbps is 1000.
  7. Ids are stable. Renaming a plan or changing its price keeps the id. A new id is a new plan.
  8. Links stay on your own domain and carry no tracking parameters. We add our own.
  9. Country codes are ISO 3166-1 alpha-2, currencies ISO 4217, times ISO 8601.

6. What happens to a read

A read is accepted, refused or held back.

Accepted. No errors, and at least one plan the price tables list. It replaces the previous read.

Refused. Any error. Nothing changes and your last accepted read stays in use.

Held back. A read that drops more than 30% of the catalog, or moves more than 20% of the prices by more than 50%, waits until you confirm it in the partner area.

Into the price tables. Your plans are listed once 2 reads in a row are accepted and the other steps are done: your profile is claimed, 15 of its 21 profile facts are confirmed, and your affiliate program or a tracking link for us is on record. The Overview in the partner area and GET /partners/api/v1/listing show what is left. The plans appear with the next data update of the site.

After 21 days without an accepted read your plans leave the price tables. Your profile stays.

Who is told. Everyone on your brand in the partner area gets an email when a scheduled read is held back, and when 4 scheduled reads in a row fail. While the feed stays held back or failing, a reminder follows once a day, from a day after the trouble began, for up to 30 days; the first read that passes ends them, and pausing the feed stops them. A webhook reports every read as it happens.

Your feed carries everything. The price tables list 1, 2, 3, 5, 10, 20 and 50 GB or unlimited for 1, 3, 5, 7, 10, 15 and 30 days, and daily allowances of any size and length, sold as a one-off purchase to anyone. Other plans stay in the feed and are counted on your profile.

Tables are sorted by price. A feed changes how current your prices are, not where they rank.

Destination pages. Each page in pages is opened before a click is sent there. It is used when it answers 200 at that address without redirecting to another page, and its title or first heading names the destination in English. Two destinations whose pages share one title and heading use neither. Up to 40 pages are read with each accepted read, and each again every 7 days. Until a page passes, clicks for its destination land on your homepage.

6.1 Errors

An error refuses the read. Each is reported with the rows it is on.

CodeMeaningFix
fetchThe URL did not answer 200 in time, needs a token, carries a token in the URL, or answered with a bot-check page.Check the URL and the token header; exempt the feed’s path from bot checks.
jsonThe body is not valid JSON.Return JSON, UTF-8.
not-a-feedThe URL returns a web page.Give the URL of the JSON endpoint.
not-an-apiThe body is a spreadsheet.Return JSON.
shapeNo list of plans was found.Return a list of plans, or an object with plans.
emptyThe catalog has no plans.
too-largeThe catalog is over the size limits of section 2.Split it into pages.
too-nestedThe document holds far more lists and objects than its plans need.
too-many-pagesMore than 20 pages.Use larger pages.
next-invalidnext leaves the feed’s site or repeats a page.
format-namefeed names another format or version.Set it to esimpricing-plans/1, or leave it out.
field-typeA value is not of the JSON type or form this document names.The report names the field and the type.
price-missingNo usable entry in prices.
price-not-positiveA price of 0 or less.
days-missingNo validity.
days-invalidvalidity is negative or not a whole number.
data-missingNo dataCap, or no dataUnit with it.
data-invalidA negative dataCap.
allowance-missingdataCapPer is set and dataCap is 0.Give the amount per period.
where-emptyNo coverages.
countries-unknownNo country code of the plan is one we know.Use ISO 3166-1 alpha-2 codes.
id-duplicateTwo plans share an id.
id-longAn id over 120 characters.

6.2 Warnings and notes

A warning does not refuse the read. The plan or the field it names may be left out.

CodeMeaning
field-unknownA field this document does not name. It is not read; the report names the field to use when the name is a known one.
country-unknownSome country codes of a plan are not ones we know. They are skipped; a retired code such as AN is named with the codes that replaced it.
url-off-domainA link is not on your own domain. It is not used.
url-not-httpsA link is not https.
page-off-domainAn entry of pages is not on your own domain. It is not used.
page-failedA page in pages did not pass the destination-page check of section 6. The report names the destination and the reason.
page-pendingPages in pages not read yet. They are read with the next accepted reads.
speed-unitA speed under 16 kbps, which reads like Mbps.
speed-after-not-lowerreducedSpeed is not below maxSpeed. It is not read; a daily plan without it is listed as its allowance, not as unlimited.
network-listA network entry holds several operators, or a name cut in two (an unclosed parenthesis). Give each operator its own entry.
network-prefixA network name starts with a country. It is read without it; the country is the coverage’s code.
network-foreignA network name starts with another country. It is left out.
network-technologyA network name holds a radio generation, such as "4G" or "Vivo-3G". Generations go in types; a name that is only one is left out.
network-unknownA network name is none of the operators we list for that country. It is left out.
unlimited-baredataCap: 0 with no speed, network or breakout stated. The table shows “fair use not stated”.
staleupdated is more than 14 days old.
id-derivedA plan has no id; one was derived.
not-listedPlans outside what the price tables list. They stay in your feed.

7. Checking a feed

  • POST https://esimpricing.com/partners/api/v1/feed-check (below) reads any feed URL, or checks a document you send, and lists every error and warning with the rows it is on, and how each plan would appear. Without a key it reads the first megabyte and two pages.
  • Connecting the URL under “Plan feed” in the partner area reads the whole feed at once and shows the same report.
  • The example of section 3 as a live document: https://esimpricing.com/partners/feed-example.json
  • JSON Schema: https://esimpricing.com/partners/feed-schema.json
  • OpenAPI 3.1 description of the endpoint: https://esimpricing.com/partners/feed-api.json
  • This document as Markdown: https://esimpricing.com/partners/feed-format.md

7.1 Check from code

Run the check from a build or a deploy, before a feed goes out. Send JSON with one of two fields:

FieldWhat we do
urlRead the feed at that https URL, following next. headers may carry one token header for it, such as { "Authorization": "Bearer …" }.
feedCheck the document you send, as it is. Nothing is fetched.
curl -s https://esimpricing.com/partners/api/v1/feed-check \
  -H 'Content-Type: application/json' \
  -d '{
    "url": "https://example.com/esim/plans.json",
    "headers": { "Authorization": "Bearer …" }
  }'

# a document on disk: wrap it as { "feed": … } with jq
jq '{ feed: . }' plans.json | curl -s https://esimpricing.com/partners/api/v1/feed-check \
  -H 'Content-Type: application/json' \
  -d @-

The answer is 200 whenever the check ran. ok is false when the feed has an error. report.groups lists each error, warning and note with its code (section 6) and the rows it is on. report.preview shows how plans would appear.

{
  "ok": false,
  "checked": "url",
  "limits": {
    "bytes": 1048576,
    "pages": 2
  },
  "fetched": {
    "status": 200,
    "final_url": "https://example.com/esim/plans.json",
    "content_type": "application/json",
    "bytes": 48211
  },
  "report": {
    "ok": false,
    "dialect": "esp",
    "checkedAt": "2026-03-12T15:36:40.428Z",
    "counts": {
      "rows": 120,
      "plans": 120,
      "usable": 118,
      "listed": 96,
      "errors": 2,
      "warnings": 1,
      "notes": 0,
      "destinations": 41
    },
    "groups": [
      {
        "code": "field-type",
        "level": "error",
        "n": 2,
        "message": "“prices” must be an object of currency code and number, such as { \"USD\": 9.5 }.",
        "rows": [17, 18]
      },
      {
        "code": "field-unknown",
        "level": "warning",
        "n": 1,
        "message": "“speed” is not a field of esimpricing-plans/1 and is not read. Use “maxSpeed”.",
        "rows": [42]
      }
    ],
    "summary": {
      "currencies": ["USD"],
      "price": {
        "min": 3.5,
        "max": 49
      },
      "sizes": [
        {
          "label": "1 GB",
          "n": 30
        },
        {
          "label": "10 GB",
          "n": 24
        }
      ],
      "lengths": [
        {
          "days": 7,
          "n": 40
        },
        {
          "days": 30,
          "n": 52
        }
      ],
      "unlimited": 12,
      "perDay": 0,
      "networksNamed": 88,
      "fiveG": 20,
      "hotspotStated": 96,
      "withUrl": 118,
      "pages": 41
    },
    "preview": [
      {
        "row": 1,
        "iso": "JP",
        "id": "jp-1gb-7d",
        "name": "Japan 1 GB",
        "data": "1 GB",
        "days": "7 days",
        "price": "4.50 USD",
        "places": "JP",
        "networks": "Docomo · SoftBank",
        "speed": "stops at the allowance",
        "listed": true
      }
    ]
  }
}
LimitWithout a keyWith a partner API key
HeadernoneAuthorization: Bearer esp_…
Checks an hour20 per address120 per brand
One check reads1 MB, 2 pages8 MB, 20 pages, as a connected feed
Links in the feedchecked as httpsalso checked against your own domains, as a connected feed

Nothing is stored and nothing is connected. Other answers carry { "error": { "code": "…", "message": "…" } }: 400 (not JSON, or not exactly one of url and feed), 401 (a key that does not work: send a good key or none), 413 (over the size of one check), 415 (not application/json) and 429 (the hourly limit, with Retry-After). Every answer carries X-RateLimit-Limit and X-RateLimit-Remaining. The full description is in the partner API’s OpenAPI document, https://esimpricing.com/partners/api-v1.json.

8. Compatibility

A catalog feed that follows the plan schema comparison sites commonly ask for (validity, dataCap, dataUnit, prices, coverages and the optional fields of section 4) is valid here without change, as a bare list of plans. What this format adds:

AdditionWhy
idPrice history and plan pages survive renames and price changes.
starts, activateWithinThe validity clock and the activation deadline are shown per plan, and can be filtered on.
The object form with feed, currency, updated, taxIncludedFacts about the whole catalog.
pagesClicks land on your page for the destination, not your homepage.
nextCatalogs larger than one document.

Differences in reading, all on the strict side: values must be of the JSON type named here, an unknown field is reported, and link must be on your own domain.

9. Versions

The format name carries the version. Optional fields may be added to version 1; a feed that is valid today stays valid. A change that would break existing feeds gets a new name (esimpricing-plans/2), and version 1 keeps being read for at least six months after that.

10. Questions

We already publish a feed for another comparison site. Do we build a second one? No. Give us the same URL. Add id when you can.

Our API answers per destination, not for the whole catalog. A feed is the whole catalog in one document, or in pages linked by next. An endpoint that needs a query per destination or per trip length cannot be connected; publish a catalog export beside it.

Our prices depend on the trip length the customer picks. List one plan per length you sell among 1, 3, 5, 7, 10, 15 and 30 days. Other lengths may be listed too; they stay in the feed and are counted on your profile.

Do we need a token? No. A public URL is fine: the catalog is what your site already shows.

How fast do changes show? The next scheduled read takes them in within 6 hours, or at once when you press “Read now”. The price tables show them from the next data update of the site.

Where do questions go? alex@esimpricing.com