本文へスキップ
API開発者向けプランデータ
All systems normalv1

プランデータ

キー不要の公開 BeeSim 旅行 eSIM カタログです。価格は常に米ドル(請求額)です。サイトの表示通貨は閲覧者向けです。

No API keyOpen endpoints, CORS enabled
Prices in USDSame amount as at checkout
5-minute cacheETag per catalogue version

List plans

GET/feed/plans

Returns every plan in the catalogue: countries, regions and global. Use coverage=country for per-country comparison tables.

Query parameters
coverageenumoptional

Default all; country returns only single-country plans.

allcountry
Responses
200Catalogue with plans array
304Not modified, ETag still valid
400Unknown coverage value
429Too many requests

Retrieve a plan

GET/feed/plans/:id

Returns one plan by its stable id. Same shape as an item of the plans array.

パスパラメーター
idstring必須

LOCATION:slug, for example TR:TR_5_30 (case-insensitive location).

Responses
200Plan object
400Malformed id
404No plan with this id

Static feeds

同じカタログをファイルで提供。スプレッドシート、価格比較サイト、クローラー向け。

JSONbeesim.space/data/plans.json全プラン(国・地域・グローバル)
JSONbeesim.space/data/plans.json?coverage=country単一国プランのみ(国別表)
CSVbeesim.space/data/plans.csv同じ行の CSVDownload

プランオブジェクト

各プランには安定した id、名前、目的地 ISO / 種別、データ量と有効期間、priceUsd、現地ネットワーク、プランページ url(?currency=USD 付き)、日次上限フィールド(該当時)があります。

フィールドTypeDescriptionExample
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 allowance5
dataUnitstringUnit of dataCap"GB"
dataCapPerstring?day on per-day plans, otherwise nullnull
validityDaysintegerDays the plan stays active30
priceUsdnumberPrice charged at checkout, USD4.49
priceUsdCentsintegerSame price in cents449
pricesobjectPrice 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"
// 変更がなければ 304 を受け取るために送り返してください
If-None-Match: "1793982277534"

エラー

フィードは JSON で応答します。よくあるステータスコード:

400Bad Requestunknown coverage value or a malformed plan id.
401Unauthorizedこのホストのテナントを特定できませんでした。
404Not Foundプラン id が不明か、このサイトでモジュールがオフです。
429Too Many Requestsリクエストが多すぎます。少し待って再試行してください。

アフィリエイトリンク

パートナーは /ja/partners で登録します。購入リンクに &ref=YOUR_CODE を付けてください(または &currency=USD&ref=YOUR_CODE)。問い合わせ: [email protected]。

BeeSim(iOS・Android対応)

あなたのeSIMをポケットに。 どこに着いても

1分でプランを購入し、ワンタップでインストール、旅先でデータを追加。すべてのeSIMをひとつの場所で。