강력한 REST API로 서비스를 플랫폼에 직접 연동하세요. 빠르고 안정적이며 구현이 쉽습니다. 나만의 성장 도구 또는 리셀러 패널을 오늘 만들어 보세요.
저희 API는 REST 원칙을 따릅니다. 표준 HTTP 응답 코드, 인증, 메서드를 사용합니다. 모든 요청은 기본 URL로 보내며 JSON 형식으로 응답합니다.
https://smmto.com/api/v2
요청을 인증하려면 고유 API 키를 모든 요청의 `key` 매개변수로 포함해야 합니다. API 키는 계정 대시보드에서 확인할 수 있습니다.
POST https://smmto.com/api/v2
Content-Type: application/json
{
"key": "your-api-key-here",
"action": "services"
}
API 키를 비밀로 유지하세요. 공개 저장소, 클라이언트 코드, 문서에 공유하지 마세요. 유출되면 즉시 재발급하세요.
플랫폼에서 이용 가능한 모든 소셜 미디어 서비스에 새 주문을 넣으세요.
| 매개변수 | 유형 | 필수 | 설명 |
|---|---|---|---|
| key | string | Yes | Your unique API key |
| action | string | Yes | "add" |
| service | integer | Yes | Service ID (from Services List) |
| link | string | Yes | Target URL (e.g. Channel link) |
| quantity | integer | Yes | Total quantity to deliver |
요청 예제
{
"key": "your-api-key",
"action": "add",
"service": 1,
"link": "https://t.me/yourchannel",
"quantity": 1000
}
응답 예제
{
"order": 23501,
"status": "success"
}
이전에 넣은 주문의 상태와 진행 상황을 확인하세요.
| 매개변수 | 유형 | 필수 | 설명 |
|---|---|---|---|
| key | string | Yes | Your API key |
| action | string | Yes | "status" |
| order | integer | Yes | The ID of the order |
{
"charge": "0.5000",
"start_count": "1200",
"status": "In Progress",
"remains": "450",
"currency": "USD"
}
효율이 중요합니다. 벌크 엔드포인트로 한 번의 API 호출에 최대 100건의 주문을 넣으세요.
{
"key": "your-api-key",
"action": "add_bulk",
"orders": [
{ "service": 1, "link": "link_1", "quantity": 100 },
{ "service": 2, "link": "link_2", "quantity": 250 }
]
}
Cancel a pending or in-progress order by order ID.
{
"key": "your-api-key",
"action": "cancel",
"order": 23501
}
Request a refill for eligible orders that dropped below the guaranteed level.
{
"key": "your-api-key",
"action": "refill",
"order": 23501
}
Retrieve the full list of available services, rates, min/max quantities, and metadata.
{
"key": "your-api-key",
"action": "services"
}
API는 성공 또는 실패를 나타내기 위해 표준 HTTP 상태 코드를 사용합니다.
| 코드 | 메시지 | 설명 |
|---|---|---|
| 400 | Invalid request | Missing or invalid parameters |
| 401 | Invalid API key | Authentication failed |
| 404 | Service not found | Invalid service ID |
| 429 | Rate limit exceeded | Too many requests |
| 500 | Internal error | Server-side error |
API requests are limited to 100 requests per minute per API key. Exceeding this limit returns HTTP 429. Contact support for higher throughput on reseller plans.
v2.0 — Unified REST endpoint at /api/v2 with bulk orders, refill status, and improved error responses.
| 매개변수 | 설명 |
|---|---|
key |
Your API key |
action |
services |
응답 예제
[
{
"service": 1,
"name": "Followers",
"type": "Default",
"category": "First Category",
"rate": "0.90",
"min": "50",
"max": "10000",
"refill": true,
"cancel": true
},
{
"service": 2,
"name": "Comments",
"type": "Custom Comments",
"category": "Second Category",
"rate": "8",
"min": "10",
"max": "1500",
"refill": false,
"cancel": true
}
]
응답 예제
{
"order": 23501
}
| 매개변수 | 설명 |
|---|---|
key |
Your API key |
action |
status |
order |
Order ID |
응답 예제
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}
| 매개변수 | 설명 |
|---|---|
key |
Your API key |
action |
status |
orders |
Order IDs (separated by a comma, up to 100 IDs) |
응답 예제
{
"1": {
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
},
"10": {
"error": "Incorrect order ID"
},
"100": {
"charge": "1.44219",
"start_count": "234",
"status": "In progress",
"remains": "10",
"currency": "USD"
}
}
| 매개변수 | 설명 |
|---|---|
key |
Your API key |
action |
refill |
order |
Order ID |
응답 예제
{
"refill": "1"
}
| 매개변수 | 설명 |
|---|---|
key |
Your API key |
action |
refill |
orders |
Order IDs (separated by a comma, up to 100 IDs) |
응답 예제
[
{
"order": 1,
"refill": 1
},
{
"order": 2,
"refill": 2
},
{
"order": 3,
"refill": {
"error": "Incorrect order ID"
}
}
]
| 매개변수 | 설명 |
|---|---|
key |
Your API key |
action |
refill_status |
refill |
Refill ID |
응답 예제
{
"status": "Completed"
}
| 매개변수 | 설명 |
|---|---|
key |
Your API key |
action |
refill_status |
refills |
Refill IDs (separated by a comma, up to 100 IDs) |
응답 예제
[
{
"refill": 1,
"status": "Completed"
},
{
"refill": 2,
"status": "Rejected"
},
{
"refill": 3,
"status": {
"error": "Refill not found"
}
}
]
| 매개변수 | 설명 |
|---|---|
key |
Your API key |
action |
cancel |
orders |
Order IDs (separated by a comma, up to 100 IDs) |
응답 예제
[
{
"order": 9,
"cancel": {
"error": "Incorrect order ID"
}
},
{
"order": 2,
"cancel": 1
}
]
| 매개변수 | 설명 |
|---|---|
key |
Your API key |
action |
balance |
응답 예제
{
"balance": "100.84292",
"currency": "USD"
}