API DOCUMENTATION · এপিআই ডকুমেন্টেশন

EMON AXC Like API Reference

ইমন এএক্সসি লাইক এপিআই রেফারেন্স

Everything you need to send likes, build multi-day schedules, track delivery and read your usage. Every private endpoint uses your API key; no credential is ever shown to other visitors.

লাইক পাঠানো, একাধিক দিনের শিডিউল তৈরি, ডেলিভারি ট্র্যাক করা এবং ব্যবহারের হিসাব দেখা — সবকিছু এখানে। প্রতিটি প্রাইভেট এন্ডপয়েন্টে আপনার API key লাগে; অন্য কারও কাছে কোনো ক্রেডেনশিয়াল দেখানো হয় না।

At a glance

এক নজরে

Base URL

https://api.freefirelike.com

সব এন্ডপয়েন্ট HTTPS-এ GET (রিসেন্ড শুধু POST)।

Authentication

?key=YOUR_KEY on every private call. Admin routes also accept a session cookie or Bearer token.

প্রাইভেট রিকোয়েস্টে `?key=YOUR_KEY` দিন। অ্যাডমিন রুটে সেশন কুকি বা Bearer টোকেনও চলে।

Time zone

Asia/Dhaka (GMT+6)

তারিখ, দৈনিক রিসেট ও শিডিউল — সবই ঢাকার সময় অনুযায়ী।

Rate limits

120 req/min per IP · 60 req/min per key on /like · 30 lookups/min on /scheduletrack.

`/like`-এ প্রতি IP ১২০/মিনিট, প্রতি key ৬০/মিনিট; `/scheduletrack`-এ প্রতি IP ৩০ লুকআপ/মিনিট।

Quick start

দ্রুত শুরু করুন

01

Get your API key from the administrator.

অ্যাডমিনের কাছ থেকে আপনার API key নিন।

02

Send one request to confirm delivery.

ডেলিভারি নিশ্চিত করতে একবার রিকোয়েস্ট পাঠান।

/like?key=YOUR_KEY&uid=123456
03

Create a multi-day schedule.

একাধিক দিনের শিডিউল তৈরি করুন।

/like?key=YOUR_KEY&uid=123456&day=7&like=100
04

Track it with the schedule id or your key.

শিডিউল আইডি বা আপনার key দিয়ে ট্র্যাক করুন।

/scheduletrack?schedule_id=A1BCDEF234

Delivery & scheduling

ডেলিভারি ও শিডিউল

Create a single like request or a multi-day schedule. Every request is authenticated with your API key.

একটি সাধারণ লাইক রিকোয়েস্ট অথবা একাধিক দিনের শিডিউল তৈরি করুন। প্রতিটি রিকোয়েস্টে আপনার API key দিতে হবে।

GET/like

Send likes (single request or schedule)

লাইক পাঠান (একবার অথবা শিডিউল)

Without `day` it performs one immediate request. With `day=N` (1–365) it sends day 1 right away and charges N days upfront: on success N-1 days stay queued from tomorrow; on failure nothing is consumed, so all N days stay queued (a failed day=1 therefore leaves one free retry day). If the UID already has an active schedule, the response reports it — schedule id, next run date and total likes sent — and nothing is charged. Pass `extend=true` to add days to the active schedule; only the added days are charged. Sending the same `request_id` twice replays the first response instead of sending or charging twice.

`day` না দিলে একবারই লাইক পাঠানো হয়। `day=N` দিলে আজই প্রথম দিনের লাইক যায় এবং N দিনের চার্জ নেওয়া হয়: সফল হলে আগামীকাল থেকে N-1 দিন শিডিউলে থাকে, ব্যর্থ হলে কোনো দিন খরচ হয় না — তাই N দিনই শিডিউলে থাকে (মানে day=1 ব্যর্থ হলে ১ দিনের ফ্রি রিট্রাই থাকে)। এই UID-এর আগেই শিডিউল চালু থাকলে নতুন শিডিউল তৈরি হয় না, বরং শিডিউল আইডি ও এখন পর্যন্ত মোট পাঠানো লাইকসহ বিস্তারিত দেখানো হয় এবং কোনো চার্জ হয় না। `extend=true` দিলে চালু শিডিউলে দিন যোগ হয় এবং শুধু যোগ করা দিনের চার্জ হয়। একই `request_id` আবার পাঠালে ডুপ্লিকেট চার্জ ছাড়াই আগের রেসপন্স ফেরত আসে।

Parameters · প্যারামিটার

ParameterTypeRequiredNotes / বিস্তারিত
keystringYesYour API key (max 64 characters).আপনার API key (সর্বোচ্চ ৬৪ অক্ষর)।
uidstringYesThe target player UID (max 64 characters).যে প্লেয়ারের UID-তে লাইক যাবে (সর্বোচ্চ ৬৪ অক্ষর)।
dayintegerNoNumber of schedule days, 1–365. Omit it for a single request.শিডিউলের দিন সংখ্যা, ১–৩৬৫। একবার পাঠাতে চাইলে বাদ দিন।
likeintegerNoLike package number, which also sets how many likes are requested upstream. Defaults to 100; an unknown package returns `Pack not exist`.লাইক প্যাকেজ নম্বর, যা আপস্ট্রিমে কত লাইক চাওয়া হবে তাও নির্ধারণ করে। ডিফল্ট ১০০; অজানা প্যাকেজে `Pack not exist` দেখায়।
extendbooleanNoOnly with `day`. When the UID already has an active schedule, `extend=true` (also `1`, `yes`, `on`) adds the days and charges them. Otherwise the active schedule is reported for free.শুধু `day`-এর সাথে। UID-এর চালু শিডিউল থাকলে `extend=true` (`1`, `yes`, `on`-ও চলবে) দিলে দিন যোগ হয় ও চার্জ হয়; না দিলে শুধু চালু শিডিউলের তথ্য দেখায়, চার্জ হয় না।
request_idstringNoOptional idempotency id (max 191 characters). Reusing it returns the original response without a second send or charge.ঐচ্ছিক আইডেম্পোটেন্সি আইডি (সর্বোচ্চ ১৯১ অক্ষর)। একই আইডি আবার পাঠালে দ্বিতীয়বার পাঠানো বা চার্জ না করে আগের রেসপন্স দেয়।

Example · উদাহরণ

https://api.freefirelike.com/like?key=YOUR_KEY&uid=123456&day=3&like=100

Example responses · রেসপন্সের উদাহরণ

Schedule created (day=3) — with usage block

শিডিউল তৈরি (day=3) — ব্যবহারের তথ্যসহ

{
  "LikesGivenByAPI": 100,
  "LikesafterCommand": 2400,
  "LikesbeforeCommand": 2300,
  "PlayerNickname": "DEMO_PLAYER",
  "personal_data": {
    "AccountCreated": "01 Jan 2020, 10:00 AM",
    "BRPoints": 0,
    "BRRank": "Unranked",
    "BadgeCount": 0,
    "CSPoints": 0,
    "CSRank": "Gold III – 2★",
    "LastLogin": "15 Jun 2025, 08:30 PM",
    "PlayerLevel": 42,
    "PlayerRegion": "",
    "UID": 100000000
  },
  "request_summary": {
    "client_errors": 0,
    "exceptions": 0,
    "server_errors": 0,
    "successful": 100,
    "timeouts": 0,
    "total_requests": 100
  },
  "status": 1,
  "backup_used": false,
  "sent": 100,
  "used_backup": false,
  "server_source": "main",
  "resend_attempted": false,
  "charge_applied": true,
  "charge_condition_met": true,
  "charge_for_success": false,
  "min_likes_required": 40,
  "min_sent_required": 0,
  "package_number": 100,
  "requested_count": 100,
  "charged_days": 3,
  "charged_amount": 3,
  "log_id": 1234,
  "schedule": {
    "schedule_id": "H3L157BB41",
    "total_days": 3,
    "completed_days": 1,
    "remaining_days": 2,
    "today_likes_sent": 100,
    "today_sent_count": 100,
    "today_status": "completed",
    "next_run_date": "2026-11-22",
    "schedule_time": "05:20"
  },
  "key_username": "demo_shop",
  "daily_limit": 400,
  "daily_usage": 169,
  "daily_remaining": 231,
  "monthly_limit": 20000,
  "monthly_usage": 4598,
  "monthly_remaining": 15402,
  "total_usage": 5339,
  "usage_after_reset": 5339,
  "charged_this_request": 3
}

Single request (no day) — no schedule block

একক রিকোয়েস্ট (day ছাড়া) — schedule ব্লক নেই

{
  "LikesGivenByAPI": 100,
  "LikesafterCommand": 2400,
  "LikesbeforeCommand": 2300,
  "PlayerNickname": "DEMO_PLAYER",
  "personal_data": {
    "AccountCreated": "01 Jan 2020, 10:00 AM",
    "BRPoints": 0,
    "BRRank": "Unranked",
    "BadgeCount": 0,
    "CSPoints": 0,
    "CSRank": "Gold III – 2★",
    "LastLogin": "15 Jun 2025, 08:30 PM",
    "PlayerLevel": 42,
    "PlayerRegion": "",
    "UID": 100000000
  },
  "request_summary": {
    "client_errors": 0,
    "exceptions": 0,
    "server_errors": 0,
    "successful": 100,
    "timeouts": 0,
    "total_requests": 100
  },
  "status": 1,
  "backup_used": false,
  "sent": 100,
  "used_backup": false,
  "server_source": "main",
  "resend_attempted": false,
  "charge_applied": true,
  "charge_condition_met": true,
  "charge_for_success": false,
  "min_likes_required": 40,
  "min_sent_required": 0,
  "package_number": 100,
  "requested_count": 100,
  "log_id": 1235
}

Schedule already active (no charge)

শিডিউল আগেই চালু (চার্জ হয়নি)

{
  "status": 1,
  "message": "Schedule already active",
  "schedule_already_active": true,
  "LikesGivenByAPI": 0,
  "sent": 0,
  "used_backup": false,
  "charge_applied": false,
  "charge_condition_met": false,
  "package_number": 100,
  "requested_count": 100,
  "schedule": {
    "schedule_id": "H3L157BB41",
    "total_days": 3,
    "completed_days": 1,
    "remaining_days": 2,
    "total_likes_sent": 100,
    "total_sent_count": 100,
    "next_run_date": "2026-11-22",
    "schedule_time": "05:20",
    "status": "active",
    "created_at": "2026-11-21T05:20:00.000Z"
  },
  "extend_hint": "This UID already has an active schedule. Add days with day=N&extend=true (the added days are charged)."
}

Schedule extended (extend=true)

শিডিউল বাড়ানো (extend=true)

{
  "status": 1,
  "message": "Schedule extended",
  "LikesGivenByAPI": 0,
  "sent": 0,
  "used_backup": false,
  "charge_applied": true,
  "charge_condition_met": true,
  "package_number": 100,
  "requested_count": 100,
  "charged_days": 2,
  "charged_amount": 2,
  "schedule": {
    "schedule_id": "H3L157BB41",
    "total_days": 5,
    "completed_days": 1,
    "remaining_days": 4,
    "added_days": 2,
    "next_run_date": "2026-11-24",
    "schedule_time": "05:20"
  }
}

Failure (bad key, limit reached, unknown package…)

ব্যর্থতা (ভুল key, লিমিট শেষ, অজানা প্যাকেজ…)

{
  "status": 2,
  "message": "Invalid Key",
  "LikesGivenByAPI": 0,
  "sent": 0,
  "used_backup": false
}
  • Active schedule, no `extend`: the call returns `message: "Schedule already active"`, `schedule_already_active: true`, the schedule id, remaining days and `total_likes_sent` / `total_sent_count`, with `charge_applied: false`.চালু শিডিউল থাকলে এবং `extend` না দিলে রেসপন্সে `message: "Schedule already active"`, `schedule_already_active: true`, শিডিউল আইডি, বাকি দিন এবং `total_likes_sent` / `total_sent_count` আসে, আর `charge_applied: false` থাকে।
  • When the key has `show_usage_in_response` enabled, the response also includes `key_username`, daily/monthly limit and usage, `daily_remaining`, `monthly_remaining`, `total_usage`, `usage_after_reset` and `charged_this_request`.key-তে `show_usage_in_response` চালু থাকলে রেসপন্সে `key_username`, দৈনিক/মাসিক লিমিট ও ব্যবহার, `daily_remaining`, `monthly_remaining`, `total_usage`, `usage_after_reset` এবং `charged_this_request`-ও আসে।

Tracking & monitoring

ট্র্যাকিং ও মনিটরিং

Inspect schedules, usage counters and request history. These endpoints never reveal your key to other visitors.

শিডিউল, ব্যবহারের হিসাব ও রিকোয়েস্ট হিস্ট্রি দেখুন। এই এন্ডপয়েন্টগুলো অন্য কারও কাছে আপনার key প্রকাশ করে না।

GET/track

List every schedule for a UID

একটি UID-এর সব শিডিউল দেখুন

Returns every schedule created by `key` for `uid`, newest first, with each day (date, status, likes sent) and per-schedule totals: `total_likes_sent`, `total_sent_count`, `pending_days`, `completed_days` and `remaining_days`. Opening the URL in a browser redirects to the HTML page at `/track/view`.

`key` দিয়ে `uid`-এর জন্য তৈরি সব শিডিউল নতুন থেকে পুরোনো ক্রমে দেয় — প্রতিটি দিনের তারিখ, স্ট্যাটাস, পাঠানো লাইক এবং প্রতি শিডিউলের মোট হিসাব (`total_likes_sent`, `total_sent_count`, `pending_days`, `completed_days`, `remaining_days`) সহ। ব্রাউজারে খুললে `/track/view` পেজে রিডাইরেক্ট হয়।

Parameters · প্যারামিটার

ParameterTypeRequiredNotes / বিস্তারিত
keystringYesYour API key.আপনার API key।
uidstringYesThe player UID whose schedules you want to see.যে প্লেয়ারের শিডিউল দেখতে চান তার UID।

Example · উদাহরণ

https://api.freefirelike.com/track?key=YOUR_KEY&uid=123456

Example responses · রেসপন্সের উদাহরণ

Every schedule for one UID

একটি UID-এর সব শিডিউল

{
  "status": "success",
  "key": "DEMO_KEY",
  "uid": "100000000",
  "username": "demo_shop",
  "schedules": [
    {
      "schedule_id": "H3L157BB41",
      "db_id": 42,
      "total_days": 3,
      "completed_days": 1,
      "remaining_days": 2,
      "pending_days": 2,
      "total_likes_sent": 100,
      "total_sent_count": 100,
      "status": "active",
      "created_at": "2026-11-21T05:20:00.000Z",
      "created_at_formatted": "21 Nov 2026, 11:20 AM",
      "days": [
        {
          "day": 1,
          "scheduled_date": "2026-11-21",
          "scheduled_date_formatted": "21 Nov 2026, 05:20 AM",
          "executed_at": "2026-11-21T05:20:11.000Z",
          "executed_at_formatted": "21 Nov 2026, 11:20 AM",
          "likes_sent": 100,
          "sent_count": 100,
          "status": "completed"
        },
        {
          "day": 2,
          "scheduled_date": "2026-11-22",
          "scheduled_date_formatted": "22 Nov 2026, 05:20 AM",
          "executed_at": null,
          "executed_at_formatted": null,
          "likes_sent": 0,
          "sent_count": 0,
          "status": "pending"
        },
        {
          "day": 3,
          "scheduled_date": "2026-11-23",
          "scheduled_date_formatted": "23 Nov 2026, 05:20 AM",
          "executed_at": null,
          "executed_at_formatted": null,
          "likes_sent": 0,
          "sent_count": 0,
          "status": "pending"
        }
      ]
    }
  ]
}

Unknown key

অজানা key

{
  "status": "error",
  "message": "Invalid Key"
}
GET/scheduletrack

Public schedule lookup page

পাবলিক শিডিউল দেখার পেজ

An HTML page that needs only the schedule id — no API key. It shows total days, completed days, pending days, total likes sent, total sent count, the daily run time and every scheduled day with its result. Key, UID and username are never displayed. Lookups are rate limited per IP.

শুধু শিডিউল আইডি দিলেই কাজ করে এমন HTML পেজ — কোনো API key লাগে না। এখানে মোট দিন, সম্পন্ন দিন, বাকি দিন, মোট পাঠানো লাইক, মোট sent count, দৈনিক রান টাইম এবং প্রতিদিনের ফলাফল দেখা যায়। Key, UID বা ইউজারনেম কখনো দেখানো হয় না। প্রতি IP-তে লুকআপের সীমা আছে।

Parameters · প্যারামিটার

ParameterTypeRequiredNotes / বিস্তারিত
schedule_idstringYesThe `schedule.schedule_id` value returned when the schedule was created.শিডিউল তৈরির সময় পাওয়া `schedule.schedule_id`।

Example · উদাহরণ

https://api.freefirelike.com/scheduletrack?schedule_id=A1BCDEF234
GET/details

Full key details

key-এর সম্পূর্ণ তথ্য

JSON snapshot of one key: validity, expiry status and days remaining, daily and monthly limits with usage, remaining and percentage values, post-reset usage against its maximum, total usage, reset dates, current Dhaka server time and the raw values.

একটি key-এর JSON তথ্য: বৈধতা, মেয়াদ ও বাকি দিন, দৈনিক/মাসিক লিমিট, ব্যবহার, বাকি ও শতাংশ, রিসেটের পরে ব্যবহার ও তার সর্বোচ্চ সীমা, মোট ব্যবহার, রিসেট তারিখ, ঢাকার বর্তমান সময় এবং কাঁচা মান।

Parameters · প্যারামিটার

ParameterTypeRequiredNotes / বিস্তারিত
keystringYesYour API key.আপনার API key।

Example · উদাহরণ

https://api.freefirelike.com/details?key=YOUR_KEY

Example responses · রেসপন্সের উদাহরণ

Full key details

key-এর সম্পূর্ণ তথ্য

{
  "status": "success",
  "valid": true,
  "key": "DEMO_KEY",
  "username": "demo_shop",
  "is_active": true,
  "created_at": "05 Jan 2026, 10:00 AM",
  "expiry_date": "31 Dec 2026, 11:59 PM",
  "expiry_status": "Expires in 40 days",
  "is_expired": false,
  "daily_limit": 400,
  "daily_usage": 169,
  "daily_remaining": 231,
  "daily_percentage": 42.25,
  "monthly_limit": 20000,
  "monthly_usage": 4598,
  "monthly_remaining": 15402,
  "monthly_percentage": 22.99,
  "total_usage": 5339,
  "usage_after_reset": 5339,
  "max_usage_after_reset": 6000,
  "last_usage_reset_date": "21 Nov 2026, 12:00 AM",
  "fix_count": 0,
  "show_usage_in_response": true,
  "last_reset_date": "21 Nov 2026, 6:00 AM",
  "usage_stats": {
    "today": 169,
    "this_month": 4598,
    "all_time": 5339,
    "after_reset": 5339
  },
  "current_server_time": "21 Nov 2026, 11:21 AM",
  "timezone": "Asia/Dhaka (GMT+6)",
  "limits": {
    "daily": "169/400",
    "monthly": "4598/20000",
    "remaining": {
      "daily": 231,
      "monthly": 15402
    }
  },
  "raw": {
    "daily_limit": 400,
    "daily_usage": 169,
    "monthly_limit": 20000,
    "monthly_usage": 4598,
    "total_usage": 5339,
    "usage_after_reset": 5339,
    "max_usage_after_reset": 6000,
    "fix_count": 0,
    "is_active": true,
    "expiry_date": "2026-12-31T17:59:00.000Z",
    "created_at": "2026-01-05T04:00:00.000Z",
    "last_reset_date": "2026-11-21",
    "last_usage_reset_date": "2026-11-20T18:00:00.000Z"
  }
}

Unknown key (HTTP 404)

অজানা key (HTTP 404)

{
  "status": "error",
  "message": "Invalid Key",
  "valid": false
}
GET/states

Usage and request history page

ব্যবহার ও রিকোয়েস্ট হিস্ট্রি পেজ

HTML page for one key: usage summary plus a filterable, paginated list of its last requests. Filters combine freely.

একটি key-এর HTML পেজ: ব্যবহারের সারসংক্ষেপ এবং সর্বশেষ রিকোয়েস্টের ফিল্টার ও পেজিনেশনসহ তালিকা। ফিল্টারগুলো একসাথে ব্যবহার করা যায়।

Parameters · প্যারামিটার

ParameterTypeRequiredNotes / বিস্তারিত
keystringYesYour API key.আপনার API key।
pageintegerNoPage number, default 1.পেজ নম্বর, ডিফল্ট ১।
uid_searchstringNoFilter by UID (partial match).UID দিয়ে ফিল্টার (আংশিক মিল)।
datestringNoExact date filter, `YYYY-MM-DD` (Dhaka).নির্দিষ্ট তারিখ, `YYYY-MM-DD` (ঢাকা সময়)।
monthstringNoMonth filter, `YYYY-MM` (Dhaka).মাস ফিল্টার, `YYYY-MM` (ঢাকা সময়)।
statusstringNo`success` or `failed`.`success` অথবা `failed`।
likes_rangestringNo`0`, `1-70`, `71-139`, `140-200` or `200+`.`0`, `1-70`, `71-139`, `140-200` অথবা `200+`।

Example · উদাহরণ

https://api.freefirelike.com/states?key=YOUR_KEY&status=success&likes_range=71-139
GET/statesraw

Key state plus last 50 orders (JSON)

key-এর অবস্থা ও সর্বশেষ ৫০ অর্ডার (JSON)

Machine-readable version of `/states`: the key state object plus the last 50 request logs with request id, UID, response, likes, sent count, backup flag, resend fields and timestamp.

`/states`-এর মেশিন-রিডেবল রূপ: key-এর অবস্থা এবং সর্বশেষ ৫০টি লগ — request id, UID, রেসপন্স, লাইক, sent count, ব্যাকআপ ব্যবহার, রিসেন্ড তথ্য ও সময়সহ।

Parameters · প্যারামিটার

ParameterTypeRequiredNotes / বিস্তারিত
keystringYesYour API key.আপনার API key।

Example · উদাহরণ

https://api.freefirelike.com/statesraw?key=YOUR_KEY

Example responses · রেসপন্সের উদাহরণ

Key state + last 50 orders (2 shown)

key-এর অবস্থা + সর্বশেষ ৫০ অর্ডার (২টি দেখানো)

{
  "states": {
    "key": "DEMO_KEY",
    "username": "demo_shop",
    "is_active": true,
    "daily_limit": 400,
    "daily_usage": 169,
    "monthly_limit": 20000,
    "monthly_usage": 4598,
    "total_usage": 5339,
    "usage_after_reset": 5339,
    "max_usage_after_reset": 6000,
    "expiry_date": "2026-12-31T17:59:00.000Z",
    "created_at": "2026-01-05T04:00:00.000Z",
    "last_reset_date": "2026-11-21",
    "last_usage_reset_date": "2026-11-20T18:00:00.000Z"
  },
  "orders": [
    {
      "request_id": "req_demo_0001",
      "key": "DEMO_KEY",
      "uid": "100000000",
      "username": "demo_shop",
      "response": "{\"status\":1,\"LikesGivenByAPI\":100,\"sent\":100}",
      "response_status": 200,
      "likes_given": 100,
      "sent_count": 100,
      "used_backup": false,
      "success": true,
      "is_resend": false,
      "resend_of_log_id": null,
      "resend_count": 0,
      "last_resend_at": null,
      "last_resend_status": null,
      "timestamp": "2026-11-21T10:40:00.000Z"
    },
    {
      "request_id": "req_demo_0002",
      "key": "DEMO_KEY",
      "uid": "100000001",
      "username": "demo_shop",
      "response": "{\"status\":2,\"message\":\"Timeout\",\"LikesGivenByAPI\":0,\"sent\":0,\"used_backup\":false}",
      "response_status": 200,
      "likes_given": 0,
      "sent_count": 0,
      "used_backup": false,
      "success": false,
      "is_resend": true,
      "resend_of_log_id": 1235,
      "resend_count": 1,
      "last_resend_at": "2026-11-21T10:45:00.000Z",
      "last_resend_status": "failed",
      "timestamp": "2026-11-21T10:39:00.000Z"
    }
  ]
}

Unknown key (HTTP 404)

অজানা key (HTTP 404)

{
  "status": "error",
  "message": "Invalid Key"
}

Statistics

পরিসংখ্যান

Aggregated request and like numbers. Admin routes require an admin session cookie or an `Authorization: Bearer <admin_key>` header.

মোট রিকোয়েস্ট ও লাইকের হিসাব। অ্যাডমিন রুটে অ্যাডমিন সেশন কুকি অথবা `Authorization: Bearer <admin_key>` হেডার লাগে।

GET/api/stats/time_series

Request and like counts per day

প্রতিদিনের রিকোয়েস্ট ও লাইক সংখ্যা

Daily totals between two dates (Dhaka days). Admins may omit `key` to see every key; a non-admin caller must pass a valid `key` and only sees that key.

দুই তারিখের মধ্যে প্রতিদিনের মোট হিসাব (ঢাকা দিন)। অ্যাডমিন `key` না দিয়ে সব key-এর তথ্য দেখতে পারেন; সাধারণ ব্যবহারকারীকে বৈধ `key` দিতে হবে এবং শুধু নিজের তথ্য দেখবেন।

Parameters · প্যারামিটার

ParameterTypeRequiredNotes / বিস্তারিত
keystringNoValid API key for non-admin callers.সাধারণ ব্যবহারকারীর জন্য বৈধ API key।
fromstringNoStart date `YYYY-MM-DD`; defaults to the last 30 days.শুরুর তারিখ `YYYY-MM-DD`; ডিফল্ট শেষ ৩০ দিন।
tostringNoEnd date `YYYY-MM-DD`.শেষ তারিখ `YYYY-MM-DD`।

Example · উদাহরণ

https://api.freefirelike.com/api/stats/time_series?key=YOUR_KEY&from=2026-11-01&to=2026-11-30

Example responses · রেসপন্সের উদাহরণ

Daily points (every Dhaka day in range, zero-filled)

প্রতিদিনের পয়েন্ট (রেঞ্জের প্রতিটি ঢাকা দিন, শূন্যসহ)

[
  { "date": "2026-11-19", "request_count": 0, "likes_count": 0 },
  { "date": "2026-11-20", "request_count": 412, "likes_count": 38940 },
  { "date": "2026-11-21", "request_count": 388, "likes_count": 36520 }
]

Unauthorized — non-admin without a key (HTTP 401)

অননুমোদিত — key ছাড়া সাধারণ ব্যবহারকারী (HTTP 401)

{
  "detail": "Unauthorized"
}
GET/api/stats/daily

Daily statistics (admin)

দৈনিক পরিসংখ্যান (অ্যাডমিন)

Admin-only totals for one day, optionally limited to one package: request counts, success rate, likes, the key that made the most requests and the success percentage.

শুধু অ্যাডমিনের জন্য একদিনের মোট হিসাব, চাইলে একটি প্যাকেজে সীমাবদ্ধ: রিকোয়েস্ট সংখ্যা, সফলতার হার, লাইক, সবচেয়ে বেশি রিকোয়েস্ট করা key এবং সফলতার শতাংশ।

Parameters · প্যারামিটার

ParameterTypeRequiredNotes / বিস্তারিত
datestringNo`YYYY-MM-DD`; invalid values return HTTP 400.`YYYY-MM-DD`; ভুল হলে HTTP 400 আসে।
package_numberintegerNoLimit the report to one package.রিপোর্ট একটি প্যাকেজে সীমাবদ্ধ করুন।

Example · উদাহরণ

https://api.freefirelike.com/api/stats/daily?date=2026-11-21&package_number=100

Example responses · রেসপন্সের উদাহরণ

Daily totals

দৈনিক মোট হিসাব

{
  "date": "2026-11-21",
  "total_requests": 388,
  "successful_requests": 371,
  "failed_requests": 17,
  "total_likes": 36520,
  "highest_requested_key": {
    "key": "DEMO_KEY",
    "request_count": 74
  },
  "success_rate": 95.61855670103093
}

Invalid date (HTTP 400)

ভুল তারিখ (HTTP 400)

{
  "detail": "Invalid date, expected YYYY-MM-DD"
}
GET/api/stats/monthly

Monthly statistics (admin)

মাসিক পরিসংখ্যান (অ্যাডমিন)

Admin-only totals for a month (`?month=YYYY-MM`), optionally for one package.

শুধু অ্যাডমিনের জন্য এক মাসের মোট হিসাব (`?month=YYYY-MM`), চাইলে এক প্যাকেজের জন্য।

Parameters · প্যারামিটার

ParameterTypeRequiredNotes / বিস্তারিত
monthstringNo`YYYY-MM`; invalid values return HTTP 400.`YYYY-MM`; ভুল হলে HTTP 400 আসে।
package_numberintegerNoLimit the report to one package.রিপোর্ট একটি প্যাকেজে সীমাবদ্ধ করুন।

Example · উদাহরণ

https://api.freefirelike.com/api/stats/monthly?month=2026-11

Example responses · রেসপন্সের উদাহরণ

Monthly totals with the top 5 keys

শীর্ষ ৫টি key সহ মাসিক মোট হিসাব

{
  "month": "2026-11",
  "total_requests": 4598,
  "total_likes": 421300,
  "active_keys": 7,
  "average_daily_requests": 153.26666666666667,
  "top_keys": [
    {
      "key": "DEMO_KEY",
      "username": "demo_shop",
      "request_count": 412,
      "total_likes": 38940
    },
    {
      "key": "DEMO_KEY_2",
      "username": "demo_reseller",
      "request_count": 318,
      "total_likes": 29120
    }
  ]
}

Invalid month (HTTP 400)

ভুল মাস (HTTP 400)

{
  "detail": "Invalid month, expected YYYY-MM"
}
GET/api/stats/yearly

Yearly statistics (admin)

বার্ষিক পরিসংখ্যান (অ্যাডমিন)

Admin-only totals for a year (`?year=YYYY`), optionally for one package.

শুধু অ্যাডমিনের জন্য এক বছরের মোট হিসাব (`?year=YYYY`), চাইলে এক প্যাকেজের জন্য।

Parameters · প্যারামিটার

ParameterTypeRequiredNotes / বিস্তারিত
yearstringNo`YYYY`; invalid values return HTTP 400.`YYYY`; ভুল হলে HTTP 400 আসে।
package_numberintegerNoLimit the report to one package.রিপোর্ট একটি প্যাকেজে সীমাবদ্ধ করুন।

Example · উদাহরণ

https://api.freefirelike.com/api/stats/yearly?year=2026

Example responses · রেসপন্সের উদাহরণ

Yearly totals with monthly breakdown

মাসিক বিবরণসহ বার্ষিক মোট হিসাব

{
  "year": "2026",
  "total_requests": 48930,
  "total_keys": 24,
  "active_keys": 19,
  "monthly_breakdown": [
    {
      "month": "2026-01",
      "request_count": 3200,
      "total_likes": 304000,
      "average_daily_requests": 103.2258064516129
    },
    {
      "month": "2026-02",
      "request_count": 2980,
      "total_likes": 283100,
      "average_daily_requests": 106.42857142857143
    }
  ]
}

Invalid year (HTTP 400)

ভুল বছর (HTTP 400)

{
  "detail": "Invalid year, expected YYYY"
}

Operations

অপারেশন

Retry failed deliveries and monitor service health.

ব্যর্থ ডেলিভারি আবার পাঠান এবং সার্ভিসের স্বাস্থ্য পর্যবেক্ষণ করুন।

POST/api/logs/{log_id}/resend

Resend a failed order

ব্যর্থ অর্ডার আবার পাঠান

Retries one logged request. Admins may resend any log; other callers must pass `?key=` that owns the log. A resend is refused when the original order already delivered likes and reached its package threshold (`likes_given >= min_like_for_charge`). A zero-like order can always be resent. The resend tries the package's resend-backup URL first, then the normal path.

লগ করা একটি রিকোয়েস্ট আবার পাঠায়। অ্যাডমিন যেকোনো লগ রিসেন্ড করতে পারেন; সাধারণ ব্যবহারকারীকে লগের মালিকানাধীন `?key=` দিতে হবে। মূল অর্ডারে লাইক গিয়ে প্যাকেজের থ্রেশহোল্ডে পৌঁছে গেলে (`likes_given >= min_like_for_charge`) রিসেন্ড বন্ধ থাকে। শূন্য লাইকের অর্ডার সবসময় রিসেন্ড করা যায়। রিসেন্ড আগে প্যাকেজের রিসেন্ড-ব্যাকআপ URL চেষ্টা করে, পরে সাধারণ পথ।

Parameters · প্যারামিটার

ParameterTypeRequiredNotes / বিস্তারিত
log_idintegerYesPath parameter — the `log_id` from `/like` or `/statesraw`.পাথ প্যারামিটার — `/like` বা `/statesraw` থেকে পাওয়া `log_id`।
keystringNoOwner key (required unless the caller is an admin).মালিকের key (অ্যাডমিন না হলে আবশ্যক)।

Example · উদাহরণ

curl -X POST "https://api.freefirelike.com/api/logs/1234/resend?key=YOUR_KEY"

Example responses · রেসপন্সের উদাহরণ

Resend succeeded (delivered via backup)

রিসেন্ড সফল (ব্যাকআপ দিয়ে ডেলিভারি)

{
  "status": 1,
  "LikesGivenByAPI": 100,
  "sent": 100,
  "used_backup": true,
  "server_source": "resend_backup",
  "resend_attempted": true,
  "charge_applied": false,
  "charge_condition_met": true,
  "charge_for_success": false,
  "min_likes_required": 40,
  "min_sent_required": 0,
  "package_number": 100,
  "requested_count": 100,
  "log_id": 1236,
  "resend_of_log_id": 1235,
  "source_resend_count": 1,
  "source_last_resend_status": "success"
}

Resend refused — original already met threshold (HTTP 400)

রিসেন্ড বন্ধ — মূল অর্ডার থ্রেশহোল্ডে পৌঁছেছে (HTTP 400)

{
  "detail": "Resend is only allowed when likes_given is below 40"
}

Unauthorized / log not found (HTTP 401 / 404)

অননুমোদিত / লগ পাওয়া যায়নি (HTTP 401 / 404)

{
  "detail": "Unauthorized"
}
GET/api/health

Service health probe

সার্ভিস হেলথ চেক

Public readiness probe. Reports `ok` when the database answers and the scheduler is ticking; returns `degraded` with HTTP 503 otherwise. No credentials are required and no error detail is exposed.

পাবলিক রেডিনেস চেক। ডেটাবেস সাড়া দিলে এবং শিডিউলার চালু থাকলে `ok`; নাহলে HTTP 503 সহ `degraded`। কোনো ক্রেডেনশিয়াল লাগে না এবং বিস্তারিত এরর দেখানো হয় না।

Parameters · প্যারামিটার

No parameters. কোনো প্যারামিটার লাগে না।

Example · উদাহরণ

https://api.freefirelike.com/api/health

Example responses · রেসপন্সের উদাহরণ

Healthy (HTTP 200)

সুস্থ (HTTP 200)

{
  "status": "ok",
  "database": "ok",
  "scheduler": {
    "running": true,
    "last_tick_at": "2026-11-21T10:40:00.000Z"
  }
}

Degraded (HTTP 503)

অবনত (HTTP 503)

{
  "status": "degraded",
  "database": "unreachable",
  "scheduler": {
    "running": false,
    "last_tick_at": "2026-11-21T09:55:00.000Z"
  }
}

Schedule rules

শিডিউলের নিয়ম

How `day` and `extend` behave, in one table.

`day` ও `extend` কীভাবে কাজ করে, এক টেবিলে।

Request · রিকোয়েস্টResult · ফলাফল
No `day``day` ছাড়াOne immediate like request. Charged only when the package gate is met.সাথে সাথে একবার লাইক যায়। প্যাকেজের শর্ত পূরণ হলেই চার্জ হয়।
`day=1`, success`day=1`, সফলDelivered today and the schedule is completed. Nothing is queued.আজই লাইক যায় এবং শিডিউল সম্পন্ন হয়। কিছু বাকি থাকে না।
`day=1`, failure`day=1`, ব্যর্থToday is recorded as failed and 1 day is queued for tomorrow — a free retry.আজকের দিন ব্যর্থ হিসেবে থাকে এবং আগামীকালের জন্য ১ দিন বাকি থাকে — ফ্রি রিট্রাই।
`day=N`, success`day=N`, সফলN days are charged; today counts as completed and N−1 days stay queued from tomorrow.N দিনের চার্জ হয়; আজ সম্পন্ন হিসেবে গণ্য হয় এবং আগামীকাল থেকে N−1 দিন বাকি থাকে।
`day=N`, failure`day=N`, ব্যর্থNothing is consumed: all N days stay queued from tomorrow.কোনো দিন খরচ হয় না: N দিনই আগামীকাল থেকে বাকি থাকে।
Active schedule + `day`চালু শিডিউল + `day`The active schedule is reported (id, remaining days, total likes sent) and nothing is charged.চালু শিডিউলের তথ্য (আইডি, বাকি দিন, মোট পাঠানো লাইক) দেখায়, কোনো চার্জ হয় না।
Active schedule + `extend=true`চালু শিডিউল + `extend=true`The given days are appended to the existing schedule and only those days are charged.উল্লেখিত দিনগুলো চালু শিডিউলে যোগ হয় এবং শুধু সেই দিনগুলোর চার্জ হয়।
Same `request_id` againএকই `request_id` আবারThe original response is replayed with no second send and no second charge.দ্বিতীয়বার পাঠানো বা চার্জ ছাড়াই আগের রেসপন্সই ফেরত আসে।

Errors

এরর ও সমাধান

HTTP 200{"status": 2, "message": "Invalid Key"}

Invalid, inactive or expired key on `/like` (same shape for `Key Inactive`, `Key Expired`, `Daily Limit Reached`, `Monthly Limit Reached`, `Max usage after reset reached`, `Pack not exist`).

`/like`-এ ভুল, নিষ্ক্রিয় বা মেয়াদোত্তীর্ণ key (একই আকারে `Key Inactive`, `Key Expired`, `Daily Limit Reached`, `Monthly Limit Reached`, `Max usage after reset reached`, `Pack not exist`)।

HTTP 401{"detail": "Unauthorized"}

A statistics, resend or admin route was called without a valid admin session or key.

বৈধ অ্যাডমিন সেশন বা key ছাড়া পরিসংখ্যান, রিসেন্ড বা অ্যাডমিন রুট কল করা হয়েছে।

HTTP 404{"status": "error", "message": "Invalid Key"}

`/details`, `/statesraw` or `/track` was called with a key that does not exist.

অস্তিত্বহীন key দিয়ে `/details`, `/statesraw` বা `/track` কল করা হয়েছে।

HTTP 400{"detail": "Invalid date, expected YYYY-MM-DD"}

Malformed date/month/year in a statistics route, or a resend requested for an order that already met its like threshold.

পরিসংখ্যান রুটে ভুল তারিখ/মাস/বছর, অথবা যে অর্ডার ইতিমধ্যে লাইকের থ্রেশহোল্ডে পৌঁছেছে তার রিসেন্ড।

HTTP 422{"detail": "key and uid query parameters are required"}

A required query parameter is missing or malformed (for example a non-integer `like`).

আবশ্যক কোয়েরি প্যারামিটার নেই বা ভুল (যেমন `like` পূর্ণসংখ্যা নয়)।

HTTP 429{"detail": "Too many requests, please slow down."}

The per-IP or per-key rate limit was exceeded. Respect the `Retry-After` header.

প্রতি IP বা প্রতি key-এর রেট লিমিট ছাড়িয়েছে। `Retry-After` হেডার অনুসরণ করুন।

HTTP 503{"status": "degraded"}

`/api/health` reports a database or scheduler problem.

`/api/health` ডেটাবেস বা শিডিউলারের সমস্যা জানিয়েছে।

Public pages

পাবলিক পেজগুলো

FAQ

সাধারণ প্রশ্ন ও উত্তর

Do I need an API key for /scheduletrack?

/scheduletrack-এর জন্য কি API key লাগে?

No. Only the schedule id is required, and the page never shows your key, UID or username.

না। শুধু শিডিউল আইডি লাগে, আর পেজে আপনার key, UID বা ইউজারনেম কখনো দেখানো হয় না।

When do scheduled days run?

শিডিউলের দিনগুলো কখন চলে?

The scheduler runs every 30 seconds and executes a day when its date has arrived after the configured daily run time. The time is shown as `schedule_time` in the response (Asia/Dhaka, GMT+6).

শিডিউলার প্রতি ৩০ সেকেন্ডে চেক করে এবং নির্ধারিত দৈনিক সময় পার হলে সেই দিনের কাজ চালায়। রেসপন্সে `schedule_time` হিসেবে সময় দেখানো হয় (এশিয়া/ঢাকা, GMT+6)।

What happens to a scheduled day that fails?

শিডিউলের কোনো দিন ব্যর্থ হলে কী হয়?

The day is marked `failed`, `completed_days` is not increased, and the remaining days continue. For single orders below the package like threshold you can retry with the resend endpoint.

দিনটি `failed` হিসেবে থাকে, `completed_days` বাড়ে না, আর বাকি দিনগুলো চলতে থাকে। প্যাকেজের লাইক থ্রেশহোল্ডের নিচে থাকা একক অর্ডার রিসেন্ড এন্ডপয়েন্ট দিয়ে আবার পাঠানো যায়।

Can I extend a schedule that is already running?

চালু শিডিউল কি বাড়ানো যায়?

Yes — call `/like` with `day=N&extend=true`. The days are appended after the last scheduled day and only the added days are charged.

হ্যাঁ — `day=N&extend=true` দিয়ে `/like` কল করুন। দিনগুলো শেষ শিডিউল দিনের পরে যোগ হয় এবং শুধু যোগ করা দিনের চার্জ হয়।

How many days can one schedule have?

একটি শিডিউলে সর্বোচ্চ কত দিন থাকতে পারে?

From 1 to 365 days per request. Calling again while a schedule is active will not stack days unless you pass `extend=true`.

প্রতি রিকোয়েস্টে ১ থেকে ৩৬৫ দিন। শিডিউল চালু থাকা অবস্থায় `extend=true` না দিলে আবার কল করলে দিন যোগ হয় না।