API action reference
One section per action, every input and output spelled out. New here? Start with the API overview or the examples.
POSThttps://smmcima.com/api/v2
Shared by all calls
| Item | Rule |
|---|---|
| Endpoint | smmcima.com/api/v2, HTTPS only. |
| Method | POST is preferred; GET also works. PUT, DELETE and the rest get HTTP 405. |
| Body | URL-encoded form data, or a JSON body using identical field names. Replies are JSON in every case. |
| Required every time | key (copied from your account page) plus a lowercase action. |
| Errors | Normally {"error": "..."} under HTTP 200. Separate codes exist only for the rate cap (429), a disallowed method (405) and an unknown URL (404). |
| Numbers | Money values come as quoted strings. rate has 4 decimals; balance and charge have between 4 and 8, so sub-cent orders stay exact. IDs and quantities are plain integers. |
balance
Takes nothing beyond key and action. You get balance (spendable funds) and currency, which is USD for all money fields across the API.
services
Nothing extra here either. You get one object per orderable service, priced for your account.
| Field | Type | Meaning |
|---|---|---|
| service | integer | The number you send to add. |
| name | string | Human-readable label. Labels get edited, so key your code on the number. |
| type | string | A type label; currently Default for all of them. |
| category | string | Platform plus kind of service. |
| rate | string | What 1,000 units cost you. |
| min, max | integer | Lower and upper bounds for quantity. |
| dripfeed, refill | boolean | Present so other panels parse the list. No action handles refill, and add ignores dripfeed options. |
| cancel | boolean | true when the cancel action works on its orders. |
[
{
"service": 8123,
"name": "Sample name",
"type": "Default",
"category": "Sample category",
"rate": "0.3000",
"min": 10,
"max": 10000,
"dripfeed": false,
"refill": false,
"cancel": true
}
]
add
Places the order and debits the balance at once. A successful call replies {"order": 20417} (sample ID).
| Parameter | Type | Rule |
|---|---|---|
| service | integer | Required. Any ID that services returned. |
| link | string | Required. The target URL (profile, post, Reel, video, channel or invite link), up to 2048 characters. |
| quantity | integer | Required. An integer inside that service's min/max range. |
status
Pass order for a single ID, or orders with a comma list of up to 100 IDs. When both are present, orders is used. IDs beyond the first 100 are dropped silently.
| Field | Type | Meaning |
|---|---|---|
| charge | string | Net cost once refunds are subtracted: 0.0000 after a full refund, the delivered portion for Partial. |
| start_count | integer | Counter value logged at the start, stored as received; 0 is possible. |
| status | string | See the status table below. |
| remains | integer | Undelivered units (0 for Completed). |
| currency | string | Currency for charge. |
A single order returns one object, or {"error": "Incorrect order ID"} for an ID that is unknown or belongs to someone else. A list returns one object whose keys are the IDs; unmatched IDs are skipped without comment, so a list with no matches yields an empty reply.
{
"20417": {"charge": "0.0300", "start_count": 845, "status": "In progress", "remains": 40, "currency": "USD"},
"20418": {"charge": "0.0000", "start_count": 0, "status": "Canceled", "remains": 500, "currency": "USD"}
}
cancel
Pass orders (a comma list, 100 IDs max) or one order. Over 100 IDs is rejected whole, with nothing touched. The reply holds a row for each ID, same sequence as your input. A value of 1 tells you delivery has halted and the unused money has been credited; from then on status reads Canceled if nothing arrived, otherwise Partial. Sending one order yields {"order": ID, "cancel": 1} or an error object.
[
{"order": 20417, "cancel": 1},
{"order": 20418, "cancel": {"error": "Cancel is not available for this order"}},
{"order": 99999, "cancel": {"error": "Incorrect order ID"}}
]
We made API cancel deliberately strict:
- Eligible: an order still Pending, Processing or In progress, on a service listed with cancel true.
- Nothing changes until the stop is confirmed. No confirmation means the order is untouched and its row tells you to try again later.
- A repeat cancel on an order that is already Canceled answers 1 once more, which makes retries after a network glitch harmless.
- Should the order prove to be done already, it is marked Completed, nothing is refunded, and its row reports an error.
- Each request gets a 20-second budget; IDs left unprocessed come back with a resend message.
- Quantity ordered
- 500
- Paid (charge)
- 0.1500
- Undelivered by the recorded count
- 200
- Back to your balance
- 0.1500 × 200 ÷ 500 = 0.0600
- Afterwards
- Partial, charge 0.0900, remains 200
Website orders follow the same rule: see refunds.
Order statuses
The API returns the status words the English customer area shows; the second column has the Spanish panel labels.
| status | Spanish panel | Final? | Meaning and what to do |
|---|---|---|---|
| Pending | Pendiente | no | Charged, waiting its turn. One that never gets going is canceled with a full refund after roughly 15 minutes. |
| Processing | En proceso | no | Handed to processing; no units counted so far. Poll again. |
| In progress | En curso | no | Units arriving, remains shrinking. Poll again. |
| Completed | Completado | yes | Everything ordered arrived; remains is 0. |
| Partial | Parcial | yes | Only some units arrived; the money for the rest has been credited. |
| Canceled | Cancelado | yes, once charge is 0.0000 | Zero units, full credit. One twist: an order whose sending is still being retried after an error also reads Canceled, yet keeps its full charge, so poll it until charge drops. |
| Refunded | Reembolsado | yes | Fully credited without you canceling, e.g. after one of our automatic checks. |
Error messages
The error field carries exactly one of these strings, so your code can match them as they are. General, status and cancel errors come back in English. Validation messages for add are returned in Spanish; the table below gives each one with its meaning in English. Only the first failed check is reported per call.
General, status and cancel errors (English)
| error | Cause and what to do |
|---|---|
| Invalid API key | No key, a mistyped or regenerated key, or a suspended account. |
| Invalid action | action missing, misspelled, or outside the supported five. |
| Incorrect order ID | status or cancel: the number is missing, does not exist or is not yours. |
| Too many orders: send at most 100 IDs per request | Send smaller chunks. |
| Cancel is not available for this order | The service cannot be canceled, or the order is already final. Do not retry. |
| The order is still being sent for processing, please retry in a few seconds | cancel hit an order mid-handoff. Wait briefly and resend. |
| The order cannot be canceled right now, please retry shortly | Confirmation was not possible this time. Resend later. |
| Request took too long, please retry this order | The 20-second budget ended before this ID. Resend it. |
| Server error | Something broke on our end. If it followed an add, look at your orders list before resending. |
add validation (returned in Spanish)
| error | Cause and what to do |
|---|---|
| El campo servicio es obligatorio. | service is missing. A missing link or quantity gives the same sentence with «enlace» or «cantidad». |
| El valor elegido para servicio no es válido. | Unknown service ID. |
| Este servicio no está disponible por ahora. | That service is disabled right now; fetch services again. |
| El campo cantidad debe ser un número entero. | quantity has decimals or is not numeric. Zero or negative values produce «El campo cantidad debe ser al menos 1.». |
| La cantidad debe estar entre N y M. | quantity is outside the service limits (N and M arrive as the real values). |
| El campo enlace no puede tener más de 2048 caracteres. | The link is too long. |
| No tienes saldo suficiente. Recarga tu cuenta. | Insufficient funds for this order; no charge was made. |
Rate limit
A key gets 300 calls per minute, and errors count toward that. Replies under the cap include X-RateLimit-Limit and X-RateLimit-Remaining headers for pacing. Past the cap you receive HTTP 429 with this body; there is no Retry-After header, so pause until the minute rolls over. A refused call changes nothing.
{"error": "Rate limit exceeded — too many requests, please slow down."}
Facts last checked: