套餐数据
无需密钥的 BeeSim 旅行 eSIM 公开目录。价格始终为美元(结账金额)。网站上的展示货币仅供访客查看。
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
同一目录的文件版本,适合表格、比价网站和爬虫。
beesim.space/data/plans.json全部套餐(国家、地区、全球)beesim.space/data/plans.json?coverage=country仅单国家套餐(按国表格)套餐对象
每个套餐包含稳定 id、名称、目的地 ISO/类型、流量与有效期、priceUsd、本地网络、套餐页 url(含 ?currency=USD),以及按日套餐的日限额字段。
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"
// 回传它,若无变化将得到 304
If-None-Match: "1793982277534"错误
Feed 以 JSON 响应。常见状态码:
400Bad Requestunknown coverage value or a malformed plan id.401Unauthorized无法根据主机解析租户。404Not Found未知套餐 id,或本站未开启该模块。429Too Many Requests请求过多;请稍后再试。联盟链接
合作伙伴在 /zh-cn/partners 注册。在购买链接后追加 &ref=YOUR_CODE(或组合:¤cy=USD&ref=YOUR_CODE)。咨询:[email protected]。