Developers & API

SMM API Services List: Fetch & Sync a Catalog

The services action is the foundation of any panel-to-provider integration. Learn what it returns, how to read each field, and how to keep your catalog accurate without duplicates or broken mappings.

khoramfar
Hamid kh
Author & Contributor
Share:
SMM API Services List: Fetch & Sync a Catalog

The services action of the SMM API, which returns the SMM API services list, exists to solve this.

An SMM panel is only as accurate as its service catalog. Service IDs, price rates and quantity limits live with the provider, and they change. If your panel's copy drifts out of date, customers see wrong prices, orders get rejected, or a service they picked no longer exists.

The services action of the SMM API exists to solve this. This guide goes beyond a first import: it explains what each field means, how to design a local catalog around it, and how to keep that catalog in sync without duplicates or broken mappings. If you are still setting up your connection, start with our guide to connecting an SMM panel to a service provider.

What the SMM API Services List Returns

The services action returns the provider's active services as a JSON array. Each entry describes one service. On Flowly, you call it on the SMM Orders API endpoint, https://flowlycore.com/api/v2/, with two parameters:

  • key: your API key (or send it as an Authorization: Bearer header, which is the recommended method)
  • action: must be services

No other parameters are needed. The response is the whole catalog in one request.

Understanding Service IDs and Fields

Here is an entry in the format shown in Flowly's documentation:

{
"service": 2,
"name": "YouTube 4K Views [Retention 3-5 Min]",
"type": "default",
"category": "YouTube Views",
"rate": "1.4500",
"min": 500,
"max": 500000,
"refill": true,
"cancel": true
}
FieldWhat it means
serviceThe service ID. This is the value you send as service when placing an order.
nameThe human-readable service name.
typeThe service type. The documented examples use default.
categoryA grouping label you can use to organize your own catalog.
rateThe price rate, returned as a string with four decimal places.
min / maxThe allowed quantity range for one order.
refillWhether the service supports refill.
cancelWhether the service supports cancellation.

The service ID is your primary key

Names and categories are descriptive and can be edited. The ID is what orders are actually placed against, so it should be the unique identifier in your database. Never match services by name.

Parse the rate as a decimal

The rate arrives as a string such as "1.4500". Convert it with a decimal type, not a float, so pricing math does not accumulate rounding errors.

Check what the rate applies to

The documentation shows the rate value but does not state the quantity it applies to. Confirm this in the live API documentation before building price calculations on it, and verify it with a small test order.

Check the type before building order forms

The add action's documentation mentions both default and poll services, and poll services need an extra answer_number parameter. Store type so your order form can ask for the right inputs per service.

How to Import a Service Catalog

A first import follows four steps:

  1. Authenticate from your server. Keep the key in an environment variable and never in frontend code. The docs warn that keys can deduct funds from your balance.
  2. Request the list with action=services.
  3. Validate the response. A valid catalog is a list. An error comes back as a JSON object with an error message.
  4. Normalize and store each entry keyed by service ID.
import os
import requests
from decimal import Decimal
API_URL = "https://flowlycore.com/api/v2/"
API_KEY = os.environ["FLOWLY_API_KEY"]  # never hard-code or expose this
def fetch_services():
response = requests.post(
API_URL,
headers={"Authorization": f"Bearer {API_KEY}"},
data={"action": "services"},
timeout=30,
)
data = response.json()
if response.status_code != 200 or not isinstance(data, list):
raise RuntimeError(f"Services request failed: {response.status_code} {data}")
return data
def normalize(item):
return {
"id": int(item["service"]),
"name": item["name"],
"category": item["category"],
"type": item["type"],
"rate": Decimal(item["rate"]),
"min": int(item["min"]),
"max": int(item["max"]),
"refill": bool(item["refill"]),
"cancel": bool(item["cancel"]),
}
incoming = {s["id"]: s for s in map(normalize, fetch_services())}
print(f"Fetched {len(incoming)} services")

Keeping Prices and Limits Updated

A one-time import is a snapshot. To stay accurate, re-fetch the list on a schedule and compare it against what you have stored. The documentation does not prescribe a refresh interval, so choose one that fits how often you update prices. Keep requests moderate, since the API documents an HTTP 429 response for excessive request rates.

On each sync, compare the incoming catalog with your stored one and sort differences into three groups:

def diff_catalog(stored, incoming):
added = [i for i in incoming if i not in stored]
missing = [i for i in stored if i not in incoming]
changed = [
i for i in incoming
if i in stored and stored[i]["provider"] != incoming[i]
]
return added, changed, missing

Here stored[i]["provider"] is your saved copy of the provider's data for that service. Handle each group differently:

  • Added: insert the service as inactive or hidden until you have reviewed it and set your own price.
  • Changed: update the stored provider data. If rate changed, flag it for review before it affects customer prices. If min or max changed, update your order validation.
  • Missing: the endpoint returns active services, so a missing ID most likely means the service is no longer available. Disable it on your side instead of deleting it, so past orders keep their reference.

Separate provider data from your own data

Store the provider's values and your customer-facing values in different fields: provider rate on one side, your sell price on the other. That way a provider price change never silently overwrites your margin, and your renamed services or regrouped categories survive every sync.

Add a safety guard

If a sync returns an empty list, an error object, or a catalog that is suddenly much smaller than yesterday's, abort and keep the existing catalog. This is a defensive rule of thumb for your own system, not documented Flowly behavior, but it prevents one bad response from disabling your whole store.

Avoiding Duplicate or Incorrect Mappings

Most catalog bugs come from a short list of mistakes:

  • Matching by name. Similar names across services cause wrong mappings. Match by ID.
  • Ignoring min and max. Quantities outside the range fail validation with a 400 error.
  • Assuming every service supports refill or cancel. Read the flags per service and show customers only what applies.
  • Sending your panel's own ID to the provider. The service value in an order must be the provider's ID. Keep a clear mapping between the two.
  • Importing blindly. New services deserve a review before they go live on your storefront.

Example Sync Workflow

  1. Fetch the catalog from your server using a key stored in an environment variable.
  2. Reject the response if it is not a valid list.
  3. Normalize entries and parse rate as a decimal.
  4. Diff against stored services by ID.
  5. Insert new services as inactive, update changed ones, and flag price changes for review.
  6. Disable services that disappeared from the list.
  7. Place a small test order against a newly mapped service before opening it to customers.

Once your catalog is reliable, the next layer is the order flow itself. See how to automate SMM orders with an API, and for background terms like service ID and order ID, read what an SMM panel API is.

Get Started with the Flowly Services Endpoint

To try this yourself, create a key in your API Access dashboard (login required) and read the full Flowly SMM Orders API documentation. You can also browse the available Flowly services to see what a real catalog looks like, or contact support if you need help with your integration.

Frequently Asked Questions

What does the SMM API services action return?

A JSON list of active services. Each entry includes the service ID, name, type, category, rate, minimum and maximum quantity, and refill and cancel flags.

Which field should I use to identify a service?

Use the service ID. It is the value used when placing orders, so it should be the unique key in your database.

How often should I sync my service list?

The documentation does not set a schedule. Pick an interval that matches how often you adjust prices, and avoid excessive requests, since HTTP 429 responses are documented for rate limiting.

What should I do when a service disappears from the list?

Treat it as unavailable. Disable it in your panel and keep the record so existing orders still reference it.

Do the 100 free daily requests apply to the services action?

No. The 100 free daily requests apply to the Tools API only. SMM service orders are billed from your wallet balance, as described in the developer documentation.

Why is the rate a string and not a number?

The documented response returns it as a string with four decimals, for example "0.8500". Parse it with a decimal type to keep pricing precise.

khoramfar
Written by
Hamid kh

Content strategist and social media marketing specialist at Flowly, providing data-backed growth strategies for digital creators and brands.

Scale Faster

Ready to Boost Your Social Presence?

Get fast, high-retention followers, likes, and engagement for Instagram, Telegram, YouTube, and TikTok at the cheapest rates.

Explore Services