بيانات الخطط
كتالوج عام لشرائح eSIM للسفر من BeeSim بلا مفتاح. الأسعار دائماً بالدولار الأمريكي (المبلغ المحصّل). عملات العرض في الموقع للزوار فقط.
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خطط بلد واحد فقط (جداول حسب البلد)كائن الباقة
تتضمن كل خطة معرّفاً ثابتاً واسماً ورمز ISO / نوع الوجهة والبيانات والصلاحية وpriceUsd والشبكات ورابط صفحة الخطة (مع ?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"أخطاء
يغذّي الردود بصيغة JSON. رموز الحالة الشائعة:
400Bad Requestunknown coverage value or a malformed plan id.401Unauthorizedتعذّر تحديد المستأجر لهذا المضيف.404Not Foundمعرّف الخطة غير معروف، أو الوحدة متوقفة على هذا الموقع.429Too Many Requestsطلبات كثيرة جدًا؛ انتظر ثم أعد المحاولة.روابط الشركاء
يسجّل الشركاء في /ar/partners. أضف &ref=YOUR_CODE (أو ادمج: ¤cy=USD&ref=YOUR_CODE) إلى روابط الشراء. للاستفسار: [email protected].