SMMWatch:ce4b475127dc6f4b6b5866f3d0f6de27c3fe1718

SMM Panel API Guide: How to Connect a Provider and Automate Your Orders

If you run an SMM panel, the API is the engine behind your business. It connects your panel to a provider, so every order your customers place is sent, tracked and refilled automatically, without you lifting a finger.

In this guide we'll explain what an SMM panel API is, how to connect a provider to your panel step by step, and which API actions you'll use every day.

New to reselling? Read our guide first: How to Start an SMM Reseller Business.

What Is an SMM Panel API?

An API (Application Programming Interface) is an automatic connection between two systems. In the SMM world, it lets your panel talk directly to your provider's panel.

When a customer places an order on your website, your panel uses the provider's API to:

  • Send the order to the provider
  • Check its status and progress
  • Request a refill if anything drops
  • Read your balance and the provider's service list

Almost all SMM panels use the same standard API format, so connecting a provider usually takes just a few minutes.

What You Need Before You Start

  • Your own SMM panel (from a panel platform or a child panel)
  • An account with a provider that offers an API
  • A balance in your provider account to pay for orders
  • Your API key, found on the provider's account or API page

Security tip: treat your API key like a password. Never share it publicly. If it leaks, generate a new one from your account.

Step-by-Step: Connect a Provider to Your Panel

  1. Get the API URL. At SMMMain it is: https://smmmain.com/api/v2
  2. Copy your API key from your SMMMain account.
  3. Add the provider in your panel. In most panel admin areas, go to the providers or API section, add a new provider and paste the API URL and key.
  4. Import services. Your panel reads the provider's service list. Choose the services you want to sell.
  5. Set your prices. Add your margin on top of the provider's rate. See our tips in Best Telegram Services to Sell in Your SMM Panel.
  6. Place a small test order to make sure everything works before you open the services to customers.

The Main API Actions

Standard SMM panel APIs use simple POST requests and return JSON. Every request includes your key and an action. Here are the actions you'll use most:

  • services – get the full service list with ID, name, category, rate, min, max and whether refill and cancel are available.
  • add – place a new order. You send the service ID, the link and the quantity.
  • status – check one order, or up to 100 orders at once. You get the charge, start count, status and remains.
  • refill – request a refill for one order or many orders.
  • refill_status – check whether a refill is pending, completed or rejected.
  • cancel – request cancellation for orders that support it.
  • balance – check your current balance and currency.

Order Types You Can Send

The add action supports several order types, depending on the service:

  • Default – link and quantity. Optional runs and interval create a drip-feed order that delivers in parts.
  • Package – only the link; the quantity is fixed by the service.
  • Custom Comments – the link plus your own list of comments, one per line.
  • Poll – the link, the quantity and the answer number to vote for.
  • Subscriptions – the username, min and max quantity, and optional settings for future posts, old posts, delay and expiry. Perfect for automatic views on every new Telegram post.

Example: Placing an Order

A basic order request sends these parameters to https://smmmain.com/api/v2 using POST:

  • key = your API key
  • action = add
  • service = the service ID
  • link = the Telegram channel or post link
  • quantity = the amount you want

The response returns your new order ID, for example: {"order": 23501}. Save this ID to check the status or request a refill later.

Tips for a Smooth Integration

  • Sync services regularly. Rates and services change, so keep your panel's service list updated.
  • Use drip-feed for big orders. Delivering gradually looks more natural.
  • Automate refills. Use the refill action for services with a guarantee, so customers don't have to open tickets.
  • Check status in bulk. Query up to 100 orders per request instead of one by one.
  • Watch your balance. Set a reminder or use the balance action so orders never fail because of low funds.

Frequently Asked Questions

Is the SMMMain API free to use?

Yes. There is no extra fee for the API. You only pay for the orders you place.

Which panels can connect to the SMMMain API?

Any panel that supports the standard SMM panel API format can connect. Just add https://smmmain.com/api/v2 and your API key as a new provider.

Can I request refills through the API?

Yes. Services with a guarantee support the refill action, so you can request and track refills automatically.

Can I test services before connecting?

Yes. Open a support ticket and we'll run a free test for you.

Conclusion

The API turns your SMM panel into an automated business: orders are sent, tracked and refilled without manual work. Connect a reliable provider, import the services you want, set your prices and let the API do the rest.

SMMMain is a main Telegram SMM provider for resellers since 2018, with a stable API, Premium and regular members, views, reactions, votes and bot starts, all with an unconditional guarantee. You can also order directly from our Telegram bot, which is fully synced with the website.

See all services · Create your reseller account