Data tarifů
Veřejný katalog travel eSIM BeeSim bez klíče. Ceny jsou vždy v amerických dolarech (účtovaná částka). Zobrazované měny na webu jsou jen pro návštěvníky.
List plans
/feed/plansReturns every plan in the catalogue: countries, regions and global. Use coverage=country for per-country comparison tables.
Default all; country returns only single-country plans.
200Catalogue with plans array304Not modified, ETag still valid400Unknown coverage value429Too many requestsRetrieve a plan
/feed/plans/:idReturns one plan by its stable id. Same shape as an item of the plans array.
LOCATION:slug, for example TR:TR_5_30 (case-insensitive location).
200Plan object400Malformed id404No plan with this idStatic feeds
Stejný katalog jako soubory. Pro tabulky, srovnávače cen a crawlery.
beesim.space/data/plans.jsonvšechny tarify (země, regiony, globální)beesim.space/data/plans.json?coverage=countrypouze tarify jedné země (tabulky podle zemí)Objekt tarifu
Každý tarif má stabilní id, název, ISO kód / typ destinace, data a platnost, priceUsd, místní sítě, url stránky tarifu (s ?currency=USD) a pole denního limitu, pokud je tarif denní.
idstringStable id, LOCATION:slug"TR:TR_5_30"namestringDisplay name"Turkey 5GB 30Days"destinationKindenumcountry, region or global"country"destinationCodestringISO 3166 code or region code"TR"dataCapnumberData allowance5dataUnitstringUnit of dataCap"GB"dataCapPerstring?day on per-day plans, otherwise nullnullvalidityDaysintegerDays the plan stays active30priceUsdnumberPrice charged at checkout, USD4.49priceUsdCentsintegerSame price in cents449pricesobjectPrice by currency code{"USD":4.49}coveragesobject[]Countries with their local networks[{"code":"TR",…}]urlstringPlan page with ?currency=USD"https://…"Caching
Responses send Cache-Control of about five minutes and an ETag that changes with the catalogue version. Send If-None-Match to get 304 when nothing changed.
Cache-Control: public, max-age=300
ETag: "1793982277534"
// Pošlete ho zpět a dostanete 304, když se nic nezměnilo
If-None-Match: "1793982277534"Chyby
Feed odpovídá JSON. Časté stavové kódy:
400Bad Requestunknown coverage value or a malformed plan id.401Unauthorizedtenanta pro tento host se nepodařilo určit.404Not Foundneznámé id tarifu, nebo je modul na tomto webu vypnutý.429Too Many Requestspříliš mnoho požadavků; počkejte a zkuste znovu.Partnerské odkazy
Partneři se registrují na /cs/partners. Přidejte &ref=YOUR_CODE (nebo kombinaci: ¤cy=USD&ref=YOUR_CODE) k nákupním odkazům. Otázky: [email protected].