ข้ามไปยังเนื้อหาหลัก
APIสำหรับนักพัฒนาข้อมูลแพ็กเกจ
All systems normalv1

ข้อมูลแพ็กเกจ

แคตตาล็อก eSIM ท่องเที่ยว BeeSim สาธารณะโดยไม่ต้องมีคีย์ ราคาเป็นดอลลาร์สหรัฐเสมอ (ยอดที่เรียกเก็บ) สกุลเงินที่แสดงบนเว็บมีไว้สำหรับผู้เข้าชมเท่านั้น

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คำขอมากเกินไป รอแล้วลองใหม่

ลิงก์พันธมิตร

พาร์ทเนอร์สมัครที่ /th/partners เพิ่ม &ref=YOUR_CODE (หรือรวม: &currency=USD&ref=YOUR_CODE) ในลิงก์ซื้อ สอบถาม: [email protected]

BeeSim สำหรับ iOS และ Android

eSIM ของคุณอยู่ในกระเป๋า ไม่ว่าจะลงจอดที่ไหน

ซื้อแพ็กเกจในหนึ่งนาที ติดตั้งในแตะเดียว และเติมเน็ตระหว่างเดินทาง eSIM ทั้งหมดอยู่ในที่เดียว