API Documentation
HTTP Method POST
API URL
https://tagrani.com/api/v1
Response format JSON
Get Services
To Get a List of All Active Services :
https://tagrani.com/api/v1/?action=services
Result example :
[
{
"id": 4,
"name": "Service 4",
"description": "Description of Service4",
"category": "Instagram",
"min": 500,
"max": 5000,
"price": "30" //Tomans,Per Once
},
{
"id": 5,
"name": "Service 5",
"description": "Description of Service4",
"category": "Twitter",
"min": 1000,
"max": 100000,
"price": "10"
}
]
QUERY PARAMETERS
Field | Type | Description |
---|---|---|
key | String | Your API key. |
Add Order
To Order Services :
https://tagrani.com/api/v1/?action=add
Result example :
{
"order" : 104 //Order Id
}
QUERY PARAMETERS
Field | Type | Description |
---|---|---|
key | String | Your API key. |
service | Integer | Service ID |
link | String | Link to page |
quantity | Integer | Needed quantity |
comments | string | Custom Comments //Comments list separated \n Just Need For Comment Services |
Status
To Get Status of One Order :
https://tagrani.com/api/v1/?action=status
Result example :
{
"charge": "0.27819",
"start_count": "3572",
"status": "Processing",
"remains": "157",
"currency": "Tomans"
}
QUERY PARAMETERS
Field | Type | Description |
---|---|---|
key | String | Your API key. |
order | Integer | Order ID |
Multi Order Status
To Get Status of Orders :
https://tagrani.com/api/v1/?action=status
Result example :
{
"1": {
"charge": "0.27819",
"start_count": "3572",
"status": "Processing",
"remains": "157",
"currency": "USD"
},
"10": {
"error": "Incorrect order ID"
},
"100": {
"charge": "1.44219",
"start_count": "234",
"status": "Done",
"remains": "10",
"currency": "USD"
}
}
QUERY PARAMETERS
Field | Type | Description |
---|---|---|
key | String | Your API key. |
orders | string | Order IDs separated by comma |
Balance
To Get Your Wallet Balance :
https://tagrani.com/api/v1/?action=balance
Result example :
{
"balance": "100.84292",
"currency": "Tomans"
}
QUERY PARAMETERS
Field | Type | Description |
---|---|---|
key | String | Your API key. |