Open-source examples, libraries and guides for connecting your app, bot or reseller website to the SafeSMM SMM panel through the standard API v2.
SafeSMM uses the common SMM panel API v2 format. You send a POST request with your API key and an action, and you get JSON back. If you already work with another panel that uses this format, your code usually needs only a new URL and key.
Endpoint: https://safesmm.net/api/v2
Method: POST Response: JSON
Official reference: SafeSMM API documentation
API key: create a free account, then open the Account page.
| Action | Use it to | Main parameters |
|---|---|---|
services | Get service IDs, rates, min and max | none |
add | Place an order | service, link, quantity |
add + drip-feed | Deliver in parts over time | runs, interval |
status | Check one or many orders | order or orders |
refill | Request a refill on eligible services | order |
cancel | Request cancellation | order |
balance | Read account balance | none |
curl -X POST https://safesmm.net/api/v2 \
-d "key=YOUR_API_KEY" \
-d "action=balance"
from safesmm import SafeSMM
api = SafeSMM("YOUR_API_KEY")
print(api.balance())
order = api.add_order(service=1, link="https://example.com/post", quantity=100)
print(api.status(order["order"]))
A wrong key returns {"error": "Invalid API key."}. Always check for an error field before reading the result.
Small client classes with error handling, plus a Telegram order watcher.
View on GitHubThe safesmm library on PyPI. Standard library only, no extra dependencies.
Pending, In progress, Partial, Canceled: what each one means for your balance.
Read the guide1. Call services once and cache it. Refresh a few times a day, not on every request.
2. Check status in batches (up to 100 IDs per call) every few minutes instead of every second.
3. Validate quantity against the service min and max before sending an order.
4. Keep the API key on your server. Never put it in front-end JavaScript or a public repository.
5. Use drip-feed for large orders so delivery looks gradual. Each run must be at least the service minimum.
6. Store the order ID returned by add so you can request a refill or cancel later.
SafeSMM accepts USDT (TRC20 and BEP20), Binance Pay, Cryptomus and Perfect Money, plus local wallets for some countries. See the crypto payment guide or the Binance Pay steps.
Yes. There is no API fee. You only pay for the orders you place, at the rates shown on the services page.
Yes. Most panel scripts support API v2 providers. Add the endpoint and your key as a provider, then import services. More details on the reseller panel page.
Open a ticket from your account or message Telegram @SafeSMM_Admin.