Connect Your SMM Panel to the TGRU API Step by Step

10 min read
Connect Your SMM Panel to the TGRU API Step by Step

Updated September 2026

The TGRU API provides a direct way for SMM panel owners and developers to automate selling Telegram engagement services like views and followers. This API lets you automate placing and managing orders, helping you scale your business efficiently.

TGRU API: A tool for developers and SMM panel owners to automate reselling TGRU's Telegram services, such as views and followers.

Automating orders through an API is key for any SMM reseller. It cuts down on manual work, speeds up delivery, and lets a business grow by serving more customers at once.

Why Should You Use the TGRU API?

The main reasons to use a reseller API instead of Telegram's own ad platform are cost and simplicity. This price can be a high entry barrier for some.

However, reseller APIs like TGRU offer a different model. They provide services like followers or post views at fixed per-item rates, which can be easier to budget for specific goals. This approach is popular in the social media management market. That market is growing quickly, with developers spending over a quarter of their time on API-related tasks, based on Postman's 2023 State of the API report.

Before you start

TGRU's reseller API uses a standard format that most SMM panel scripts, like the popular Perfectpanel, already support. The API uses one endpoint, form-encoded POST requests, and JSON responses.

If your panel software has an "Add Provider" form asking for a URL and key, the setup is usually simple. You likely will not need custom coding beyond what the panel already does. On the other hand, if you are building your own tools, the process is similar. You can use any language that sends POST requests and reads JSON.

Automating order fulfillment is essential for capturing a share of the growing social media management market.

How do you get your API key?

First, sign in to your TGRU account and open the API documentation page. Your unique API key is located there. If your key is ever exposed, you should change it right away. Changing the key disables the old one, so you must update all your panels with the new key at the same time.

Endpoint and Request Shape

  • Method: POST
  • URL: https://tgru.dev/api/v2
  • Response: JSON, always.

If your panel script has a generic provider template that works with Perfectpanel, point it at that URL with your key. It should handle all actions below without extra setup. You can find full parameter tables on the TGRU API reference page.

What actions does the API support?

All requests go to the same endpoint. The action parameter decides what the API does. The full list of parameters for each action is on the TGRU API reference page.

Action What it does Key parameters Best for
services Returns the full service list key Syncing service catalog daily
add Places an order (all types) service, link, quantity, optional runs + interval Creating a new order for a customer
status Checks the status of one order order Checking a single order's progress
status (multiple) Checks status of many orders orders (comma-separated) Batch-updating all recent orders
refill Requests a refill for an order order Fixing a drop in an order's count
refill_status Checks a refill request's status refill Tracking the progress of a refill
cancel Requests cancellation for orders orders Stopping pending or in-progress orders
balance Returns your account balance key Checking your available funds

Service list

POST https://tgru.dev/api/v2
key=YOUR_API_KEY
action=services
[
  {
    "service":  1,
    "name":     "Followers",
    "type":     "Default",
    "category": "First Category",
    "rate":     "0.90",
    "min":      "50",
    "max":      "10000",
    "refill":   true,
    "cancel":   true
  }
]

You should get this list regularly, like once a day, rather than only at setup. That's because TGRU offers hundreds of active services, and rates can change.

Add order

POST https://tgru.dev/api/v2
key=YOUR_API_KEY
action=add
service=601
link=https://t.me/yourchannel/482
quantity=500
runs=5
interval=60
{ "order": 23501 }

You can swap in whichever service ID a buyer picked from your synced list. In this example, service=601 is Telegram Comments (Non Drop, Mix Country). The optional runs and interval parameters turn a single order into a drip-feed. This creates several smaller orders (runs) sent minutes apart (interval). TGRU charges the full order amount up front. If the order is cancelled, runs that have not yet started are refunded to your balance.

Custom comments

For custom comments, swap quantity for a comments field. Send this field as one string with lines separated by \r\n or \n. The example below shows each comment on a new line for clarity.

POST https://tgru.dev/api/v2
key=YOUR_API_KEY
action=add
service=601
link=https://t.me/yourchannel/482
comments=Great post!
Love this update
Saving this one

Poll votes

Poll-vote services need an answer_number along with the usual quantity. This makes sure the order is applied to a specific answer in an existing poll.

POST https://tgru.dev/api/v2
key=YOUR_API_KEY
action=add
service=632
link=https://t.me/yourchannel/900
quantity=200
answer_number=2

Order status and multi-status

POST https://tgru.dev/api/v2
key=YOUR_API_KEY
action=status
order=23501
{
  "charge":      "0.27819",
  "start_count": "3572",
  "status":      "Partial",
  "remains":     "157",
  "currency":    "USD"
}

For multiple orders, send a comma-separated orders string instead of a single order. You can then check each result on its own, as one bad ID will not cause the whole request to fail.

{
  "1":  { "charge": "0.27819", "start_count": "3572", "status": "Partial", "remains": "157", "currency": "USD" },
  "10": { "error": "Incorrect order ID" }
}

Always prefer multi-status requests over polling single orders in a loop. A single batched pull is faster and less likely to trigger rate limits.

Refill and refill status

POST https://tgru.dev/api/v2
key=YOUR_API_KEY
action=refill
order=23501
{ "refill": "1" }

Then, check its status:

POST https://tgru.dev/api/v2
key=YOUR_API_KEY
action=refill_status
refill=1
{ "status": "Completed" }

Both actions also support a multiple-order format. Use orders= for refill and refills= for status. This returns an array, letting you batch an entire page of orders in one call.

Cancel and balance

POST https://tgru.dev/api/v2
key=YOUR_API_KEY
action=cancel
orders=23501,23502
[
  { "order": 23501, "cancel": 1 },
  { "order": 23502, "cancel": { "error": "Incorrect order ID" } }
]
POST https://tgru.dev/api/v2
key=YOUR_API_KEY
action=balance
{ "balance": "100.84292", "currency": "USD" }

How do mass orders work?

Outside the API, TGRU's own New Order screen has a Mass tab for manual bulk entry. This tool accepts one job per line, formatted as service_id | link | quantity. The Mass Order tab is a dashboard feature, not a separate API action. A panel setup achieves the same result by looping action=add calls for each service ID the buyer selected.

If you build a bulk-order feature into your panel's front end, the same pattern applies. You will need to parse the pasted lines and validate each service_id against your synced list. Then, fire one add call per row. Be sure to store the returned order ID for each row so status checks can be batched later using the multi-status action.

Testing before you go live

Before sending real buyer traffic to your setup, place a test order. Use a low-minimum service with your own key and walk it through the full process. First, confirm the order ID comes back. Then, poll its status until it settles.

If the service supports refills, trigger a refill and follow it through refill_status to Completed. This single pass confirms your panel's field mapping aligns with TGRU's expectations. It also checks that your status-polling logic correctly handles Partial, Completed, and error responses before a paying customer does.

How Should You Sync the Service List and Set Markup?

Most panel scripts store the rate from action=services as your cost. They then apply a markup percentage or a flat multiplier to set the price for your buyers. You should re-pull the service list on a schedule.

This ensures a rate change on TGRU's side does not affect your published prices. Use the service ID as your primary key, as names can sometimes change while IDs do not. Finally, cross-check a sample against the live service catalog to confirm your sync mapped correctly.

Handling Partial and refill statuses

A status of Partial means TGRU delivered some but not all of the order. The cost for the undelivered part is automatically refunded to your TGRU balance. Your panel's logic determines what happens next. You can pass the partial delivery status to the buyer's order or apply your own margin rule. A refill is a separate action, only available within the service's refill window, and it only restores what was actually delivered.

You should allow only one order per link at a time at the panel level if possible. Do not let two orders for the same link run at the same time. Running two jobs on one link can mix up the starting count for refills. This often leads to support tickets that are hard to fix.

Connect it

All API actions run off one API key and one endpoint: the TGRU v2 API endpoint. Create a reseller account, grab your key from the API documentation page, and point your panel's provider form at it. Check the TGRU FAQ page first if you are setting up two-factor authentication or making your first deposit alongside the setup.

What to do this week

  1. Get your API key: Sign into your TGRU account and copy your key from the API page.
  2. Run a test order: Use a tool like Postman or curl to place a small, low-cost order using the action=add parameters outlined above.
  3. Check the status: After a few minutes, use the action=status call with the order ID from the previous step to confirm the order was processed correctly.

Frequently asked questions

Is the request body JSON or form-encoded?

The TGRU API expects all requests to be form-encoded, similar to a standard HTML form submission. You should send parameters as key-value pairs in the request body. However, the API always returns its responses in JSON format. Your code must be prepared to parse this JSON to get order IDs, status updates, or error messages.

Does the API support bulk order creation in one call?

No, the API does not support creating multiple orders in a single action=add call. Each order must be placed with a separate request. However, for efficiency, the API does support batching for other common actions. You can check the status of, refill, or cancel multiple orders at once by providing a comma-separated list of order IDs.

Is there a rate limit?

TGRU does not publish a specific rate limit, such as requests per minute. To avoid potential throttling or temporary blocks, it is best practice to use the multi-order functions whenever possible. Instead of looping single status calls, use the orders parameter to check many at once. This is more efficient and reduces your risk of interruption.

Can I set my own markup on TGRU's rates?

Yes, the entire model is built for resellers. You can integrate TGRU's services into your own SMM panel or website and set your own prices with a markup. You are responsible for handling your own customer payments and support. Your TGRU account balance is used to pay for the orders you place via the API at the wholesale rate.

Do custom comment orders still need a quantity field?

No, the quantity parameter is not used for custom comment orders. The API determines the quantity by counting the number of lines in your comments parameter, with each line representing a single comment. Therefore, you only need to provide the service ID, the link to the post, and the comments string with each comment on a new line.

Is the TGRU API the same as a Perfectpanel API?

Not exactly, but they are compatible. Perfectpanel is a popular software script for building SMM panels, and it has a standard way of integrating with service providers. The TGRU API is designed to match this standard format. This means if your panel is built on Perfectpanel or a similar script, you can add TGRU as a provider without needing to write any custom integration code.

Share X Telegram