跳到主要內容
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"

錯誤

Feed 以 JSON 回應。常見狀態碼:

400Bad Requestunknown coverage value or a malformed plan id.
401Unauthorized無法依主機解析租戶。
404Not Found未知方案 id,或本站未開啟該模組。
429Too Many Requests請求過多;請稍後再試。

聯盟連結

合作夥伴在 /zh-tw/partners 註冊。在購買連結後加上 &ref=YOUR_CODE(或組合:&currency=USD&ref=YOUR_CODE)。洽詢:[email protected]。

BeeSim 支援 iOS 與 Android

你的 eSIM 隨身攜帶, 落地即用

一分鐘購買方案,一鍵安裝,旅途中隨時加購流量。所有 eSIM 集中管理。