API Reseller Panel Developer Docs
Everything you need to integrate our API into your own application โ authentication, endpoints, request parameters, and ready-to-run code samples in your favorite language.
Authentication
Every request is authenticated with your personal API Key via the key query parameter. You'll get your own key once an Admin creates a reseller account for you โ log in to your dashboard to see it.
Don't have an account yet? Log in or contact the Admin to get one.
Endpoint
Send a GET request to this single endpoint for every category โ the type parameter tells the server which one.
Query Parameters
| Parameter | Required | Description |
|---|---|---|
key |
Required | Your personal API Key. |
type |
Conditional | The category username to use โ see the Categories section below. Required only if your account is permitted to use more than one category; if you only have access to one, it's detected automatically and type can be left out. |
server_name |
Required | The server/region value required by the upstream API. |
uid |
Required | The target player/account UID. |
Available Categories
Code Examples
Sample requests in a few languages โ swap YOUR_API_KEY for your real API key once you have one.
import requests
url = "https://ckapi.orionlike.com/api"
params = {
"key": "YOUR_API_KEY",
"server_name": "IND",
"uid": "123456789",
"type": "like"
}
response = requests.get(url, params=params)
result = response.json()
print(result["data"])
print(result["limit_info"])
<?php
$url = "https://ckapi.orionlike.com/api?" . http_build_query([
"key" => "YOUR_API_KEY",
"server_name" => "IND",
"uid" => "123456789",
"type" => "like",
]);
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
$result = json_decode($response, true);
print_r($result["data"]);
print_r($result["limit_info"]);
const params = new URLSearchParams({
key: "YOUR_API_KEY",
server_name: "IND",
uid: "123456789",
type: "like"
});
fetch(`https://ckapi.orionlike.com/api?${params}`)
.then(res => res.json())
.then(result => {
console.log(result.data);
console.log(result.limit_info);
});
curl -G "https://ckapi.orionlike.com/api" \ -d "key=YOUR_API_KEY" \ -d "server_name=IND" \ -d "uid=123456789" \ -d "type=like"
Response Format
Every response is wrapped in the same structure โ the upstream API's raw output stays inside data, and your current usage is always included in limit_info. A successful request always returns HTTP 200.
If the reseller account has a daily limit enabled, three extra fields are included inside limit_info as well:
If the reseller account is set to unlimited, allocated and remaining are returned as the string "unlimited" instead of a number.
Error Reference
When something goes wrong, the response always has status: 0 in the JSON body, a message explaining why, and a matching HTTP status code on the response itself.
| HTTP Code | Message | Meaning |
|---|---|---|
| 400 | API key is missing. | The key parameter wasn't sent at all. |
| 400 | server_name and uid are required. | One or both of these parameters is missing from the request. |
| 401 | Invalid API key. | The key parameter doesn't match any account. |
| 403 | Your account has been blocked. | Contact the Admin โ your access is currently suspended. |
| 403 | Your account has expired. | Your account's time limit has passed. |
| 403 | Your limit has been exhausted. | You've used your full allocated limit. |
| 403 | Your daily limit has been reached. It resets at 4:00 AM. | Daily cap reached โ try again after the next reset cycle. |
| 403 | Your account is not permitted to use any category yet. | No categories have been assigned to your account โ contact the Admin. |
| 400 | The "type" parameter is required because your account is permitted to use more than one category. | You have access to 2+ categories, so type must be included to say which one. |
| 404 | Invalid category. | The type value doesn't match any existing category. |
| 403 | You do not have permission to use this category. | The type value isn't in your allowed categories. |
| 403 | Your remaining limit is not enough for this category. | What's left of your limit is smaller than this category's per-request deduction. |
| 403 | Your remaining daily limit is not enough for this category. | Same as above, but for today's daily limit specifically. |
| 500 | Upstream API URL is misconfigured. | A server-side setup issue on our end โ the Admin has been notified. |
| 502 | Failed to reach upstream API. | The upstream provider didn't respond โ usually temporary, try again shortly. |
| 502 | Invalid response from upstream API. | The upstream provider sent back something unexpected โ try again shortly. |
| 503 | No active API available in this category right now. | Every API in this category is temporarily disabled or out of room โ try again shortly. |
| 503 | This API has reached its usage limit. | The upstream API itself is temporarily unavailable โ try again later. |
A successful request always returns status: 1 with HTTP 200.