API Dökümanı
HTTP Method |
POST |
API URL |
https://trmedya.market/api |
Response Format - Çıktı |
JSON |
Servis Listesi
Parameters - Parametreler |
Description - Açıklama |
key |
Your API Key |
action |
services |
Örnek Çıktı
[
{
"service": 1,
"name": "Instagram Followers",
"type": "Default",
"category": "Instagram",
"rate": "1.50",
"min": "25",
"max": "10000"
},
{
"service": 23,
"name": "Twitter Followers",
"type": "Default",
"category": "Twitter",
"rate": "6",
"min": "25",
"max": "1000"
}
]
Sipariş Oluşturma
Parameters - Parametreler |
Description - Açıklama |
key |
Your API Key |
action |
add |
service |
Service ID - Servis Numarası |
link |
Link to Page - Link |
quantity |
Needed Quantity - Miktar |
Example Response - Örnek Çıktı
{
"order": 23501
}
Sipariş Durum Kontrolü
Parameters - Parametreler |
Description - Açıklama |
key |
Your API Key |
action |
status |
order |
Order ID - Sipariş Numarası |
Example Response - Örnek Çıktı
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "TRY"
}
Çoklu Sipariş Durum Kontrolü
Parameters - Parametreler |
Description - Açıklama |
key |
Your API Key |
action |
status |
orders |
Order IDs (Separated by Comma) - Sipariş Numaraları (Virgülle Ayrılmış) |
Example Response - Örnek Çıktı
{
"1": {
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "TRY"
},
"10": {
"error": "Incorrect order ID",
"error_tr": "Hatalı Sipariş Numarası"
},
"100": {
"charge": "1.44219",
"start_count": "234",
"status": "In progress",
"remains": "10",
"currency": "TRY"
}
}
Bakiye Kontrolü
Parameters - Parametreler |
Description - Açıklama |
key |
Your API Key |
action |
balance |
Örnek Çıktı
{
"balance": "100.84292",
"currency": "TRY"
}