Quality Service Always 10% Bonus 24x7 Bot Support Fast & Stable Add Funds & Get Bonus | Buy More Get More Save More

SMM Panel API Node.js Example: Orders, Status and Balance

Quick answer: To use an SMM panel API in Node.js, send POST requests with form-encoded data to https://vipprosmm.com/api/v2 using axios or fetch. Pass your key plus an action: services to list services, add to place an order, status to track it and balance to check funds. Keep the key on your Express server, never in the browser.

Key takeaways

  • An SMM panel API Node.js setup needs one URL, one POST method and a few action values.
  • Send form-encoded data with URLSearchParams and read JSON back.
  • Always check the response for an error field before you trust it.
  • The API key spends real balance, so it stays in a server-side .env file.

Here is a job we see often. A small US reseller hires a developer to build a simple storefront: customers pick a service, paste a link, choose a quantity and pay. Behind the scenes, each order goes to an SMM panel, and the customer can follow its progress.

Below we build exactly that with Node.js, axios and Express on the VIPPROSMM API. Every endpoint and parameter matches our public documentation.

How does an SMM panel API Node.js call work?

Every call is a POST request to https://vipprosmm.com/api/v2, and the panel answers in JSON. Only the action value and a few extra fields change.

An SMM panel is a website that sells social media services such as views, likes and followers, mostly to resellers. Its API lets your code place and track those orders without opening the dashboard.

actionExtra parametersWhat comes back
servicesnoneService list with ID, name, rate, min, max, refill and cancel flags
addservice, link, quantity (optional runs, interval){"order": 23501}
statusorder, or orders (up to 100 IDs, comma-separated)charge, start_count, status, remains, currency
balancenonebalance, currency
refill / cancelorder or orders (cancel uses orders)Refill ID or cancel result per order

Watch two details. Numbers arrive as strings ("min": "50"), so convert them with Number(). Some service types use other fields, too: Custom Comments takes a comments list separated by \n instead of quantity. New to these terms? Our beginner's SMM panel API guide explains them simply.

⚡ What do you need before you write any code?

You need Node.js 18 or newer, a funded account and your API key from the API page. Then create the project:

npm init -y
npm install express axios dotenv

Put your secrets in a .env file and add it to .gitignore so the key never reaches GitHub:

SMM_API_URL=https://vipprosmm.com/api/v2
SMM_API_KEY=paste_your_key_here
ADMIN_TOKEN=a_long_random_string

How do you write an axios SMM panel API client?

Write one small module that wraps every call, so your Express routes never touch the key or the URL.

// smmClient.js
require('dotenv').config();
const axios = require('axios');

const API_URL = process.env.SMM_API_URL;
const API_KEY = process.env.SMM_API_KEY;

async function callApi(action, params = {}) {
  const body = new URLSearchParams({ key: API_KEY, action, ...params });
  let res;
  try {
    res = await axios.post(API_URL, body, { timeout: 15000 });
  } catch (err) {
    const code = err.response ? err.response.status : err.code;
    throw new Error(`SMM API request failed: ${code}`);
  }
  if (res.data && res.data.error) {
    throw new Error(`SMM API error: ${res.data.error}`);
  }
  return res.data;
}

module.exports = {
  getServices: () => callApi('services'),
  addOrder: (service, link, quantity) =>
    callApi('add', { service, link, quantity }),
  getStatus: (order) => callApi('status', { order }),
  getStatuses: (ids) =>
    callApi('status', { orders: ids.slice(0, 100).join(',') }),
  getBalance: () => callApi('balance'),
};

Passing URLSearchParams makes axios send application/x-www-form-urlencoded data, which is what the API expects. The 15-second timeout stops a slow request from freezing your store. Many SMM API JavaScript snippets online skip the last check, but the API can answer with {"error": "..."} instead of data, so always test for it.

The request looks the same in any language, as our PHP and Python sample code shows.

🚀 How do you add the SMM panel API Node.js client to Express?

This SMM API Express integration follows six steps:

  1. Cache the service list for an hour, so the form shows names and limits without an API call on every visit.
  2. Receive the service ID, link and quantity on your server.
  3. Check that the service exists, the link is a full URL and the quantity sits between min and max.
  4. Confirm payment in your own checkout.
  5. Call add and save the returned order ID with the customer's order.
  6. Update statuses in the background and show them on the order page.
// server.js
const express = require('express');
const smm = require('./smmClient');

const app = express();
app.use(express.urlencoded({ extended: false }));

let cache = { list: [], time: 0 };
async function getServices() {
  if (Date.now() - cache.time > 3600000) {
    cache = { list: await smm.getServices(), time: Date.now() };
  }
  return cache.list;
}

app.post('/order', async (req, res) => {
  const { service, link } = req.body;
  const qty = Number(req.body.quantity);
  try {
    const item = (await getServices()).find((s) => String(s.service) === String(service));
    if (!item) return res.status(400).json({ error: 'Unknown service' });
    if (!/^https?:\/\//.test(link || '')) return res.status(400).json({ error: 'Please paste a full link' });
    if (!(qty >= Number(item.min) && qty <= Number(item.max))) {
      return res.status(400).json({ error: `Quantity must be ${item.min}-${item.max}` });
    }
    // Call the panel only after your checkout confirms payment
    const { order } = await smm.addOrder(item.service, link, qty);
    // Save `order` with the customer's details in your database
    res.json({ orderId: order });
  } catch (err) {
    console.error(err.message);
    res.status(502).json({ error: 'We could not place your order. Please try later.' });
  }
});

app.get('/order/:id/status', async (req, res) => {
  // In production, first check this order belongs to the logged-in customer
  try {
    const { status, remains } = await smm.getStatus(req.params.id);
    res.json({ status, remains });
  } catch (err) {
    res.status(502).json({ error: 'Status is not available right now' });
  }
});

app.get('/admin/balance', async (req, res) => {
  const token = process.env.ADMIN_TOKEN;
  if (!token || req.get('x-admin-token') !== token) {
    return res.status(401).json({ error: 'Not allowed' });
  }
  try {
    res.json(await smm.getBalance());
  } catch (err) {
    res.status(502).json({ error: 'Balance check failed' });
  }
});

app.listen(3000);

Customers only see your friendly messages. Raw API errors go to your logs. The balance route needs a secret token, so only the store owner can see the panel funds.

How do you check the status of many orders at once?

Use getStatuses, which sends up to 100 IDs in one orders call. A background job every few minutes is usually enough: load open order IDs in batches of 100, call the API and save each status and remains. Skip and log entries that return their own error, such as "Incorrect order ID".

💰 Which services could the storefront offer first?

These rows come from our live price list on 2 December 2026, per 1000. Prices change, so read rates from the services action or the live services page before you set retail prices.

IDServiceRate per 1000MinMax
14211Instagram views, all links, instant₹0.071001 000 000 000
2321Instagram likes, mixed Indian, 30-day refill₹6.97550500 000
13289TikTok views, 30-day refill₹6.82710010 000
13747YouTube subscribers, no refill₹6.289100100 000

🔒 How do you keep the API key safe and handle errors?

Treat the key like a bank card: whoever has it can spend your balance.

  • Server only. Never call the API from front-end JavaScript, where any visitor can read the key.
  • No blind retries on add. A timed-out order may still have gone through, so check your panel order list first or you could pay twice.
  • Check balance before big batches to avoid half-finished bulk runs.
  • Friendly errors. Our guide to common SMM panel API errors lists typical causes and fixes.

If you think the key leaked, open a support ticket right away.

Risks & limits

  • Platform rules. At the time of writing, Instagram, TikTok, YouTube and other platforms do not allow artificial engagement. Check each platform's official help center and use growth services responsibly.
  • Counts can drop. Followers, likes and views can go down after delivery. Refill depends on the service: some names say "30 Days Refill", others "No Refill", and the details are in each description.
  • Crypto payments can't be reversed. Once USDT, Binance Pay or other crypto is sent, it cannot be pulled back.
  • The network must match. USDT is accepted on TRC20 and BEP20, and sending on the wrong network can lose the funds. Methods, fees and minimums are shown on the Add Funds page.

Frequently Asked Questions

Can I call the SMM panel API directly from the browser?

No, you shouldn't. Any key in front-end code can be copied from developer tools and used to spend your balance. Send every call through your own Node.js server.

Do I need axios, or can I use the built-in fetch?

Node.js 18 and newer include fetch, and it works with the same URLSearchParams body. Axios simply makes timeouts and HTTP errors a little easier to handle.

How often should my app check order status?

A background job every few minutes is usually enough. Send up to 100 IDs per status call and save the results, so customer pages read from your database instead of the API.

Why do I get an error instead of an order ID?

Common causes are a wrong API key, an unknown service ID, a quantity outside min and max, a bad link or a low balance. Read the error text, fix the input and try again.

Is it allowed to use SMM services on Instagram or TikTok?

At the time of writing, most platforms do not allow artificial engagement, so there is always some risk. Use services responsibly, read each platform's official rules and explain the risks to your clients.

✅ Ready to build your Node.js storefront?

An SMM panel API Node.js integration comes down to four calls: services, add, status and balance. Wrap them in one axios client, check orders against min and max, keep the key on the server and show customers plain error messages. That gives your reseller client a clean storefront running on VIPPROSMM.

Ready to test with real orders? Create your VIPPROSMM account and get your API key.

DMCA.com Protection Status