Dati dei piani
Catalogo pubblico eSIM travel BeeSim senza chiave. I prezzi sono sempre in dollari USA (importo addebitato). Le valute di visualizzazione del sito sono solo per i visitatori.
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
Lo stesso catalogo come file. Per fogli di calcolo, comparatori di prezzi e crawler.
beesim.space/data/plans.jsontutti i piani (paesi, regioni, globali)beesim.space/data/plans.json?coverage=countrysolo piani di un singolo paese (tabelle per paese)L'oggetto piano
Ogni piano include un id stabile, nome, codice ISO / tipo destinazione, dati e validità, priceUsd, reti locali, url della pagina (con ?currency=USD) e campi tetto giornaliero se applicabile.
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"
// Rimandalo per ottenere 304 se nulla è cambiato
If-None-Match: "1793982277534"Errori
Il feed risponde in JSON. Codici di stato comuni:
400Bad Requestunknown coverage value or a malformed plan id.401Unauthorizedimpossibile risolvere il tenant per questo host.404Not Foundid piano sconosciuto, oppure il modulo è disattivato su questo sito.429Too Many Requeststroppe richieste; attendi e riprova.Link affiliati
I partner si registrano su /it/partners. Aggiungi &ref=YOUR_CODE (o combina: ¤cy=USD&ref=YOUR_CODE) ai link di acquisto. Domande: [email protected].