๐Ÿ“˜ REST API ยท v1

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.

๐ŸŒ Base URL: https://ckapi.orionlike.com/api ๐Ÿ“ก Method: GET ๐Ÿ“ฆ Format: JSON
Step 1

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.

YOUR_API_KEY

Don't have an account yet? Log in or contact the Admin to get one.

Step 2

Endpoint

Send a GET request to this single endpoint for every category โ€” the type parameter tells the server which one.

GET https://ckapi.orionlike.com/api
Step 3

Query Parameters

ParameterRequiredDescription
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.
Step 4

Available Categories

No categories have been published yet.
Step 5

Code Examples

Sample requests in a few languages โ€” swap YOUR_API_KEY for your real API key once you have one.

๐Ÿ request.py
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"])
๐Ÿ˜ request.php
<?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"]);
โšก request.js
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);
  });
๐Ÿ’ป terminal
curl -G "https://ckapi.orionlike.com/api" \
  -d "key=YOUR_API_KEY" \
  -d "server_name=IND" \
  -d "uid=123456789" \
  -d "type=like"
Step 6

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.

{ "data": { "LikesGivenByAPI": 200, "LikesafterCommand": 9804, "LikesbeforeCommand": 9604, "PlayerNickname": "Tanvir", "UID": 13365059959, "status": 1 }, "limit_info": { "allocated": 1000, "used": 12, "remaining": 988 } }

If the reseller account has a daily limit enabled, three extra fields are included inside limit_info as well:

{ "daily_max": 200, "daily_used": 35, "daily_remaining": 165 }

If the reseller account is set to unlimited, allocated and remaining are returned as the string "unlimited" instead of a number.

Step 7

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 CodeMessageMeaning
400API key is missing.The key parameter wasn't sent at all.
400server_name and uid are required.One or both of these parameters is missing from the request.
401Invalid API key.The key parameter doesn't match any account.
403Your account has been blocked.Contact the Admin โ€” your access is currently suspended.
403Your account has expired.Your account's time limit has passed.
403Your limit has been exhausted.You've used your full allocated limit.
403Your daily limit has been reached. It resets at 4:00 AM.Daily cap reached โ€” try again after the next reset cycle.
403Your account is not permitted to use any category yet.No categories have been assigned to your account โ€” contact the Admin.
400The "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.
404Invalid category.The type value doesn't match any existing category.
403You do not have permission to use this category.The type value isn't in your allowed categories.
403Your remaining limit is not enough for this category.What's left of your limit is smaller than this category's per-request deduction.
403Your remaining daily limit is not enough for this category.Same as above, but for today's daily limit specifically.
500Upstream API URL is misconfigured.A server-side setup issue on our end โ€” the Admin has been notified.
502Failed to reach upstream API.The upstream provider didn't respond โ€” usually temporary, try again shortly.
502Invalid response from upstream API.The upstream provider sent back something unexpected โ€” try again shortly.
503No active API available in this category right now.Every API in this category is temporarily disabled or out of room โ€” try again shortly.
503This 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.

๐Ÿ’ฌ Need an account or have questions? Reach out using the contact details on the Home page.