Reseller ISP API
Create new package
https://api.infatica.io/isp/package
- Method:
POST
- Summary: Create new package
- Header Parameters:
- api-key (string, required): User-reseller’s API key.
- Body Parameters:
- country (string, required): Country of ISP proxy.
- count (integer, optional, default: 1): Number of proxies.
- expired_at (string, optional): Expiration date and time (
YYYY-MM-DD HH:mm:ss
).
- Responses:
200
: Package successfully created.400
: Wrong country or not enough balance to order.
Example success response:
{
"description": "Package successfully created",
"results": {
"service_key": "service_key_value",
"balance": "180.75"
}
}
Suspend package
https://api.infatica.io/isp/package/{packagekey}/suspend
- Method:
POST
- Summary: Suspend package
- Header Parameters:
- api-key (string, required): User-reseller’s API key.
- Path Parameters:
- packagekey (string, required): Key of the package.
- Responses:
200
: Package suspended.400
: Wrong country or not enough balance to order.
Example success response:
{
"description": "Package suspended",
"results": {
"service_key": "service_key_value"
}
}
Deactivate package
https://api.infatica.io/isp/package/{packagekey}/deactivate
- Method:
POST
- Summary: Deactivate package
- Header Parameters:
- api-key (string, required): User-reseller’s API key.
- Path Parameters:
- packagekey (string, required): Key of the package.
- Responses:
200
: Package deactivated.400
: Wrong country or not enough balance to order.
Example success response:
{
"description": "Package deactivated",
"results": {
"service_key": "service_key_value",
}
}
Resume package
https://api.infatica.io/isp/package/{packagekey}/resume
- Method:
POST
- Summary: Resume package
- Header Parameters:
- api-key (string, required): User-reseller’s API key.
- Path Parameters:
- packagekey (string, required): Key of the package.
- Responses:
200
: Package resumed.400
: Wrong country or not enough balance to order.
Example success response:
{
"description": "Package resumed",
"results": {
"service_key": "service_key_value"
}
}
Info about package
https://api.infatica.io/isp/package/{packagekey}/info
- Method:
GET
- Summary: Info about package
- Header Parameters:
- api-key (string, required): User-reseller’s API key.
- Path Parameters:
- packagekey (string, required): Key of the package.
- Responses:
200
: Package found.400
: Wrong country or not enough balance to order.
Example success response:
{
"description": "Package found",
"results": {
"service_key": "b.....4932",
"status": "Active",
"country": "Country_name",
"proxy": [
{
"ip": "89.1.1.1",
"port_http": "http_port",
"port_socks": "socks_port",
"login": "user_login",
"password": "user_password"
}
]
}
}
Get available countries for ISP proxies
https://api.infatica.io/isp/countries
- Method:
GET
- Summary: Get available countries for ISP proxies
- Header Parameters:
- api-key (string, required): User-reseller’s API key.
- Responses:
200
: Array of available country names.400
: Wrong country or not enough balance to order.
Example success response:
[
"Country_name_1",
"Country_name_2",
"Country_name_3",
"Country_name_N"
]
Get balance and price for 1 IP
https://api.infatica.io/isp/balance
- Method:
GET
- Summary: Get balance and price for 1 IP
- Header Parameters:
- api-key (string, required): User-reseller’s API key.
- Responses:
200
: Balance and price returned.400
: Wrong country or not enough balance to order.
Example success response:
{
"balance": 179.75,
"price for 1 IP": 1.5
}