
OneBot API
The OneBot API provides endpoints for device registration, certificate management, and account balance tracking. This RESTful API uses standard HTTP methods and returns JSON responses.
https://api.bot1.orgapplication/jsonAuthentication
Secure your API requests with our simple authentication system
How to Get Your API Key:
1.Go to Telegram and find @one_ibot
2.Open the bot and go to Settings
3.Tap on the "API" button
4.The bot will generate your unique API key
The OneBot API uses API key authentication. Include your API key in the request headers.
Header Format:
Authorization: YOUR_API_KEYcurl --location 'https://api.bot1.org/balance' \ --header 'Authorization: YOUR_API_KEY'
API Endpoints
Explore our simple and powerful API endpoints for device management and certificate handling
/balanceRetrieve your current account balance
No parameters required for this endpoint.
/create_keyCreate one or more one-time keys for device registration with a specific plan
no_of_keysNumber of keys to create (e.g., 1)
plan_idPlan ID for the keys (e.g., super0)
Available plans:
super0⚡ Super Plan | 0-Day Warrantysuper40⚡ Super Plan | 30-Day Warrantysuper90⚡ Super Plan | 90-Day Warrantysuper180⚡ Super Plan | 180-Day Warrantysuper300⚡ Super Plan | 300-Day Warrantysuper_ipad⚡ Super Plan for iPad | 300-Day Warrantydeveloper_plan👨💻 Developer Plan | 0-Day Dev(JIT)Distrodeveloper_plan2👨💻 Developer Plan | 30-Day Dev(JIT)Distrodeveloper_planPPQ1👨💻 NO PPQ | 0-Day Dev(JIT)Distrodeveloper_planPPQ2👨💻 NO PPQ | 40-Day Dev(JIT)Distroplan_superPPQ1⚡ NO PPQ | 0-Day Warrantyplan_superPPQ2⚡ NO PPQ | 40-Day Warranty| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| no_of_keys | number | form-data | Required | Number of keys to create (e.g., 1) |
| plan_id | string | form-data | Required | Plan ID for the keys (e.g., super0) Available plans: super0: ⚡ Super Plan | 0-Day Warrantysuper40: ⚡ Super Plan | 30-Day Warrantysuper90: ⚡ Super Plan | 90-Day Warrantysuper180: ⚡ Super Plan | 180-Day Warrantysuper300: ⚡ Super Plan | 300-Day Warrantysuper_ipad: ⚡ Super Plan for iPad | 300-Day Warrantydeveloper_plan: 👨💻 Developer Plan | 0-Day Dev(JIT)Distrodeveloper_plan2: 👨💻 Developer Plan | 30-Day Dev(JIT)Distrodeveloper_planPPQ1: 👨💻 NO PPQ | 0-Day Dev(JIT)Distrodeveloper_planPPQ2: 👨💻 NO PPQ | 40-Day Dev(JIT)Distroplan_superPPQ1: ⚡ NO PPQ | 0-Day Warrantyplan_superPPQ2: ⚡ NO PPQ | 40-Day Warranty |
/registerRegister a device UDID using either your API key or a one-time key created via /create_key endpoint
udidDevice UDID to register
register_planRegistration plan (required only when using API key authorization)
Available plans:
super0⚡ Super Plan | 0-Day Warrantysuper40⚡ Super Plan | 30-Day Warrantysuper90⚡ Super Plan | 90-Day Warrantysuper180⚡ Super Plan | 180-Day Warrantysuper300⚡ Super Plan | 300-Day Warrantysuper_ipad⚡ Super Plan for iPad | 300-Day Warrantydeveloper_plan👨💻 Developer Plan | 0-Day Dev(JIT)Distrodeveloper_plan2👨💻 Developer Plan | 30-Day Dev(JIT)Distrodeveloper_planPPQ1👨💻 NO PPQ | 0-Day Dev(JIT)Distrodeveloper_planPPQ2👨💻 NO PPQ | 40-Day Dev(JIT)Distroplan_superPPQ1⚡ NO PPQ | 0-Day Warrantyplan_superPPQ2⚡ NO PPQ | 40-Day Warranty| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| udid | string | form-data | Required | Device UDID to register |
| register_plan | string | form-data | Optional | Registration plan (required only when using API key authorization) Available plans: super0: ⚡ Super Plan | 0-Day Warrantysuper40: ⚡ Super Plan | 30-Day Warrantysuper90: ⚡ Super Plan | 90-Day Warrantysuper180: ⚡ Super Plan | 180-Day Warrantysuper300: ⚡ Super Plan | 300-Day Warrantysuper_ipad: ⚡ Super Plan for iPad | 300-Day Warrantydeveloper_plan: 👨💻 Developer Plan | 0-Day Dev(JIT)Distrodeveloper_plan2: 👨💻 Developer Plan | 30-Day Dev(JIT)Distrodeveloper_planPPQ1: 👨💻 NO PPQ | 0-Day Dev(JIT)Distrodeveloper_planPPQ2: 👨💻 NO PPQ | 40-Day Dev(JIT)Distroplan_superPPQ1: ⚡ NO PPQ | 0-Day Warrantyplan_superPPQ2: ⚡ NO PPQ | 40-Day Warranty |
/certificateRetrieve certificates by UDID, certificate ID, or both
udidDevice UDID
certificate_idCertificate ID
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| udid | string | query | Optional | Device UDID |
| certificate_id | string | query | Optional | Certificate ID |