smm-panel-api
A small, dependency-free Python client for the standard SMM panel API (v2): the format almost every SMM panel and provider uses. List services, place orders, follow their status, check your balance, and ask for refills and cancellations.
Needs Python 3.8+ and nothing else: only the standard library.
New to the SMM API? Read The SMM Panel API Explained: every action, with example requests and answers.
Install
pip install smm-panel-api
Quick start
import os
from smm_api import SmmApi, SmmApiError
api = SmmApi("https://yourpanel.com/api/v2", os.environ["SMM_API_KEY"])
try:
balance = api.balance()
print(f"Balance: {balance['balance']} {balance['currency']}")
order = api.order(service=1, link="https://instagram.com/p/xyz", quantity=1000)
print(api.status(order["order"]))
except SmmApiError as e:
print("API error:", e)
Methods
| Action | Method |
|---|---|
| List services | services() |
| Place an order | order(service=..., link=..., quantity=..., ...) |
| Order status | status(id) |
| Many statuses (up to 100) | multi_status([id, ...]) |
| Balance | balance() |
| Refill | refill(id) / multi_refill([id, ...]) |
| Refill status | refill_status(id) |
| Cancel | cancel([id, ...]) |
Every method returns the panel's JSON answer as Python data. Errors from the
panel ({"error": "..."}) and network problems raise SmmApiError. Pass
timeout=60 to the constructor to change the 30-second timeout.
Some service types take more fields in order(), such as comments (one per
line) or runs and interval for drip-feed.
Keep your key safe
Your API key spends your balance. Keep it in an environment variable or a
secrets store, never in code you commit, and only use the panel's https://
address (the client refuses plain http:// except for localhost).
Also for PHP and Node.js
The same client exists for PHP and Node.js. Source: github.com/evapanel/smm-api-clients.
Run your own SMM panel
These clients work with any panel that speaks the standard API. If you want a panel of your own, with the reseller API built in, see Eva Panel: a ready-made SMM panel on your own domain, with hosting included.
License
MIT
Metadata
Release files for smm-panel-api 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| smm_panel_api-1.0.1.tar.gz | 4.9 kB | Without provenance | Details for smm_panel_api-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| smm_panel_api-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for smm_panel_api-1.0.1-py3-none-any.whl |
Total release size: 10.1 kB
Release files / smm_panel_api-1.0.1.tar.gz
| Download URL | smm_panel_api-1.0.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88009d9449688b3f40aafc2b003351c5c6238274157bc4645e5aa05ec957c3de
|
|
BLAKE2b-256 checksum How to use checksums |
91b7b315451b9a132c8d1b54d139066c85dd971f796bae526afa4de7cafd9953
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / smm_panel_api-1.0.1-py3-none-any.whl
| Download URL | smm_panel_api-1.0.1-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91e4d6d5623d5e491350b74163f0af277fbe6fdbc9a15fb0ce08fb09ff149534
|
|
BLAKE2b-256 checksum How to use checksums |
0ab0a52bb3a21f0e063268038afdb3145f65c1b97c12fc3a0fe688cfa56fe7a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Security for smm-panel-api 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.