cURL
curl --get 'https://miyaip.com/api/UserIsps/PageList' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR_TOKEN>' \
--data-urlencode 'PageNo=1' \
--data-urlencode 'PageSize=10' \
--data-urlencode 'IspType=-1' \
--data-urlencode 'Vid=all'const params = new URLSearchParams({
"PageNo": "1",
"PageSize": "10",
"IspType": "-1",
"Vid": "all"
});
const url = `https://miyaip.com/api/UserIsps/PageList?${params}`;
const response = await fetch(url, {
method: 'GET',
headers: {
"Accept": "application/json",
"Authorization": "Bearer <YOUR_TOKEN>"
},
});
const result = await response.text();
console.log(result);import requests
url = "https://miyaip.com/api/UserIsps/PageList"
headers = {
"Accept": "application/json",
"Authorization": "Bearer <YOUR_TOKEN>"
}
params = {
"PageNo": 1,
"PageSize": 10,
"IspType": -1,
"Vid": "all"
}
response = requests.get(url, headers=headers, params=params, timeout=30)
response.raise_for_status()
print(response.text){
"code": 200,
"message": "Success",
"body": {
"pageNo": 1,
"pageSize": 10,
"totalPage": 1,
"totalRows": 1,
"records": [
{
"id": 12001,
"ipNo": "<IP_NO>",
"ispType": 0,
"ip": "proxy.example:10000:user:********",
"directIp": "203.0.113.10:10000:user:********",
"ispLocation": "US",
"expireTime": "2026-12-31 23:59:59"
}
]
}
}{
"code": 500,
"message": "Invalid request",
"body": null
}Proxy inventory
MiyaIP residential assets API: filter and paginate proxy IPs
Query MiyaIP residential proxy assets with a Bearer token, pagination, status, product type, location, keyword, and sorting filters.
cURL
curl --get 'https://miyaip.com/api/UserIsps/PageList' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR_TOKEN>' \
--data-urlencode 'PageNo=1' \
--data-urlencode 'PageSize=10' \
--data-urlencode 'IspType=-1' \
--data-urlencode 'Vid=all'const params = new URLSearchParams({
"PageNo": "1",
"PageSize": "10",
"IspType": "-1",
"Vid": "all"
});
const url = `https://miyaip.com/api/UserIsps/PageList?${params}`;
const response = await fetch(url, {
method: 'GET',
headers: {
"Accept": "application/json",
"Authorization": "Bearer <YOUR_TOKEN>"
},
});
const result = await response.text();
console.log(result);import requests
url = "https://miyaip.com/api/UserIsps/PageList"
headers = {
"Accept": "application/json",
"Authorization": "Bearer <YOUR_TOKEN>"
}
params = {
"PageNo": 1,
"PageSize": 10,
"IspType": -1,
"Vid": "all"
}
response = requests.get(url, headers=headers, params=params, timeout=30)
response.raise_for_status()
print(response.text){
"code": 200,
"message": "Success",
"body": {
"pageNo": 1,
"pageSize": 10,
"totalPage": 1,
"totalRows": 1,
"records": [
{
"id": 12001,
"ipNo": "<IP_NO>",
"ispType": 0,
"ip": "proxy.example:10000:user:********",
"directIp": "203.0.113.10:10000:user:********",
"ispLocation": "US",
"expireTime": "2026-12-31 23:59:59"
}
]
}
}{
"code": 500,
"message": "Invalid request",
"body": null
}Read a paginated list of residential proxy assets for the authenticated account. This endpoint retrieves existing assets; it does not purchase, renew, or generate proxies.
Query existing assets
- Obtain a token from Log in and enter it as the Bearer credential.
- Set pagination and any required status, product type, location, keyword, or sorting filters using the parameters below.
- Send the request, check the HTTP and business results, then inspect the returned page and total before requesting the next page with the same filters.
Vid and IspType from their documented enumerations. Keep IspType=0 when you intend that filter value; zero is a valid choice, not an empty field. Sorting supports the documented fields and asc or desc order. Omitting an optional filter differs from supplying a filter value.
The form’s pagination bounds come from the current public interface. Use the static residential quick start to manage purchased IPs in the dashboard, and see API response handling for errors.
Online debugging
Source: official residential asset reference.Authorizations
Use token from the login response in the Authorization: Bearer header. The source does not specify token lifetime or refresh behavior.
Query Parameters
Page number starting at 1.
Example:
1
Number of records per page.
Example:
10
-1 returns all; 0 is exclusive; 1 is shared.
Available options:
-1, 0, 1 Example:
-1
Inventory status filter.
Available options:
all, new, valid, exp, expiringsoon Example:
"all"
Optional ISP location filter.
Search by IP or related identifier.
Optional created-time or expiry-time sorting.
Available options:
sysCreateTime, expireTime Optional. Omit it for the current default ascending behavior.
Available options:
asc, desc