OpenAPIOpenAPI
  • English
  • 简体中文
  • Indonesia
  • हिंदी
  • Русский
  • Tiếng Việt
  • German
  • português
  • English
  • 简体中文
  • Indonesia
  • हिंदी
  • Русский
  • Tiếng Việt
  • German
  • português
  • ProxyLite OpenAPI

ProxyLite OpenAPI

Supports management of personal accounts, agent resources, and team billing via site OpenAPI prefix.

The authentication method is subject to the security definition of each operation:

  • apiKeyAuth: Pass in the personal or team API Key through the query parameter app_key; the backend is also compatible with key, appkey, openid parameters and POST request body parameters.
  • bearerAuth: Authorization: Bearer <JWT>, used for web login tokens. Don't think of API Keys as JWTs.
  • Team API Key is bound to a fixed team; interfaces that support team space can omit team_id, and the explicit input must be consistent with the Key binding team.
  • Interfaces that only support personal space will reject the team API Key; team operations still follow the resource permissions of the holding member.

JSON response contains code, msg, data, request_id. code=200 means the business is successful; HTTP 200 may also carry a business error code. msg changes with the request language, and the client should use code to determine the result. Some export interfaces also support text, CSV or XML, see the operation definition for details. The amount, flow, date and paging fields are subject to the Schema of each interface.

Base URLs:

  • https://api.proxylite.com

Authentication

  • HTTP Authentication, scheme: bearer
  • API Key (apiKeyAuth)
    • Parameter Name: app_key, in: query. Personal or team API Key. Recommended query parameter app_key; also compatible with key/appkey/openid and POST request body. Team Keys can only access supported interfaces of the bound team.

Agency account management

Agent account list (GET /end-point/whitelist-account/list)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/whitelist-account/list \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/whitelist-account/list

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalseResource space identifier; omit personal space or pass an empty string; team Key can be omitted and must be consistent with the Key when passed in

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": {
    "list": [
      {
        "id": 0,
        "username": "string",
        "password": "string",
        "created_at": "string",
        "remark": "string",
        "product_type": 9,
        "usage_flow": 0,
        "limit_flow": 102400,
        "status": 0
      }
    ]
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» coderesponseCodefalsenoneStatus code, 200 successful, 3 app_key invalid
» msgstringfalsenonestatus message
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» idintegerfalsenoneAccount number
»»» usernamestringfalsenoneAgent account name
»»» passwordstringfalsenoneAgent account password
»»» created_atstringfalsenoneAdd time
»»» remarkstringfalsenoneRemarks
»»» product_typeproductTypesfalsenonePackage type, 9 dynamic residential traffic package, 11 dynamic residential IP, 14 static data center IP, 25 static residential IP
»»» usage_flowintegerfalsenoneUsed traffic, unit: KB
»»» limit_flowintegerfalsenoneCustomized traffic limit: maximum unit GB is 102400, 0 is no limit
»»» statusintegerfalsenoneEnabled status: 1 enabled, 0 disabled

Enumerated Values

PropertyValue
product_type9
product_type11
product_type14
product_type25
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Detect traffic limits that can be set on proxy accounts

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/whitelist-account/check \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/whitelist-account/check

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "account": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» accountbodystringfalsePass in the account name when editing an existing agent account

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "isAgent": 0,
    "trendMax": 0,
    "staticMax": 0,
    "maxLimit": 0,
    "minLimit": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Enumerated Values

PropertyValue
isAgent0
isAgent1
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Obtain dynamic agent sub-account quota and used quantity

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/whitelist-account/child-account \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/whitelist-account/child-account

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalseResource space identifier; personal space omit or pass empty string

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "totalChildAccount": 0,
    "usedChildAccount": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Add agent account. (POST /end-point/whitelist-account/add)

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/whitelist-account/add \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/whitelist-account/add

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "app_key": "stringstringstringstringstringst",
  "accounts": "user01:pass,user02:pass,user03:pass",
  "remark": "",
  "product_type": 9
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» app_keybodystringfalseAuthorization key
» accountsbodystringtrueAccount password, please fill it in the format username:password. Account and password only support numbers and letters. It is prohibited to enter any special symbols or spaces. A colon separates the account and password. Batch addition is supported, and agent accounts are separated by English commas (,).
» remarkbodystringfalseAgent account description
» product_typebodyproductTypesfalsePackage type, 9 dynamic residential traffic package, 11 dynamic residential IP, 14 static data center IP, 25 static residential IP

Enumerated Values

ParameterValue
» product_type9
» product_type11
» product_type14
» product_type25

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": null
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 successful, 3 app_key invalid, 156 account not authenticated.
» msgstringfalsenonestatus message
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Delete proxy account (POST /end-point/whitelist-account/delete)

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/whitelist-account/delete \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/whitelist-account/delete

Please note that it cannot be restored after deletion, and the used traffic cannot be queried. There will be a waiting time of approximately 5 minutes for deletion, during which charges may still be incurred.

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "app_key": "stringstringstringstringstringst",
  "accounts": "user01,user02"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» app_keybodystringfalseAuthorization key
» accountsbodystringtrueAgent account, only numbers and letters are supported. Support batch operations, English commas (,) separate agent accounts

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": null
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 successful, 3 app_key invalid, 156 account not authenticated.
» msgstringfalsenonestatus message
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Disable proxy account (POST /end-point/whitelist-account/disable)

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/whitelist-account/disable \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/whitelist-account/disable

There will be a waiting time of approximately 5 minutes for disabling, during which time charges may still be incurred.

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "app_key": "stringstringstringstringstringst",
  "accounts": "user01,user02"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» app_keybodystringfalseAuthorization key
» accountsbodystringtrueAgent account, only numbers and letters are supported. Support batch operations, English commas (,) separate agent accounts

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": null
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 successful, 3 app_key invalid, 156 account not authenticated.
» msgstringfalsenonestatus message
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Enable proxy account (POST /end-point/whitelist-account/enable)

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/whitelist-account/enable \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/whitelist-account/enable

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "app_key": "stringstringstringstringstringst",
  "accounts": "user01,user02"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» app_keybodystringfalseAuthorization key
» accountsbodystringtrueAgent account, only numbers and letters are supported. Support batch operations, English commas (,) separate agent accounts

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": null
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 successful, 3 app_key invalid, 156 account not authenticated.
» msgstringfalsenonestatus message
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Change agent account password

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/whitelist-account/change-password \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/whitelist-account/change-password

Please note that there is a 5-minute waiting period after modification, during which the old password may still be used normally.

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "app_key": "stringstringstringstringstringst",
  "account": "user",
  "password": "pass"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» app_keybodystringfalseAuthorization key
» accountbodystringtrueAgent account, only numbers and letters are supported.
» passwordbodystringtrueThe new password for the agent account, only supports numbers and letters.

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": null
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 successful, 3 app_key invalid, 156 account not authenticated.
» msgstringfalsenonestatus message
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Modify agent account remarks

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/whitelist-account/change-remark \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/whitelist-account/change-remark

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "app_key": "stringstringstringstringstringst",
  "account": "user",
  "remark": ""
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» app_keybodystringfalseAuthorization key
» accountbodystringtrueAgent account, only numbers and letters are supported.
» remarkbodystringtrueNew remarks for agency accounts, within 32 Chinese characters or 64 English characters.

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": null
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 successful, 3 app_key invalid, 156 account not authenticated.
» msgstringfalsenonestatus message
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Modify the proxy account traffic limit

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/whitelist-account/change-limit \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/whitelist-account/change-limit

Please note that traffic statistics may be delayed within 5 minutes, that is, the actual traffic consumed may exceed this limit.

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "app_key": "stringstringstringstringstringst",
  "account": "user",
  "limit": 0
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» app_keybodystringfalseAuthorization key
» accountbodystringtrueAgent account, only numbers and letters are supported.
» limitbodyintegerfalseTraffic limit, unit: GB, 0 means no upper limit

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": null
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 successful, 3 app_key invalid, 156 account not authenticated.
» msgstringfalsenonestatus message
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Quickly create an agent account

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/whitelist-account/quick-add \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/whitelist-account/quick-add

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "product_type": 0
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» product_typebodyintegertruenone

Example responses

200 Response

{
  "code": 0,
  "msg": "string",
  "request_id": "string",
  "data": {
    "username": "string",
    "password": "string"
  }
}

Responses

StatusMeaningDescriptionSchema
200OKA new account and password will be returned when the business is successful.Inline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenonenone
» msgstringfalsenonenone
» request_idstringfalsenonenone
» dataanyfalsenonenone

oneOf

NameTypeRequiredRestrictionsDescription
»» anonymousobjectfalsenonenone
»»» usernamestringtruenonenone
»»» passwordstringtruenonenone

xor

NameTypeRequiredRestrictionsDescription
»» anonymousnullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Modify the daily traffic limit of the agent account

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/whitelist-account/change-daily-limit \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/whitelist-account/change-daily-limit

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "account": "string",
  "daily_limit": 0
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» accountbodystringtruenone
» daily_limitbodyintegerfalseUnit GB

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOperation successfulWebV1SuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Modify agent account information (POST /end-point/whitelist-account/change)

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/whitelist-account/change \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/whitelist-account/change

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "account": "string",
  "password": "string",
  "remark": "string",
  "limit": 0,
  "daily_limit": 0,
  "status": 0,
  "udp": 0
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» accountbodystringtruenone
» passwordbodystringfalsenone
» remarkbodystringfalsenone
» limitbodyintegerfalseTotal traffic limit in GB
» daily_limitbodyintegerfalseDaily traffic limit in GB
» statusbodyintegerfalsenone
» udpbodyintegerfalsenone

Enumerated Values

ParameterValue
» status0
» status1
» udp0
» udp1

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOperation successfulWebV1SuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Refresh the proxy account authentication cache of the current resource space

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/whitelist-account/refresh \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/whitelist-account/refresh

Body parameter

{
  "team_id": "A1b2C3d4E5f6"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOperation successfulWebV1SuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Agency account quota for specified product types

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/whitelist-account/quota?product_type=0 \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/whitelist-account/quota

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
product_typequeryintegertruenone

Example responses

200 Response

{
  "code": 0,
  "msg": "string",
  "request_id": "string",
  "data": {
    "usage": 0,
    "limit": 0,
    "expand": 0
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenonenone
» msgstringfalsenonenone
» request_idstringfalsenonenone
» dataobjectfalsenonenone
»» usageintegertruenonenone
»» limitintegertruenonenone
»» expandintegertruenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Agency account quotas for all product types

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/whitelist-account/quotas \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/whitelist-account/quotas

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone

Example responses

200 Response

{
  "code": 0,
  "msg": "string",
  "request_id": "string",
  "data": {
    "list": [
      {
        "product_type": 0,
        "limit": 0,
        "usage": 0
      }
    ]
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenonenone
» msgstringfalsenonenone
» request_idstringfalsenonenone
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» product_typeintegerfalsenonenone
»»» limitintegerfalsenonenone
»»» usageintegerfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Agent account list (GET /end-point/proxy-account/list)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/proxy-account/list \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/proxy-account/list

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalseResource space identifier; omit personal space or pass an empty string; team Key can be omitted and must be consistent with the Key when passed in

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": {
    "list": [
      {
        "id": 0,
        "username": "string",
        "password": "string",
        "created_at": "string",
        "remark": "string",
        "product_type": 9,
        "usage_flow": 0,
        "limit_flow": 102400,
        "status": 0
      }
    ]
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» coderesponseCodefalsenoneStatus code, 200 successful, 3 app_key invalid
» msgstringfalsenonestatus message
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» idintegerfalsenoneAccount number
»»» usernamestringfalsenoneAgent account name
»»» passwordstringfalsenoneAgent account password
»»» created_atstringfalsenoneAdd time
»»» remarkstringfalsenoneRemarks
»»» product_typeproductTypesfalsenonePackage type, 9 dynamic residential traffic package, 11 dynamic residential IP, 14 static data center IP, 25 static residential IP
»»» usage_flowintegerfalsenoneUsed traffic, unit: KB
»»» limit_flowintegerfalsenoneCustomized traffic limit: maximum unit GB is 102400, 0 is no limit
»»» statusintegerfalsenoneEnabled status: 1 enabled, 0 disabled

Enumerated Values

PropertyValue
product_type9
product_type11
product_type14
product_type25
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Add agent account. (POST /end-point/proxy-account/add)

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/proxy-account/add \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/proxy-account/add

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "app_key": "stringstringstringstringstringst",
  "accounts": "user01:pass,user02:pass,user03:pass",
  "remark": "",
  "product_type": 9
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» app_keybodystringfalseAuthorization key
» accountsbodystringtrueAccount password, please fill it in the format username:password. Account and password only support numbers and letters. It is prohibited to enter any special symbols or spaces. A colon separates the account and password. Batch addition is supported, and agent accounts are separated by English commas (,).
» remarkbodystringfalseAgent account description
» product_typebodyproductTypesfalsePackage type, 9 dynamic residential traffic package, 11 dynamic residential IP, 14 static data center IP, 25 static residential IP

Enumerated Values

ParameterValue
» product_type9
» product_type11
» product_type14
» product_type25

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": null
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 successful, 3 app_key invalid, 156 account not authenticated.
» msgstringfalsenonestatus message
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Delete proxy account (POST /end-point/proxy-account/delete)

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/proxy-account/delete \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/proxy-account/delete

Please note that it cannot be restored after deletion, and the used traffic cannot be queried. There will be a waiting time of approximately 5 minutes for deletion, during which charges may still be incurred.

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "app_key": "stringstringstringstringstringst",
  "accounts": "user01,user02"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» app_keybodystringfalseAuthorization key
» accountsbodystringtrueAgent account, only numbers and letters are supported. Support batch operations, English commas (,) separate agent accounts

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": null
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 successful, 3 app_key invalid, 156 account not authenticated.
» msgstringfalsenonestatus message
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Enable proxy account (POST /end-point/proxy-account/enable)

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/proxy-account/enable \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/proxy-account/enable

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "app_key": "stringstringstringstringstringst",
  "accounts": "user01,user02"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» app_keybodystringfalseAuthorization key
» accountsbodystringtrueAgent account, only numbers and letters are supported. Support batch operations, English commas (,) separate agent accounts

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": null
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 successful, 3 app_key invalid, 156 account not authenticated.
» msgstringfalsenonestatus message
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Disable proxy account (POST /end-point/proxy-account/disable)

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/proxy-account/disable \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/proxy-account/disable

There will be a waiting time of approximately 5 minutes for disabling, during which time charges may still be incurred.

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "app_key": "stringstringstringstringstringst",
  "accounts": "user01,user02"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» app_keybodystringfalseAuthorization key
» accountsbodystringtrueAgent account, only numbers and letters are supported. Support batch operations, English commas (,) separate agent accounts

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": null
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 successful, 3 app_key invalid, 156 account not authenticated.
» msgstringfalsenonestatus message
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Modify agent account information (POST /end-point/proxy-account/change)

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/proxy-account/change \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/proxy-account/change

Modify the proxy account password, remarks, traffic limit, daily traffic limit, enabled status, or UDP switch.

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "app_key": "string",
  "account": "string",
  "password": "string",
  "remark": "string",
  "limit": 0,
  "daily_limit": 0,
  "status": 0,
  "udp": 0
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» app_keybodystringfalseAuthorization key
» accountbodystringtrueAgent account name
» passwordbodystringfalseNew password, 6-16 digits or letters; if not passed, it will not be modified.
» remarkbodystringfalseNew note
» limitbodyintegerfalseTraffic limit, unit GB, 0 means no limit
» daily_limitbodyintegerfalseDaily traffic limit in GB, 0 means no limit
» statusbodyintegerfalseEnabled status
» udpbodyintegerfalseUDP support switch, only effective for package types 14, 16, 21, and 25

Enumerated Values

ParameterValue
» status0
» status1
» udp0
» udp1

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": null
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 success
» msgstringfalsenonestatus message
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Generate proxy connection information

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/whitelist-account/format?ac=0 \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/whitelist-account/format

Supports personal and team API Keys. Only the agent accounts that have access to the current resource space are returned, and package types 9, 11, and 12 are supported. JSON/XML returns a structured account list; txt/csv returns a connection string spliced ​​in f format.

Parameters

NameInTypeRequiredDescription
acqueryinteger,stringtrueAgent account ID or user name; compatible parameter account
aequerystringfalsenone
stquerystringfalsenone
ctquerystringfalsenone
lfqueryintegerfalsenone
nqueryintegerfalsenone
fqueryintegerfalseOnly affects the connection string format of txt/csv
typequerystringfalsenone
lbquerystringfalsenone
epquerystringfalsenone
team_idqueryResourceSpaceIdfalsenone

Enumerated Values

ParameterValue
f1
f2
f3
f4
f5
typejson
typexml
typetxt
typecsv

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "username": "string",
        "password": "string",
        "server": "string",
        "port": 0
      }
    ]
  },
  "request_id": "string"
}
"string"
<?xml version="1.0" encoding="UTF-8" ?>
<WebV1SuccessResponse>
  <code>200</code>
  <msg>SUCCESS</msg>
  <data/>
  <request_id>string</request_id>
</WebV1SuccessResponse>

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please check the business code, 200 means success.WebV1SuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Order management

Order creation, inquiry, cancellation, etc.

order list

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/order/list \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/order/list

Team space orders additionally return the creator, indicating the actual order member; administrators and super administrators can see the complete contact information, and other roles return desensitized contact information.

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalseOrder resource space identifier; personal space omit or pass empty string
page_noqueryintegerfalsenone
page_sizequeryintegerfalsenone
trade_noquerystringfalseorder number
start_timequerystring(date-time)falseStart time (inclusive), such as 2024-01-01 00:00:00
end_timequerystring(date-time)falseEnd time (not included)
statusqueryintegerfalseOrder status
product_typequeryintegerfalseproduct type
invoicequeryintegerfalseInvoice status: 0 no limit 1 invoiced -1 uninvoiced (can be reissued)
pay_fee_statusqueryintegerfalseLong and short payment screening: 1 Overpayment 2 Short payment

Detailed descriptions

status: Order status

StatusDescription
0Pending payment
1Paid
2Canceled due to overtime and non-payment
3Refunded

product_type: product type

Product TypeDescription
3Balance Recharge
9Dynamic traffic package
11Dynamic Global Time Package V2
12Long-term IDC traffic package
13Residential static IP traffic package
14Data center static IP package
15Long-term ISP traffic package
16Static traffic package
17Dynamic IP quantity package
18web-scraper
19Static IP Renewal
20Static IP replacement quota
21Static traffic package v2
24Static traffic add-on package
25Residential Static IP Package
26Replacement order - Some payment channels require users to manually fill in the amount, such as virtual currency. If a short payment occurs, you need to contact customer service to make a repayment through this product
27Serp
28Video

Enumerated Values

ParameterValue
status0
status1
status2
status3
product_type3
product_type9
product_type11
product_type12
product_type14
product_type16
product_type17
product_type18
product_type19
product_type21
product_type24
product_type25
product_type26
product_type27
product_type28
invoice-1
invoice0
invoice1
pay_fee_status1
pay_fee_status2

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "id": 0,
        "trade_no": "string",
        "out_trade_no": "string",
        "product_id": 0,
        "product_type": 0,
        "amount": 0,
        "unit_price": 0.1,
        "total_fee": 0.1,
        "goods_fee": 0.1,
        "pay_fee": 0.1,
        "discount_fee": 0.1,
        "handling_fee": 0.1,
        "refund_fee": 0.1,
        "pm_id": 0,
        "pm_title": "string",
        "pm_logo": "string",
        "status": 0,
        "title": "string",
        "detail": "string",
        "region_desc": "string",
        "pay_at": "2019-08-24T14:15:22Z",
        "pay_timestamp": 0,
        "created_at": "2019-08-24T14:15:22Z",
        "pay_fee_status": 0,
        "invoice": {
          "name": "string",
          "org_name": "string",
          "first_name": "string",
          "last_name": "string",
          "phone": "string",
          "email": "[email protected]",
          "role_type": 0,
          "vat_id": "string",
          "address_country": "string",
          "address_city": "string",
          "address_line1": "string",
          "address_line2": "string",
          "address_postal_code": "string"
        }
      }
    ],
    "pagination": {
      "total": 0,
      "page_no": 0,
      "page_size": 0,
      "total_pages": 0
    }
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKsuccessInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Create order

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/order/create \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/order/create

Since there are many types of packages and each package has different configurations, please fill in the parameters according to the actual situation. Improperly filling in parameters may result in order creation failure.

examples:

Renew static IP

{
    "pid": package ID, // obtained from /openapi/product interface
    "upids": "1,2,3,4,5,6", // Get the corresponding id field from the /openapi/ip/get-static-ip interface
    "pm_id": 1 // Obtained from /openapi/payment/list or /openapi/payment/groups interface
  }

Static Residential IP Purchase

{
  "pid": package ID, // obtained from /openapi/product interface
  "pm_id": payment method ID, // obtained from /openapi/payment/list or /openapi/payment/groups interface
  "region_list": "JP,15,333|DE,10,444|US,5,555" // Format: region, quantity, ASN|region, quantity, ASN (ASN number optional)
}

Static data center IP purchase

{
  "pid": package ID, // obtained from /openapi/product interface
  "pm_id": payment method ID, // obtained from /openapi/payment/list or /openapi/payment/groups interface
  "region_list": "JP,15,333|DE,10,444|US,5,555" // Format: region, quantity, ASN|region, quantity, ASN (ASN number optional)
}

Dynamic residential traffic purchase

{
  "pid": package ID, // obtained from /openapi/product interface
  "pm_id": Payment method ID // Obtained from /openapi/payment/list or /openapi/payment/groups interface
}

Static rotation traffic purchase

{
  "pid": package ID, // obtained from /openapi/product interface
  "pm_id": Payment method ID // Obtained from /openapi/payment/list or /openapi/payment/groups interface
}

Dynamic unlimited traffic purchase

{
  "pid": package ID, // obtained from /openapi/product interface
  "pm_id": payment method ID, // obtained from /openapi/payment/list or /openapi/payment/groups interface
  "product_sku_bandwidth_id": bandwidth specification ID,
  "product_sku_concurrency_id": concurrency specification ID
}

Balance recharge

{
  "pid": package ID, // obtained from /openapi/product interface
  "pm_id": payment method ID, // obtained from /openapi/payment/list or /openapi/payment/groups interface
  "recharge_amount": recharge amount
}

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "pid": 0,
  "upids": "string",
  "amount": 0,
  "pm_id": 0,
  "region_list": "string",
  "coupon_sn": "string",
  "use_invitation_registration_discount": true,
  "renew_duration": 0,
  "product_sku_bandwidth_id": 0,
  "product_sku_concurrency_id": 0,
  "product_sku_duration_id": 0,
  "etd": 1,
  "recharge_amount": 0
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» pidbodyintegertruePackage ID, from the id field returned by the /openapi/product interface
» upidsbodystringfalseList of renewal package IDs (comma separated), from the id field returned by the /openapi/user-product/list or /openapi/ip/get-static-ip interface
» amountbodynumberfalseNumber of new packages purchased
» pm_idbodyintegertruePayment method ID, from the id field returned by the /openapi/payment/list or /openapi/payment/groups interface
» region_listbodystringfalseWhen purchasing a static IP, specify the region + quantity + ASN number. The format is: region, quantity, ASN
» coupon_snbodystringfalseCoupon number
» use_invitation_registration_discountbodybooleanfalseWhether to use invitation registration discount
» renew_durationbodyintegerfalseRenewal time-static IP optional
» product_sku_bandwidth_idbodyintegerfalsePackage 11: Bandwidth Package ID
» product_sku_concurrency_idbodyintegerfalsePackage 11: Concurrent Package ID
» product_sku_duration_idbodyintegerfalsePackage type=11Required: Duration Specification ID
» etdbodyintegerfalseDuration multiple, obtained from package extension_of_time_days, 2 represents the number of days × 2, the price will increase
» recharge_amountbodyintegerfalsePackage 3: Recharge amount

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": 0,
    "trade_no": "string",
    "out_trade_no": "string",
    "product_id": 0,
    "product_type": 0,
    "amount": 0,
    "unit_price": 0.1,
    "total_fee": 0.1,
    "goods_fee": 0.1,
    "pay_fee": 0.1,
    "discount_fee": 0.1,
    "handling_fee": 0.1,
    "refund_fee": 0.1,
    "pm_id": 0,
    "pm_title": "string",
    "pm_logo": "string",
    "status": 0,
    "title": "string",
    "detail": "string",
    "region_desc": "string",
    "pay_at": "2019-08-24T14:15:22Z",
    "pay_timestamp": 0,
    "created_at": "2019-08-24T14:15:22Z",
    "pay_fee_status": 0,
    "invoice": {
      "name": "string",
      "org_name": "string",
      "first_name": "string",
      "last_name": "string",
      "phone": "string",
      "email": "[email protected]",
      "role_type": 0,
      "vat_id": "string",
      "address_country": "string",
      "address_city": "string",
      "address_line1": "string",
      "address_line2": "string",
      "address_postal_code": "string"
    }
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKCreated successfullyInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Cancel order

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/order/close \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/order/close

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "trade_no": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» trade_nobodystringtruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOperation successfulWebV1SuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Order details

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/order/info?trade_no=string \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/order/info

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
trade_noquerystringtruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": 0,
    "trade_no": "string",
    "out_trade_no": "string",
    "product_id": 0,
    "product_type": 0,
    "amount": 0,
    "unit_price": 0.1,
    "total_fee": 0.1,
    "goods_fee": 0.1,
    "pay_fee": 0.1,
    "discount_fee": 0.1,
    "handling_fee": 0.1,
    "refund_fee": 0.1,
    "pm_id": 0,
    "pm_title": "string",
    "pm_logo": "string",
    "status": 0,
    "title": "string",
    "detail": "string",
    "region_desc": "string",
    "pay_at": "2019-08-24T14:15:22Z",
    "pay_timestamp": 0,
    "created_at": "2019-08-24T14:15:22Z",
    "pay_fee_status": 0,
    "invoice": {
      "name": "string",
      "org_name": "string",
      "first_name": "string",
      "last_name": "string",
      "phone": "string",
      "email": "[email protected]",
      "role_type": 0,
      "vat_id": "string",
      "address_country": "string",
      "address_city": "string",
      "address_line1": "string",
      "address_line2": "string",
      "address_postal_code": "string"
    }
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Order details V2

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/order/info-v2?order_id=string \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/order/info-v2

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
order_idquerystringtrueClient-side encrypted order ID

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": 0,
    "trade_no": "string",
    "out_trade_no": "string",
    "product_id": 0,
    "product_type": 0,
    "amount": 0,
    "unit_price": 0.1,
    "total_fee": 0.1,
    "goods_fee": 0.1,
    "pay_fee": 0.1,
    "discount_fee": 0.1,
    "handling_fee": 0.1,
    "refund_fee": 0.1,
    "pm_id": 0,
    "pm_title": "string",
    "pm_logo": "string",
    "status": 0,
    "title": "string",
    "detail": "string",
    "region_desc": "string",
    "pay_at": "2019-08-24T14:15:22Z",
    "pay_timestamp": 0,
    "created_at": "2019-08-24T14:15:22Z",
    "pay_fee_status": 0,
    "invoice": {
      "name": "string",
      "org_name": "string",
      "first_name": "string",
      "last_name": "string",
      "phone": "string",
      "email": "[email protected]",
      "role_type": 0,
      "vat_id": "string",
      "address_country": "string",
      "address_city": "string",
      "address_line1": "string",
      "address_line2": "string",
      "address_postal_code": "string"
    }
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP success; when the order has been paid or canceled, the order data may be carried with a business error codeInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Reissue invoice for historical orders

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/order/reissue-invoice \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/order/reissue-invoice

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "trade_no_list": [
    "string"
  ]
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» trade_no_listbody[string]truenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOperation successfulWebV1SuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Order pre-check

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/order/check \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/order/check

Called before creating an order, it is used to preview prices, discounts, IP renewal details, etc. The order will not actually be created. The parameters are exactly the same as /openapi/order/create.

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "pid": 0,
  "upids": "string",
  "amount": 1,
  "pm_id": 0,
  "region_list": "string",
  "coupon_sn": "string",
  "renew_duration": "1m",
  "product_sku_bandwidth_id": 0,
  "product_sku_concurrency_id": 0,
  "product_sku_duration_id": 0,
  "etd": 1,
  "recharge_amount": 0
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» pidbodyintegertruePackage ID
» upidsbodystringfalseIP renewal: list of user package IDs, separated by commas
» amountbodyintegerfalsePurchase quantity
» pm_idbodyintegertruePayment method ID
» region_listbodystringfalseStatic IP purchase region + quantity, format: region ID, quantity
» coupon_snbodystringfalseCoupon number
» renew_durationbodystringfalseIP renewal period: 1m=1 month, 2m=2 months, em=end of next month
» product_sku_bandwidth_idbodyintegerfalsePackage type=11Required: Bandwidth Specification ID
» product_sku_concurrency_idbodyintegerfalsePackage type=11Required: Concurrency specification ID
» product_sku_duration_idbodyintegerfalsePackage type=11Required: Duration Specification ID
» etdbodyintegerfalseDuration multiple, obtained from package extension_of_time_days
» recharge_amountbodynumberfalsePackage type=3Required: recharge amount

Enumerated Values

ParameterValue
» renew_duration1m
» renew_duration2m
» renew_durationem

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "product_id": 0,
    "amount": 0,
    "discount_fee": 0.1,
    "total_fee": 0.1,
    "pay_fee": 0.1,
    "product_type": 0,
    "title": "string",
    "detail": "string",
    "ip_result": [
      {
        "ip": "string",
        "price": 0.1,
        "country_code": "string",
        "current_time": "2019-08-24T14:15:22Z",
        "renewal_time": "2019-08-24T14:15:22Z",
        "country": {
          "name_zh_cn": "string",
          "flag": "string",
          "square_flag": "string"
        }
      }
    ]
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKPreflight successfulInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

API key management

API Key management for personal and team resource spaces

API Key List

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/api-keys \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/api-keys

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalseResource space identifier; personal space omit or pass empty string
pagequeryintegerfalsenone
pageSizequeryintegerfalsenone

Example responses

200 Response

{
  "code": 0,
  "msg": "string",
  "request_id": "string",
  "data": {
    "list": [
      {
        "id": 1,
        "api_key": "string",
        "team_user_id": 0,
        "remark": "string",
        "status": 0,
        "created_at": "string",
        "updated_at": "string"
      }
    ],
    "total": 0,
    "page": 1,
    "pageSize": 1
  }
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegertruenonenone
» msgstringtruenonenone
» request_idstringtruenonenone
» dataobjecttruenonenone
»» list[UserApiKeyMetadata]truenonenone
»»» idintegertruenoneAPI Key ID
»»» api_keystringtruenoneThe creation response is the complete Key; the team list is the masked value
»»» team_user_idintegertruenoneThe team key actually holds the member ID, and the personal key is 0
»»» remarkstringtruenoneRemarks
»»» statusintegertruenone0=disable, 1=enable
»»» created_atstringtruenonecreation time
»»» updated_atstring,nullfalsenoneUpdate time
»» totalintegertruenonenone
»» pageintegertruenonenone
»» pageSizeintegertruenonenone

Enumerated Values

PropertyValue
status0
status1
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Create API Key

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/api-keys/create \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/api-keys/create

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "remark": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» remarkbodystringfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": 1,
    "api_key": "string",
    "team_user_id": 0,
    "remark": "string",
    "status": 0,
    "created_at": "string",
    "updated_at": "string"
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKReturn the complete API Key when the business is successful, only this timeInline

Response Schema

Enumerated Values

PropertyValue
status0
status1
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Enable API Key

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/api-keys/enable \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/api-keys/enable

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "id": 1
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» idbodyintegertrueAPI Key ID

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOperation successfulWebV1SuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Deactivate API Key

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/api-keys/disable \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/api-keys/disable

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "id": 1
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» idbodyintegertrueAPI Key ID

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOperation successfulWebV1SuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Delete API Key

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/api-keys/delete \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/api-keys/delete

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "id": 1
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» idbodyintegertrueAPI Key ID

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOperation successfulWebV1SuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Modify API Key remarks

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/api-keys/update-remark \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/api-keys/update-remark

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "id": 1,
  "remark": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» idbodyintegertruenone
» remarkbodystringtruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOperation successfulWebV1SuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Monthly renewal bill

Real-time billing, pre-check, order placement and history of monthly aggregated renewals

Current monthly summary renewal bill

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/monthly-renewal-bill \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/monthly-renewal-bill

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "batch": {
      "type": "current",
      "start_at": "string",
      "end_at": "string",
      "target_expired_at": "string",
      "timezone": "string"
    },
    "currency": "string",
    "total_fee": 0,
    "items": [
      {
        "id": 0,
        "user_product_id": 1,
        "product_id": 1,
        "product_type": 0,
        "parent_product_type": 0,
        "title": "string",
        "expired_at": "string",
        "target_expired_at": "string",
        "renew_days": 1,
        "unit_month_price": 0,
        "pay_fee": 0,
        "currency": "string",
        "bandwidth": 0,
        "bandwidth_mbsp": 0,
        "concurrency": 0,
        "ip": "string",
        "country_code": "string",
        "paid_at": "string",
        "refunded_at": "string",
        "created_at": "string",
        "updated_at": "string"
      }
    ]
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Enumerated Values

PropertyValue
typecurrent
typenext
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Check monthly summary renewal orders

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/monthly-renewal-bill/check \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/monthly-renewal-bill/check

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "user_product_ids": [
    1
  ],
  "user_coupon_id": 1,
  "coupon_sn": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyMonthlyRenewalRequesttruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "batch": {
      "type": "current",
      "start_at": "string",
      "end_at": "string",
      "target_expired_at": "string",
      "timezone": "string"
    },
    "currency": "string",
    "total_fee": 0,
    "discount_fee": 0,
    "pay_fee": 0,
    "items": [
      {
        "id": 0,
        "user_product_id": 1,
        "product_id": 1,
        "product_type": 0,
        "parent_product_type": 0,
        "title": "string",
        "expired_at": "string",
        "target_expired_at": "string",
        "renew_days": 1,
        "unit_month_price": 0,
        "pay_fee": 0,
        "currency": "string",
        "bandwidth": 0,
        "bandwidth_mbsp": 0,
        "concurrency": 0,
        "ip": "string",
        "country_code": "string",
        "paid_at": "string",
        "refunded_at": "string",
        "created_at": "string",
        "updated_at": "string"
      }
    ],
    "user_coupon_id": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Enumerated Values

PropertyValue
typecurrent
typenext
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Create a monthly summary renewal order

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/monthly-renewal-bill/create \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/monthly-renewal-bill/create

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "user_product_ids": [
    1
  ],
  "user_coupon_id": 1,
  "coupon_sn": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyMonthlyRenewalRequesttruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "trade_no": "string",
    "total_fee": 0,
    "discount_fee": 0,
    "pay_fee": 0,
    "currency": "string",
    "user_coupon_id": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Monthly summary of renewal history bills

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/monthly-renewal-bill/history \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/monthly-renewal-bill/history

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
trade_noquerystringfalsenone
start_datequerystring(date)falsenone
end_datequerystring(date)falsenone
pagequeryintegerfalsenone
sizequeryintegerfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "total": 0,
    "page": 1,
    "size": 1,
    "list": [
      {
        "id": 1,
        "trade_no": "string",
        "status": 0,
        "pay_fee": 0,
        "currency": "string",
        "pay_at": "string",
        "created_at": "string",
        "pay_method": 0,
        "pm_id": 0,
        "pay_channel": 0,
        "pm_title": "string",
        "pm_logo": "string",
        "items": [
          {
            "id": 0,
            "user_product_id": 1,
            "product_id": 1,
            "product_type": 0,
            "parent_product_type": 0,
            "title": "string",
            "expired_at": "string",
            "target_expired_at": "string",
            "renew_days": 1,
            "unit_month_price": 0,
            "pay_fee": 0,
            "currency": "string",
            "bandwidth": 0,
            "bandwidth_mbsp": 0,
            "concurrency": 0,
            "ip": "string",
            "country_code": "string",
            "paid_at": "string",
            "refunded_at": "string",
            "created_at": "string",
            "updated_at": "string"
          }
        ]
      }
    ]
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Invoice management

Invoice header, invoicing application and invoiceable orders

Invoice header details

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-invoice/info \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-invoice/info

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
invoice_codequerystringfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "invoice_code": "string",
    "name": "string",
    "org_name": "string",
    "first_name": "string",
    "last_name": "string",
    "phone": "string",
    "email": "[email protected]",
    "role_type": 1,
    "invoice_type": 0,
    "vat_id": "string",
    "tax_no": "string",
    "address_country": "string",
    "address_city": "string",
    "address_line1": "string",
    "address_line2": "string",
    "address_postal_code": "string",
    "bank_name": "string",
    "bank_account": "string",
    "is_def": true
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

Enumerated Values

PropertyValue
role_type1
role_type2
invoice_type0
invoice_type1
invoice_type2
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Create or modify invoice header

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-invoice/create \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-invoice/create

Body parameter

{
  "invoice_code": "string",
  "name": "string",
  "org_name": "string",
  "first_name": "string",
  "last_name": "string",
  "phone": "string",
  "email": "[email protected]",
  "role_type": 1,
  "invoice_type": 0,
  "vat_id": "string",
  "tax_no": "string",
  "address_country": "string",
  "address_city": "string",
  "address_line1": "string",
  "address_line2": "string",
  "address_postal_code": "string",
  "bank_name": "string",
  "bank_account": "string",
  "is_def": true,
  "team_id": "A1b2C3d4E5f6",
  "new_invoice_code": false
}

Parameters

NameInTypeRequiredDescription
bodybodyanytruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": null,
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKThe request is successful, data is nullInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Invoice header list

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-invoice/list \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-invoice/list

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "invoice_code": "string",
        "name": "string",
        "org_name": "string",
        "first_name": "string",
        "last_name": "string",
        "phone": "string",
        "email": "[email protected]",
        "role_type": 1,
        "invoice_type": 0,
        "vat_id": "string",
        "tax_no": "string",
        "address_country": "string",
        "address_city": "string",
        "address_line1": "string",
        "address_line2": "string",
        "address_postal_code": "string",
        "bank_name": "string",
        "bank_account": "string",
        "is_def": true,
        "created_at": 0
      }
    ]
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Enumerated Values

PropertyValue
role_type1
role_type2
invoice_type0
invoice_type1
invoice_type2
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Delete invoice header

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-invoice/delete \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-invoice/delete

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "invoice_code": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» invoice_codebodystringtruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": null,
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKThe request is successful, data is nullInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Invoicing record list

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-invoice/record-list \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-invoice/record-list

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
statusqueryintegerfalsenone

Enumerated Values

ParameterValue
status0
status1
status2
status3
status4

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "id": 1,
        "invoice_no": "string",
        "invoice_amount": 0,
        "invoice_download_url": "string",
        "status": 0,
        "remark": "string",
        "order_ids": [
          0
        ],
        "created_at": 0,
        "invoice_info": {
          "invoice_code": "string",
          "name": "string",
          "org_name": "string",
          "role_type": 1,
          "invoice_type": 0
        }
      }
    ]
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Enumerated Values

PropertyValue
role_type1
role_type2
invoice_type0
invoice_type1
invoice_type2
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Submit billing application

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-invoice/submit \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-invoice/submit

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "invoice_code": "string",
  "order_ids": [
    0
  ]
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» invoice_codebodystringtruenone
» order_idsbody[integer]truenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "invoice_id": 1
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Cancel billing application

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-invoice/cancel \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-invoice/cancel

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "invoice_id": 1,
  "reason": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» invoice_idbodyintegertruenone
» reasonbodystringfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": null,
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKThe request is successful, data is nullInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Invoice amount statistics

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-invoice/statistics \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-invoice/statistics

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "invoiceable_amount": 0,
    "invoiced_amount": 0,
    "processing_amount": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

List of orders that can be invoiced

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-invoice/invoiceable-orders \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-invoice/invoiceable-orders

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "id": 1,
        "order_no": "string",
        "pay_fee": 0,
        "created_at": 0
      }
    ]
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Team management

Team creation, query, name change and disbandment

Create a team

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/team/create \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/team/create

Body parameter

{
  "name": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» namebodystringtrueTeam name

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": "A1b2C3d4E5f6",
    "name": "string",
    "super_admin_user_id": 1,
    "status": 0,
    "current_role": 1,
    "dissolving_at": "string",
    "dissolved_at": "string",
    "created_at": "string",
    "updated_at": "string"
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

Enumerated Values

PropertyValue
status0
status1
status2
status3
current_role1
current_role2
current_role3
current_role4
current_rolenull
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

List of teams accessible to the current user

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/team/list \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/team/list

Parameters

NameInTypeRequiredDescription
pagequeryintegerfalsenone
page_sizequeryintegerfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "id": "A1b2C3d4E5f6",
        "name": "string",
        "super_admin_user_id": 1,
        "status": 0,
        "current_role": 1,
        "dissolving_at": "string",
        "dissolved_at": "string",
        "created_at": "string",
        "updated_at": "string"
      }
    ],
    "total": 0,
    "page": 1,
    "page_size": 1
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

Enumerated Values

PropertyValue
status0
status1
status2
status3
current_role1
current_role2
current_role3
current_role4
current_rolenull
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Team details

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/team/detail?team_id=A1b2C3d4E5f6 \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/team/detail

Parameters

NameInTypeRequiredDescription
team_idqueryTeamPublicIdtruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": "A1b2C3d4E5f6",
    "name": "string",
    "super_admin_user_id": 1,
    "status": 0,
    "current_role": 1,
    "dissolving_at": "string",
    "dissolved_at": "string",
    "created_at": "string",
    "updated_at": "string"
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

Enumerated Values

PropertyValue
status0
status1
status2
status3
current_role1
current_role2
current_role3
current_role4
current_rolenull
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Modify team name

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/team/update-name \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/team/update-name

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "name": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyTeamPublicIdtrueThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» namebodystringtruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": "A1b2C3d4E5f6",
    "name": "string",
    "super_admin_user_id": 1,
    "status": 0,
    "current_role": 1,
    "dissolving_at": "string",
    "dissolved_at": "string",
    "created_at": "string",
    "updated_at": "string"
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

Enumerated Values

PropertyValue
status0
status1
status2
status3
current_role1
current_role2
current_role3
current_role4
current_rolenull
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Disband the team

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/team/dissolve \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/team/dissolve

Only team super administrators can call this. The name in the request must exactly match the team's current name. This interface enforces two-step verification of operations: code=348 is returned when not in the 15-minute trust state, The caller should obtain the verification code according to the available methods in the response data, and then try again with verify_type and verify_code. Can be called repeatedly to continue the unfinished dissolution process.

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "name": "华东研发团队",
  "verify_type": "email",
  "verify_code": "123456"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyTeamPublicIdtrueThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» namebodystringtrueTeam name confirmation, must be exactly the same as the current name of the team
» verify_typebodystringfalseSecondary verification method; submit together with verify_code when verification is required
» verify_codebodystringfalseTwo-step verification code; not required when in 15-minute trust state

Enumerated Values

ParameterValue
» verify_typephone
» verify_typeemail
» verify_typewechat
» verify_typetotp

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": "A1b2C3d4E5f6",
    "name": "string",
    "super_admin_user_id": 1,
    "status": 0,
    "current_role": 1,
    "dissolving_at": "string",
    "dissolved_at": "string",
    "created_at": "string",
    "updated_at": "string"
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

Enumerated Values

PropertyValue
status0
status1
status2
status3
current_role1
current_role2
current_role3
current_role4
current_rolenull
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Query team disbandment status

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/team/dissolve-status?team_id=A1b2C3d4E5f6 \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/team/dissolve-status

Parameters

NameInTypeRequiredDescription
team_idqueryTeamPublicIdtruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": "A1b2C3d4E5f6",
    "name": "string",
    "super_admin_user_id": 1,
    "status": 0,
    "current_role": 1,
    "dissolving_at": "string",
    "dissolved_at": "string",
    "created_at": "string",
    "updated_at": "string"
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

Enumerated Values

PropertyValue
status0
status1
status2
status3
current_role1
current_role2
current_role3
current_role4
current_rolenull
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

team member

Team member lists, role adjustments, removals and exits

Team member list

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/team/members?team_id=A1b2C3d4E5f6 \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/team/members

Parameters

NameInTypeRequiredDescription
team_idqueryTeamPublicIdtruenone
pagequeryintegerfalsenone
page_sizequeryintegerfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "team_member_id": 1,
        "team_id": "A1b2C3d4E5f6",
        "user_id": 1,
        "role": 1,
        "status": 0,
        "joined_at": "string",
        "nickname": "string",
        "username": "string"
      }
    ],
    "total": 0,
    "page": 1,
    "page_size": 1
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

Enumerated Values

PropertyValue
role1
role2
role3
role4
status0
status1
status2
status3
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Unified list of team members

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/team/people?team_id=A1b2C3d4E5f6 \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/team/people

Valid members are returned; super admins and admins also see pending invitations. Other invitation statuses remain only in the invitation history list.

Parameters

NameInTypeRequiredDescription
team_idqueryTeamPublicIdtruenone
pagequeryintegerfalsenone
page_sizequeryintegerfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "record_type": "member",
        "record_id": 1,
        "team_id": "A1b2C3d4E5f6",
        "user_id": 0,
        "inviter_user_id": 0,
        "invite_type": 0,
        "invite_country_code": 999,
        "invite_target": "string",
        "delivery_type": 0,
        "role": 1,
        "status": 0,
        "display_name": "string",
        "nickname": "string",
        "username": "string",
        "email": "string",
        "phone": "string",
        "joined_at": "string",
        "expired_at": "string",
        "created_at": "string"
      }
    ],
    "total": 0,
    "page": 1,
    "page_size": 1
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

Enumerated Values

PropertyValue
record_typemember
record_typeinvitation
invite_type0
invite_type1
invite_type2
invite_type3
delivery_type0
delivery_type1
delivery_type2
delivery_type3
role1
role2
role3
role4
status0
status1
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Adjust member roles

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/team/members/update-role \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/team/members/update-role

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "team_member_id": 1,
  "role": 2
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyTeamPublicIdtrueThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» team_member_idbodyintegertruenone
» rolebodyintegertruenone

Enumerated Values

ParameterValue
» role2
» role3

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "team_member_id": 1,
    "team_id": "A1b2C3d4E5f6",
    "user_id": 1,
    "role": 1,
    "status": 0,
    "joined_at": "string",
    "nickname": "string",
    "username": "string"
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

Enumerated Values

PropertyValue
role1
role2
role3
role4
status0
status1
status2
status3
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Remove team member

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/team/members/remove \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/team/members/remove

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "team_member_id": 1
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyTeamPublicIdtrueThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» team_member_idbodyintegertruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "team_member_id": 1,
    "team_id": "A1b2C3d4E5f6",
    "user_id": 1,
    "role": 1,
    "status": 0,
    "joined_at": "string",
    "nickname": "string",
    "username": "string"
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful data.status=3Inline

Response Schema

Enumerated Values

PropertyValue
role1
role2
role3
role4
status0
status1
status2
status3
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Quit the team

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/team/members/leave \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/team/members/leave

Body parameter

{
  "team_id": "A1b2C3d4E5f6"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyTeamPublicIdtrueThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "team_member_id": 1,
    "team_id": "A1b2C3d4E5f6",
    "user_id": 1,
    "role": 1,
    "status": 0,
    "joined_at": "string",
    "nickname": "string",
    "username": "string"
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, data.status=2Inline

Response Schema

Enumerated Values

PropertyValue
role1
role2
role3
role4
status0
status1
status2
status3
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Team invitation

Creation, query and processing of team member invitations

Create a team invitation

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/team/invitations/create \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/team/invitations/create

Create invitations by registered user, email or mobile phone number. When the email or mobile phone number matches a user on this site, the response will be normalized to invite_type=1. The front end can submit the relative path template of this site's invitation URL, and the server only replaces in it with a one-time invitation token. After the unregistered target registers with the invited mobile phone number or completes the verification using the invited email, the server will bind the still valid invitation to the new user, rotate the token, and only resend an unread in-site message; the old token in the original email or text message will then become invalid. If the email invitation has not been automatically bound, the current account registered with the invited email address can be accepted directly without waiting for email_verify.

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "invite_type": 1,
  "role": 2,
  "user_id": 1,
  "email": "[email protected]",
  "country_code": 1,
  "phone": "string",
  "invitation_url_template": "/team/invitation/{{token}}"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyTeamPublicIdtrueThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» invite_typebodyintegertrue1=Registered user, 2=Email, 3=Mobile phone number
» rolebodyintegertrue2=administrator, 3=ordinary member
» user_idbodyintegerfalseRequired when invite_type=1
» emailbodystring(email)falseRequired when invite_type=2
» country_codebodyintegerfalseRequired when invite_type=3
» phonebodystringfalseRequired when invite_type=3
» invitation_url_templatebodystringfalseThe relative path template defined by the front end of this website; must start with a single /, must not contain domain names or newlines, and must and can only contain one placeholder
» anonymousbodyobjectfalsenone
»» invite_typebodyanyfalsenone
» anonymousbodyobjectfalsenone
»» invite_typebodyanyfalsenone
» anonymousbodyobjectfalsenone
»» invite_typebodyanyfalsenone

Enumerated Values

ParameterValue
» invite_type1
» invite_type2
» invite_type3
» role2
» role3

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "invitation": {
      "id": 1,
      "team_id": "A1b2C3d4E5f6",
      "inviter_user_id": 1,
      "invitee_user_id": 0,
      "invite_type": 1,
      "invite_country_code": 999,
      "invite_target": "string",
      "delivery_type": 1,
      "role": 2,
      "status": 0,
      "accepted_by_user_id": 0,
      "expired_at": "2026-07-17 10:00:00",
      "accepted_at": null,
      "rejected_at": null,
      "cancelled_at": null,
      "created_at": "2026-07-10 10:00:00"
    },
    "invitation_token": "string",
    "invitation_url": "http://example.com",
    "notification_channels": {
      "email": "queued",
      "sms": "queued",
      "site_inner_message": "created"
    }
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body code, 200 means business successInline

Response Schema

Enumerated Values

PropertyValue
invite_type1
invite_type2
invite_type3
delivery_type1
delivery_type2
delivery_type3
role2
role3
status0
status1
status2
status3
status4
emailqueued
emailfailed
emailskipped
smsqueued
smsfailed
smsskipped
site_inner_messagecreated
site_inner_messageexists
site_inner_messagefailed
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Team invitation list

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/team/invitations?team_id=A1b2C3d4E5f6 \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/team/invitations

Accessible only to team super admins or admins; pending invitations that have expired will be updated to expired before returning.

Parameters

NameInTypeRequiredDescription
team_idqueryTeamPublicIdtrueTeam public identity
pagequeryintegerfalsePage number, starting from 1
page_sizequeryintegerfalseQuantity per page

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "id": 1,
        "team_id": "A1b2C3d4E5f6",
        "inviter_user_id": 1,
        "invitee_user_id": 0,
        "invite_type": 1,
        "invite_country_code": 999,
        "invite_target": "string",
        "delivery_type": 1,
        "role": 2,
        "status": 0,
        "accepted_by_user_id": 0,
        "expired_at": "2026-07-17 10:00:00",
        "accepted_at": null,
        "rejected_at": null,
        "cancelled_at": null,
        "created_at": "2026-07-10 10:00:00"
      }
    ],
    "total": 0,
    "page": 1,
    "page_size": 1
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

Enumerated Values

PropertyValue
invite_type1
invite_type2
invite_type3
delivery_type1
delivery_type2
delivery_type3
role2
role3
status0
status1
status2
status3
status4
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Preview team invitation

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/team/invitations/preview?invitation_token=string \
  -H 'Accept: application/json'

GET /end-point/team/invitations/preview

Preview invitations anonymously using a one-time invitation_token; no invitation numeric ID is used in the link.

Parameters

NameInTypeRequiredDescription
invitation_tokenquerystringtrueThe non-empty plaintext one-time token carried by the invitation link

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "team_name": "string",
    "role": 2,
    "status": 0,
    "expired_at": "string"
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

Enumerated Values

PropertyValue
role2
role3
status0
status1
status2
status3
status4
To perform this operation, you must be authenticated by means of one of the following methods: None

Resend team invitation notification

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/team/invitations/resend \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/team/invitations/resend

Re-invest in the original sending channel; registered users also send site messages. Resending the token will rotate the token and all previous invitation links will become invalid immediately.

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "invitation_id": 1
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyTeamPublicIdtrueThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» invitation_idbodyintegertrueInvitation ID

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "invitation": {
      "id": 1,
      "team_id": "A1b2C3d4E5f6",
      "inviter_user_id": 1,
      "invitee_user_id": 0,
      "invite_type": 1,
      "invite_country_code": 999,
      "invite_target": "string",
      "delivery_type": 1,
      "role": 2,
      "status": 0,
      "accepted_by_user_id": 0,
      "expired_at": "2026-07-17 10:00:00",
      "accepted_at": null,
      "rejected_at": null,
      "cancelled_at": null,
      "created_at": "2026-07-10 10:00:00"
    },
    "invitation_url": "http://example.com",
    "notification_channels": {
      "email": "queued",
      "sms": "queued",
      "site_inner_message": "created"
    }
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

Enumerated Values

PropertyValue
invite_type1
invite_type2
invite_type3
delivery_type1
delivery_type2
delivery_type3
role2
role3
status0
status1
status2
status3
status4
emailqueued
emailfailed
emailskipped
smsqueued
smsfailed
smsskipped
site_inner_messagecreated
site_inner_messageexists
site_inner_messagefailed
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Accept team invitation

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/team/invitations/accept \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/team/invitations/accept

The currently logged-in user uses a one-time invitation_token to accept the invitation, which must match the invitation target and belong to the site to which the invitation belongs; there is no need to pass team_id.

Body parameter

{
  "invitation_token": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» invitation_tokenbodystringtrueClear text one-time invitation token

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "team_member_id": 1,
    "team_id": "A1b2C3d4E5f6",
    "user_id": 1,
    "role": 1,
    "status": 0,
    "joined_at": "string",
    "nickname": "string",
    "username": "string"
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, data is a member objectInline

Response Schema

Enumerated Values

PropertyValue
role1
role2
role3
role4
status0
status1
status2
status3
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Decline team invitation

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/team/invitations/reject \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/team/invitations/reject

The currently logged-in user uses a one-time invitation_token to reject invitations that match the user; there is no need to pass team_id.

Body parameter

{
  "invitation_token": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» invitation_tokenbodystringtrueClear text one-time invitation token

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": 1,
    "team_id": "A1b2C3d4E5f6",
    "inviter_user_id": 1,
    "invitee_user_id": 0,
    "invite_type": 1,
    "invite_country_code": 999,
    "invite_target": "string",
    "delivery_type": 1,
    "role": 2,
    "status": 0,
    "accepted_by_user_id": 0,
    "expired_at": "2026-07-17 10:00:00",
    "accepted_at": null,
    "rejected_at": null,
    "cancelled_at": null,
    "created_at": "2026-07-10 10:00:00"
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, data.status=2Inline

Response Schema

Enumerated Values

PropertyValue
invite_type1
invite_type2
invite_type3
delivery_type1
delivery_type2
delivery_type3
role2
role3
status0
status1
status2
status3
status4
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Cancel team invitation

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/team/invitations/cancel \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/team/invitations/cancel

To cancel a pending invitation within a specified team, the operator must have the authority to invite the target character.

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "invitation_id": 1
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyTeamPublicIdtrueThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» invitation_idbodyintegertrueInvitation ID

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": 1,
    "team_id": "A1b2C3d4E5f6",
    "inviter_user_id": 1,
    "invitee_user_id": 0,
    "invite_type": 1,
    "invite_country_code": 999,
    "invite_target": "string",
    "delivery_type": 1,
    "role": 2,
    "status": 0,
    "accepted_by_user_id": 0,
    "expired_at": "2026-07-17 10:00:00",
    "accepted_at": null,
    "rejected_at": null,
    "cancelled_at": null,
    "created_at": "2026-07-10 10:00:00"
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful data.status=3Inline

Response Schema

Enumerated Values

PropertyValue
invite_type1
invite_type2
invite_type3
delivery_type1
delivery_type2
delivery_type3
role2
role3
status0
status1
status2
status3
status4
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Team assets

Team asset query and personal/team space transfer

Team package information

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/team/product-info?team_id=A1b2C3d4E5f6 \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/team/product-info

Returns the package summary of the specified team resource space. The fields are consistent with the package fields of /web_v1/user/info. Does not return the team super admin's profile, balance, or internal numeric team ID. Please use /web_v1/credit/info for credit package details.

Parameters

NameInTypeRequiredDescription
team_idqueryTeamPublicIdtruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "team_id": "A1b2C3d4E5f6",
    "product_types": [
      0
    ],
    "product_residence_remain_count": 0,
    "product_residence_total_count": 0,
    "pdrue2_timestamp": 0,
    "remain": 0,
    "total_amount": 0,
    "scraping_remain": 0,
    "scraping_total_amount": 0,
    "scraping_timestamp": "string",
    "scraping_timestamp2": 0,
    "common_scraping_remain": 0,
    "common_scraping_total_amount": 0,
    "common_scraping_timestamp": "string",
    "common_scraping_timestamp2": 0,
    "pdidcr_count": 0,
    "pdidcr_total": 0,
    "pdidcr_traffic_remain": 0,
    "pdidcr_traffic_total": 0,
    "p_sitai_ip_count": 0,
    "p_sitai_ip": 0,
    "p_sitai_ip_total": 0,
    "p_sitai_remain": 0,
    "p_sitai_total": 0,
    "pdidc_count": 0,
    "pdidc_total": 0,
    "pdidc_ip_count": 0,
    "pdidc_ip_all_count": 0,
    "pdispr_count": 0,
    "pdispr_total": 0,
    "pdispr_traffic_remain": 0,
    "pdispr_traffic_total": 0,
    "product_datacenter_isp_traffic_ip_count": 0,
    "product_datacenter_isp_traffc_ip": 0,
    "product_datacenter_isp_traffc_ip_total": 0,
    "product_datacenter_isp_traffic_ip": 0,
    "product_datacenter_isp_traffic_ip_total": 0,
    "product_datacenter_isp_traffc_remain": 0,
    "product_datacenter_isp_traffc_total": 0,
    "product_datacenter_isp_traffic_remain": 0,
    "product_datacenter_isp_traffic_total": 0,
    "product_datacenter_isp_ip": 0,
    "product_datacenter_isp_ip_total": 0,
    "product_datacenter_isp_ip_count": 0,
    "product_datacenter_isp_ip_all_count": 0,
    "product_datacenter_isp_ip_traffic_remain": 0,
    "product_datacenter_isp_ip_traffic_total": 0,
    "product_agent_residence_remain_count": 0,
    "product_agent_residence_total_count": 0,
    "product_serp_remain": 0,
    "product_serp_total": 0,
    "product_serp_timestamp": "string",
    "product_serp_timestamp2": 0,
    "product_video_remain": 0,
    "product_video_total": 0,
    "product_video_timestamp": "string",
    "product_video_timestamp2": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Team Asset List

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/team/assets?team_id=A1b2C3d4E5f6 \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/team/assets

Parameters

NameInTypeRequiredDescription
team_idqueryTeamPublicIdtruenone
pagequeryintegerfalsenone
page_sizequeryintegerfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "id": 1,
        "user_id": 1,
        "team_id": "A1b2C3d4E5f6",
        "team_user_id": 0,
        "product_id": 1,
        "product_type": 0,
        "parent_product_type": 0,
        "status": 0,
        "total_amount": 0,
        "remain": 0,
        "bandwidth": 0,
        "concurrency": 0,
        "expired_at": "string",
        "created_at": "string",
        "ip": "string",
        "country_code": "string",
        "country_name": "string",
        "asn": "string",
        "port": 0
      }
    ],
    "total": 0,
    "page": 1,
    "page_size": 1
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Personal assets that can be assigned to the team

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/team/assets/personal-candidates?team_id=A1b2C3d4E5f6 \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/team/assets/personal-candidates

Parameters

NameInTypeRequiredDescription
team_idqueryTeamPublicIdtruenone
pagequeryintegerfalsenone
page_sizequeryintegerfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "id": 1,
        "user_id": 1,
        "team_id": "A1b2C3d4E5f6",
        "team_user_id": 0,
        "product_id": 1,
        "product_type": 0,
        "parent_product_type": 0,
        "status": 0,
        "total_amount": 0,
        "remain": 0,
        "bandwidth": 0,
        "concurrency": 0,
        "expired_at": "string",
        "created_at": "string",
        "ip": "string",
        "country_code": "string",
        "country_name": "string",
        "asn": "string",
        "port": 0
      }
    ],
    "total": 0,
    "page": 1,
    "page_size": 1
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Transfer personal assets to the team

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/team/assets/move-in \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/team/assets/move-in

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "user_product_id": 1
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyTeamPublicIdtrueThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» user_product_idbodyintegertruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": 1,
    "user_id": 1,
    "team_id": "A1b2C3d4E5f6",
    "team_user_id": 0,
    "product_id": 1,
    "product_type": 0,
    "parent_product_type": 0,
    "status": 0,
    "total_amount": 0,
    "remain": 0,
    "bandwidth": 0,
    "concurrency": 0,
    "expired_at": "string",
    "created_at": "string",
    "ip": "string",
    "country_code": "string",
    "country_name": "string",
    "asn": "string",
    "port": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Team assets moved back to individuals

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/team/assets/move-out \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/team/assets/move-out

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "user_product_id": 1
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyTeamPublicIdtrueThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» user_product_idbodyintegertruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": 1,
    "user_id": 1,
    "team_id": "A1b2C3d4E5f6",
    "team_user_id": 0,
    "product_id": 1,
    "product_type": 0,
    "parent_product_type": 0,
    "status": 0,
    "total_amount": 0,
    "remain": 0,
    "bandwidth": 0,
    "concurrency": 0,
    "expired_at": "string",
    "created_at": "string",
    "ip": "string",
    "country_code": "string",
    "country_name": "string",
    "asn": "string",
    "port": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Points management

Points package information, automatic replenishment, consumption records and statistics

Get points package information (GET /web_v1/credit/info)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/web_v1/credit/info \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /web_v1/credit/info

Query the points package summary of the current resource space. Team space requires USE_ASSETS permission; this interface supports login status, personal API Key and team API Key at the same time.

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalseResource space identifier; personal space is omitted or an empty string is passed; team API Key can be omitted and must be consistent with the Key when passed in

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, the data is the points level, total amount, remaining amount, reset time and automatic replenishment status.Inline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Set up balance to automatically replenish points

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/web_v1/credit/update-auto-supplement \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /web_v1/credit/update-auto-supplement

Set the automatic replenishment switch of the current resource space in the login state. Team space requires USE_OWNER_PAYMENT_CAPABILITIES permission, currently only team super administrators can operate; team space is closed by default.

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "status": 0
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» statusbodyintegertrue0=off, 1=on

Enumerated Values

ParameterValue
» status0
» status1

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, data.status is the updated switch status.Inline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Get points consumption record (GET /web_v1/credit/consumption-logs)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/web_v1/credit/consumption-logs \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /web_v1/credit/consumption-logs

Query the points consumption record of the current resource space in the login state or API Key page. Team spaces require VIEW_BILLING permission.

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
pagequeryintegerfalsenone
page_sizequeryintegerfalsenone
start_datequerystring(date)falseStart date, interpreted by site time zone
end_datequerystring(date)falseEnd date, interpreted by site time zone
consumption_typequerystringfalseConsumption type

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, data includes list, page, page_size, total_count and total_pageInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Get points reset record (GET /web_v1/credit/reset-logs)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/web_v1/credit/reset-logs \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /web_v1/credit/reset-logs

Query the points reset record of the current resource space in the login state or API Key page. Team spaces require VIEW_BILLING permission.

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
pagequeryintegerfalsenone
page_sizequeryintegerfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, data contains points reset records and paging information.Inline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Get points statistics (GET /web_v1/credit/stats)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/web_v1/credit/stats \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /web_v1/credit/stats

Log in or API Key to query the points statistics aggregated by consumption type of the current resource space. Team spaces require VIEW_BILLING permission.

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
start_datequerystring(date)falseStart date, interpreted by site time zone
end_datequerystring(date)falseEnd date, interpreted by site time zone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, data contains by_type and totalInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Get daily point statistics (GET /web_v1/credit/daily-stats)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/web_v1/credit/daily-stats \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /web_v1/credit/daily-stats

Log in or API Key to query the daily point consumption of the current resource space, which defaults to the last 7 days. Ordinary members of the team only return their actual consumption; administrators, super administrators and financial members with VIEW_BILLING permissions return the full data of the team. Team logs of unrecorded consuming members are only visible in the full view. API Key query can contain up to 31 natural days (inclusive), and the start date cannot be later than the end date.

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
start_datequerystring(date)falseStart date, default 6 days ago
end_datequerystring(date)falseEnd date, default is today
consumption_typequerystringfalseOptional consumption types
fill_gapsqueryintegerfalseWhether to fill in missing dates

Enumerated Values

ParameterValue
fill_gaps0
fill_gaps1

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, data contains daily_stats and summaryInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Get hourly point statistics (GET /web_v1/credit/hourly-stats)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/web_v1/credit/hourly-stats \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /web_v1/credit/hourly-stats

Log in or API Key to query the hourly point consumption of the current resource space, which defaults to the last 7 days. Team spaces require VIEW_BILLING permission. API Key query can contain up to 31 natural days (inclusive), and the start date cannot be later than the end date.

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
start_datequerystring(date)falseStart date, default 6 days ago
end_datequerystring(date)falseEnd date, default is today
consumption_typequerystringfalseOptional consumption types
fill_gapsqueryintegerfalseWhether to fill in missing hours

Enumerated Values

ParameterValue
fill_gaps0
fill_gaps1

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, data contains hourly_stats and summaryInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Get points package information (GET /end-point/credit/info)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/credit/info \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/credit/info

Query the points package summary of the current resource space. Team space requires USE_ASSETS permission; this interface supports login status, personal API Key and team API Key at the same time.

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalseResource space identifier; personal space is omitted or an empty string is passed; team API Key can be omitted and must be consistent with the Key when passed in

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, the data is the points level, total amount, remaining amount, reset time and automatic replenishment status.Inline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Get points consumption record (GET /end-point/credit/consumption-logs)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/credit/consumption-logs \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/credit/consumption-logs

Query the points consumption record of the current resource space in the login state or API Key page. Team spaces require VIEW_BILLING permission.

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
pagequeryintegerfalsenone
page_sizequeryintegerfalsenone
start_datequerystring(date)falseStart date, interpreted by site time zone
end_datequerystring(date)falseEnd date, interpreted by site time zone
consumption_typequerystringfalseConsumption type

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, data includes list, page, page_size, total_count and total_pageInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Get points reset record (GET /end-point/credit/reset-logs)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/credit/reset-logs \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/credit/reset-logs

Query the points reset record of the current resource space in the login state or API Key page. Team spaces require VIEW_BILLING permission.

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
pagequeryintegerfalsenone
page_sizequeryintegerfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, data contains points reset records and paging information.Inline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Get points statistics (GET /end-point/credit/stats)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/credit/stats \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/credit/stats

Log in or API Key to query the points statistics aggregated by consumption type of the current resource space. Team spaces require VIEW_BILLING permission.

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
start_datequerystring(date)falseStart date, interpreted by site time zone
end_datequerystring(date)falseEnd date, interpreted by site time zone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, data contains by_type and totalInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Get daily point statistics (GET /end-point/credit/daily-stats)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/credit/daily-stats \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/credit/daily-stats

Log in or API Key to query the daily point consumption of the current resource space, which defaults to the last 7 days. Ordinary members of the team only return their actual consumption; administrators, super administrators and financial members with VIEW_BILLING permissions return the full data of the team. Team logs of unrecorded consuming members are only visible in the full view. API Key query can contain up to 31 natural days (inclusive), and the start date cannot be later than the end date.

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
start_datequerystring(date)falseStart date, default 6 days ago
end_datequerystring(date)falseEnd date, default is today
consumption_typequerystringfalseOptional consumption types
fill_gapsqueryintegerfalseWhether to fill in missing dates

Enumerated Values

ParameterValue
fill_gaps0
fill_gaps1

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, data contains daily_stats and summaryInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Get hourly point statistics (GET /end-point/credit/hourly-stats)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/credit/hourly-stats \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/credit/hourly-stats

Log in or API Key to query the hourly point consumption of the current resource space, which defaults to the last 7 days. Team spaces require VIEW_BILLING permission. API Key query can contain up to 31 natural days (inclusive), and the start date cannot be later than the end date.

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
start_datequerystring(date)falseStart date, default 6 days ago
end_datequerystring(date)falseEnd date, default is today
consumption_typequerystringfalseOptional consumption types
fill_gapsqueryintegerfalseWhether to fill in missing hours

Enumerated Values

ParameterValue
fill_gaps0
fill_gaps1

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, data contains hourly_stats and summaryInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Xcrawl Activity Log

Xcrawl single task and batch task records, details and summary query

Get a list of recent Xcrawl tasks

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/web_v1/xcrawl-activity-log/recent-runs \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /web_v1/xcrawl-activity-log/recent-runs

Log in to query the single task list and summary of the current resource space. The team space requires USE_ASSETS; ordinary members can only view the tasks generated by their own credentials, and administrators and super administrators can view the tasks of the entire team.

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
pagequeryintegerfalsenone
page_sizequeryintegerfalsenone
endpointquerystringfalseendpoint type
statusquerystringfalsenone
start_timequerystringfalseUser time zone time, format Y-m-d H:i:s
end_timequerystringfalseUser time zone, including end boundary
urlquerystringfalseTarget URL or Data scraper ID
job_idquerystringfalseTask ID prefix

Enumerated Values

ParameterValue
statuspending
statuscrawling
statuscompleted
statusfailed

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, data contains paging list and metadataInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Get Xcrawl Crawl Result

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/web_v1/xcrawl-activity-log/crawl-result?job_id=string \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /web_v1/xcrawl-activity-log/crawl-result

In the login state, query the Crawl Result of the specified task in the current resource space. The team space requires USE_ASSETS and verifies task ownership based on the member's visible credential range.

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
job_idquerystringtrueTask ID

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, data contains job_id and crawl_resultInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Get Xcrawl mission details and logs

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/web_v1/xcrawl-activity-log/activity-logs?job_id=string \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /web_v1/xcrawl-activity-log/activity-logs

In the login state, query the current resource space to specify a single task and its result details. The team space requires USE_ASSETS and verifies task ownership based on the member's visible credential range.

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
job_idquerystringtrueTask ID
pagequeryintegerfalsecrawl/data sub-result page number
page_sizequeryintegerfalsecrawl/data number of sub-result pages

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, data contains job and details changed by endpoint.Inline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Get Data URL aggregate statistics

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/web_v1/xcrawl-activity-log/data-url-summary \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /web_v1/xcrawl-activity-log/data-url-summary

Data scraper tasks that aggregate the current resource space in login state. Team spaces require USE_ASSETS, and the results follow the member's visible credential scope.

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
limitqueryintegerfalseReturn quantity; 0 returns an empty list

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, data.list is the scraper aggregation result.Inline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Get a list of recent batch crawling tasks

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/web_v1/xcrawl-activity-log/batch-recent-runs \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /web_v1/xcrawl-activity-log/batch-recent-runs

Log in to query the batch task list and summary of the current resource space. The team space requires USE_ASSETS; ordinary members can only view the tasks generated by their own credentials, and administrators and super administrators can view the tasks of the entire team.

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
pagequeryintegerfalsenone
page_sizequeryintegerfalsenone
endpointquerystringfalseEndpoint type, usually batch_scrape
statusquerystringfalsenone
start_timequerystringfalseUser time zone time, format Y-m-d H:i:s
end_timequerystringfalseUser time zone, including end boundary
batch_idquerystringfalseBatch task ID prefix

Enumerated Values

ParameterValue
statuspending
statuscrawling
statuscompleted
statusfailed

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, data contains paging list and metadataInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Get batch crawling task details and logs

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/web_v1/xcrawl-activity-log/batch-activity-logs?batch_id=string \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /web_v1/xcrawl-activity-log/batch-activity-logs

In the login state, query the specified batch tasks and their sub-item results in the current resource space. The team space requires USE_ASSETS and verifies task ownership based on the member's visible credential range.

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
batch_idquerystringtrueBatch task ID
pagequeryintegerfalseSubitem page number
page_sizequeryintegerfalseNumber of sub-pages

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP is successful; when the business is successful, data contains job and batch task detailsInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Account management

Get an overview of your personal account

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/account/profile \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/account/profile

Only the login status of personal space or personal API Key is supported; team API Key is not supported.

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": 0,
    "username": "string",
    "nickname": "string",
    "email": "string",
    "balance": "string",
    "gift_balance": "string",
    "currency": "string",
    "language": "string",
    "timezone": "string"
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please check the business code, 200 means success.Inline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Check personal balance statement

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/wallet/change-list \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/wallet/change-list

Only the login status of personal space or personal API Key is supported; team API Key is not supported.

Parameters

NameInTypeRequiredDescription
re_typequeryintegerfalsenone
transaction_typequeryintegerfalsenone
balance_typequeryintegerfalsenone
pagequeryintegerfalsenone
page_sizequeryintegerfalsenone

Enumerated Values

ParameterValue
re_type0
re_type1

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "id": 0,
        "re_type": 0,
        "transaction_type": 0,
        "balance_type": 0,
        "fee": "string"
      }
    ],
    "page": 0,
    "page_size": 0,
    "total_count": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please check the business code, 200 means success.Inline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Log export

Create an agent log export task

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-usage-flow-log-export/create \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-usage-flow-log-export/create

Only the login status of personal space or personal API Key is supported; team API Key is not supported. The start time must be earlier than the end time, and the time span does not exceed 31 days; the same user is only allowed one waiting or processing export task, and the upper limit of logs is 5 million.

Body parameter

{
  "start_time": 0,
  "end_time": 0,
  "type": "dynamic"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» start_timebodyintegertrueStarting Unix timestamp, seconds
» end_timebodyintegertrueend Unix timestamp, seconds
» typebodystringfalsenone

Enumerated Values

ParameterValue
» typedynamic
» typehost_pool

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "task_id": 0,
    "status": "string"
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please check the business code, 200 means success.Inline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Query log export task details

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-usage-flow-log-export/detail?task_id=1 \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-usage-flow-log-export/detail

Only the login status of personal space or personal API Key is supported; team API Key is not supported.

Parameters

NameInTypeRequiredDescription
task_idqueryintegertruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": 0,
    "user_id": 0,
    "start_time": "string",
    "end_time": "string",
    "status": "pending",
    "file_size": 0,
    "record_count": 0,
    "created_at": "string",
    "completed_at": "string",
    "file_url": "string",
    "download_url": "string",
    "error_message": "string"
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please check the business code, 200 means success.Inline

Response Schema

Enumerated Values

PropertyValue
statuspending
statusprocessing
statuscompleted
statusfailed
statuscanceled
statusno_data
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Query log export task list

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-usage-flow-log-export/list \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-usage-flow-log-export/list

Only the login status of personal space or personal API Key is supported; team API Key is not supported.

Parameters

NameInTypeRequiredDescription
pagequeryintegerfalsenone
sizequeryintegerfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "id": 0,
        "user_id": 0,
        "start_time": "string",
        "end_time": "string",
        "status": "pending",
        "file_size": 0,
        "record_count": 0,
        "created_at": "string",
        "completed_at": "string",
        "file_url": "string",
        "download_url": "string",
        "error_message": "string"
      }
    ],
    "total": 0,
    "page": 0,
    "size": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please check the business code, 200 means success.Inline

Response Schema

Enumerated Values

PropertyValue
statuspending
statusprocessing
statuscompleted
statusfailed
statuscanceled
statusno_data
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Cancel the log export task that has not been executed yet

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-usage-flow-log-export/cancel \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-usage-flow-log-export/cancel

Only the login status of personal space or personal API Key is supported; team API Key is not supported. Only tasks in the waiting state in the queue can be canceled, and tasks that have already been executed cannot be canceled.

Body parameter

{
  "task_id": 1
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» task_idbodyintegertruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": null,
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please check the business code, 200 means success.Inline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Coupon

Query personal coupon list

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-coupon/list \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-coupon/list

Only the login status of personal space or personal API Key is supported; team API Key is not supported.

Body parameter

{
  "status": 0,
  "page": 1,
  "size": 20
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» statusbodyintegerfalsenone
» pagebodyintegerfalsenone
» sizebodyintegerfalsenone

Enumerated Values

ParameterValue
» status0
» status1
» status2

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "id": 0,
        "coupon_id": 0,
        "type": 0,
        "status": 0,
        "source": 0,
        "title": "string",
        "title_en": "string",
        "description": "string",
        "description_en": "string",
        "start_amount": "string",
        "start_amount_usd": "string",
        "start_amount_hkd": "string",
        "deduction_amount": "string",
        "deduction_amount_usd": "string",
        "deduction_amount_hkd": "string",
        "discount_rate": "string",
        "discount_ceiling_amount": "string",
        "discount_ceiling_amount_usd": "string",
        "discount_ceiling_amount_hkd": "string",
        "created_at": "string",
        "effect_at": "string",
        "expired_at": "string",
        "used_at": "string",
        "product_types": "string",
        "created_timestamp": 0,
        "effect_timestamp": 0,
        "expired_timestamp": 0,
        "used_timestamp": 0,
        "is_expired": true
      }
    ],
    "page": 0,
    "page_size": 0,
    "page_count": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please check the business code, 200 means success.Inline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Check personal coupon details

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-coupon/info \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-coupon/info

Only the login status of personal space or personal API Key is supported; team API Key is not supported.

Body parameter

{
  "id": 1
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» idbodyintegertruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": 0,
    "coupon_id": 0,
    "type": 0,
    "status": 0,
    "source": 0,
    "title": "string",
    "title_en": "string",
    "description": "string",
    "description_en": "string",
    "start_amount": "string",
    "start_amount_usd": "string",
    "start_amount_hkd": "string",
    "deduction_amount": "string",
    "deduction_amount_usd": "string",
    "deduction_amount_hkd": "string",
    "discount_rate": "string",
    "discount_ceiling_amount": "string",
    "discount_ceiling_amount_usd": "string",
    "discount_ceiling_amount_hkd": "string",
    "created_at": "string",
    "effect_at": "string",
    "expired_at": "string",
    "used_at": "string",
    "product_types": "string",
    "created_timestamp": 0,
    "effect_timestamp": 0,
    "expired_timestamp": 0,
    "used_timestamp": 0,
    "is_expired": true
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please check the business code, 200 means success.Inline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Notification management

Check site notifications

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/notify/list \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/notify/list

Only the login status of personal space or personal API Key is supported; team API Key is not supported.

Parameters

NameInTypeRequiredDescription
pagequeryintegerfalsenone
sizequeryintegerfalsenone
readqueryintegerfalsenone
typequeryintegerfalsenone

Enumerated Values

ParameterValue
read0
read1

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "id": 0,
        "title": "string",
        "content": "string",
        "type": 0,
        "read_status": 0,
        "created_at": "string",
        "created_timestamp": 0
      }
    ],
    "page": 0,
    "size": 0,
    "total": 0,
    "total_unread_count": 0,
    "unread_count_by_type": {}
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please check the business code, 200 means success.Inline

Response Schema

Enumerated Values

PropertyValue
read_status0
read_status1
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Check site notification details

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/notify/detail?id=1 \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/notify/detail

Only the login status of personal space or personal API Key is supported; team API Key is not supported.

Parameters

NameInTypeRequiredDescription
idqueryintegertruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": 0,
    "title": "string",
    "content": "string",
    "type": 0,
    "read_status": 0,
    "created_at": "string",
    "created_timestamp": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please check the business code, 200 means success.Inline

Response Schema

Enumerated Values

PropertyValue
read_status0
read_status1
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Mark site notifications as read

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/notify/read \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/notify/read

Only the login status of personal space or personal API Key is supported; team API Key is not supported.

Body parameter

{
  "id": 1
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» idbodyintegertruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": null,
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please check the business code, 200 means success.Inline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Mark site notifications as read in batches

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/notify/batch-read \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/notify/batch-read

Only the login status of personal space or personal API Key is supported; team API Key is not supported.

Body parameter

{
  "ids": [
    1
  ]
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» idsbody[integer]truenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": null,
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please check the business code, 200 means success.Inline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Query notification channel configuration

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-notify \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-notify

Only the login status of personal space or personal API Key is supported; team API Key is not supported.

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "scene": 0,
        "email_notify": true,
        "phone_notify": true,
        "browser_notify": true,
        "site_inner_message_notify": true,
        "webhook_notify": true,
        "telegram_notify": true
      }
    ]
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please check the business code, 200 means success.Inline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Query notification email

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-notification-email/list \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-notification-email/list

Only the login status of personal space or personal API Key is supported; team API Key is not supported.

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "id": 0,
        "email": "string",
        "created_at": 0
      }
    ],
    "max_count": 0,
    "current_count": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please check the business code, 200 means success.Inline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Query notification scenario

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-notification-email/scenes \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-notification-email/scenes

Only the login status of personal space or personal API Key is supported; team API Key is not supported.

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "id": 0,
        "name": "string",
        "description": "string"
      }
    ]
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please check the business code, 200 means success.Inline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Query email subscription scenario

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-notification-email/email-scenes?id=1 \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-notification-email/email-scenes

Only the login status of personal space or personal API Key is supported; team API Key is not supported.

Parameters

NameInTypeRequiredDescription
idqueryintegertruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "scenes": [
      0
    ],
    "subscribe_all": true
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please check the business code, 200 means success.Inline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Agent configuration

Query personal agent cache switch

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/proxy-cache/status \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/proxy-cache/status

Only the login status of personal space or personal API Key is supported; team API Key is not supported.

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "status": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please check the business code, 200 means success.Inline

Response Schema

Enumerated Values

PropertyValue
status0
status1
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Set personal proxy caching switch

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/proxy-cache/change \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/proxy-cache/change

Only the login status of personal space or personal API Key is supported; team API Key is not supported.

Body parameter

{
  "status": 0
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» statusbodyintegertruenone

Enumerated Values

ParameterValue
» status0
» status1

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": null,
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please check the business code, 200 means success.Inline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Query personal agent UDP switch

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-proxy-config/udp \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-proxy-config/udp

Only the login status of personal space or personal API Key is supported; team API Key is not supported.

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "enabled": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please check the business code, 200 means success.Inline

Response Schema

Enumerated Values

PropertyValue
enabled0
enabled1
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Set personal agent UDP switch

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-proxy-config/udp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-proxy-config/udp

Only the login status of personal space or personal API Key is supported; team API Key is not supported.

Body parameter

{
  "udp": 0
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» udpbodyintegertruenone

Enumerated Values

ParameterValue
» udp0
» udp1

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "enabled": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please check the business code, 200 means success.Inline

Response Schema

Enumerated Values

PropertyValue
enabled0
enabled1
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Team wallet

Query team wallet

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/team/wallet/detail?team_id=A1b2C3d4E5f6 \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/team/wallet/detail

Requires VIEW_BILLING permission. The team wallet is independent of super administrators and members’ personal balances.

Parameters

NameInTypeRequiredDescription
team_idqueryTeamPublicIdtruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "team_id": "A1b2C3d4E5f6",
    "balance": 0.1,
    "total_recharge_fee": 0.1,
    "updated_at": "string"
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Check team wallet flow

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/team/wallet/records?team_id=A1b2C3d4E5f6 \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/team/wallet/records

Requires VIEW_BILLING permission. The turnover amount is always a positive number, and the increase or decrease in funds is represented by the direction field.

Parameters

NameInTypeRequiredDescription
team_idqueryTeamPublicIdtruenone
pagequeryintegerfalsenone
page_sizequeryintegerfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "id": 1,
        "team_id": "A1b2C3d4E5f6",
        "operator_user_id": 0,
        "creator": {
          "user_id": 0,
          "display_name": "string",
          "nickname": "string",
          "username": "string",
          "email": "string",
          "phone": "string"
        },
        "direction": 0,
        "transaction_type": 1,
        "amount": 0.1,
        "after_balance": 0.1,
        "link_id": 0,
        "request_id": "string",
        "remark": "string",
        "created_at": "string"
      }
    ],
    "total": 0,
    "page": 1,
    "page_size": 1
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

Enumerated Values

PropertyValue
direction0
direction1
transaction_type1
transaction_type2
transaction_type3
transaction_type4
transaction_type5
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Transfer personal balance to team wallet

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/team/wallet/transfer-in \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/team/wallet/transfer-in

Only team super admins have TRANSFER_BALANCE permissions. The team wallet is added after atomically deducting the personal recharge balance; the transferred amount is not included in total_recharge_fee, and transfer back to personal balance is not supported.

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "amount": 9999999999.9999
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyTeamPublicIdtrueThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» amountbodynumber(double)truenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "team_id": "A1b2C3d4E5f6",
    "balance": 0.1,
    "total_recharge_fee": 0.1,
    "updated_at": "string"
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Transfer team balance back to personal account

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/team/wallet/transfer-out \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/team/wallet/transfer-out

It can only be called when the super administrator is logged in. Atomic deductions from the team's wallet and increase their personal recharge balance; do not change the cumulative recharge amount of the team or individual. The disbanded team can be used to recover the balance, but the disbanded team cannot be called.

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "amount": 9999999999.9999
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyTeamPublicIdtrueThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» amountbodynumber(double)trueMust not exceed the team's current available balance

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "team_id": "A1b2C3d4E5f6",
    "balance": 0.1,
    "total_recharge_fee": 0.1,
    "updated_at": "string"
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKHTTP successful; please continue to judge the response body codeInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

IP extraction

Extract IP (GET /end-point/ip/get-ip)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/get-ip?app_key=pa%24%24word \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/get-ip

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalseThe team Key can be omitted; when passed in, it must be consistent with the team to which the Key is bound.
app_keyquerystring(password)trueaccess key
ccquerystringfalseCountry or region
statequerystringfalseprovince or state
cityquerystringfalsecity
formatquerystringfalseGet format
lbquerystringfalseSeparator, only valid in text format
numquerynumberfalseExtract quantity
lifequerynumberfalseHold period - minutes
epquerystringfalseproxy network

Enumerated Values

ParameterValue
epus
ephk
epde

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": {
    "list": [
      [
        "150.109.114.72:1140",
        "150.109.114.72:1141",
        "150.109.114.72:1142",
        "150.109.114.72:1143",
        "150.109.114.72:1144",
        "150.109.114.72:1145",
        "150.109.114.72:1146",
        "150.109.114.72:1147",
        "150.109.114.72:1148",
        "150.109.114.72:1149"
      ]
    ]
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegertruenoneStatus code, 200 successful, 3 app_key invalid, 156 account not authenticated.
» msgstringtruenonestatus message
» dataobjectfalsenonenone
»» list[any]falsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

City list (GET /end-point/ip/dynamic-area-city-list)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/dynamic-area-city-list \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/dynamic-area-city-list

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": {
    "list": [
      {
        "name_zh_cn": "美国",
        "name_en": "United States",
        "continent_code": "NA",
        "country_code": "US",
        "items": [
          {
            "city": "Arlington",
            "state": "alabama",
            "continent_code": "NA",
            "country_code": "US"
          }
        ]
      }
    ]
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegertruenoneStatus code, 200 successful, 3 app_key invalid, 156 account not authenticated.
» msgstringtruenonestatus message
» dataobjectfalsenonenone
»» list[object]falsenonelist
»»» name_zh_cnstringfalsenoneCountry or region name
»»» name_enstringfalsenoneCountry or region name
»»» continent_codestringfalsenonecontinent code
»»» country_codestringfalsenoneCountry or region code
»»» items[any]falsenoneprovince or state
»»»» citystringfalsenonecity name
»»»» statestringfalsenoneProvince or state name code
»»»» continent_codestringfalsenonecontinent code
»»»» country_codestringfalsenoneCountry or region code
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

IP extraction quantity statistics by day

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-extract-ip/days \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-extract-ip/days

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
start_datequerystring(date)falseDefault 6 days ago
end_datequerystring(date)falseDefault today
product_typequeryintegerfalsenone

Enumerated Values

ParameterValue
product_type9
product_type17
product_type22

Example responses

200 Response

{
  "code": 0,
  "msg": "string",
  "request_id": "string",
  "data": {
    "list": [
      {
        "count": 0,
        "date": "2019-08-24"
      }
    ]
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenonenone
» msgstringfalsenonenone
» request_idstringfalsenonenone
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» countintegertruenonenone
»»» datestring(date)truenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Extract IP (GET /end-point/ip/v3)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/v3?app_key=pa%24%24word \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/v3

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalseThe team Key can be omitted; when passed in, it must be consistent with the team to which the Key is bound.
app_keyquerystring(password)trueaccess key
ccquerystringfalseCountry or region
statequerystringfalseprovince or state
cityquerystringfalsecity
formatquerystringfalseGet format
lbquerystringfalseSeparator, only valid in text format
numquerynumberfalseExtract quantity
lifequerynumberfalseHold period - minutes
epquerystringfalseproxy network

Enumerated Values

ParameterValue
epus
ephk
epde

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": {
    "list": [
      [
        "150.109.114.72:1140",
        "150.109.114.72:1141",
        "150.109.114.72:1142",
        "150.109.114.72:1143",
        "150.109.114.72:1144",
        "150.109.114.72:1145",
        "150.109.114.72:1146",
        "150.109.114.72:1147",
        "150.109.114.72:1148",
        "150.109.114.72:1149"
      ]
    ]
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegertruenoneStatus code, 200 successful, 3 app_key invalid, 156 account not authenticated.
» msgstringtruenonestatus message
» dataobjectfalsenonenone
»» list[any]falsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Dynamic regional city list V4

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/dcl4?username=string \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/dcl4

Get the city list by user name, login authentication is required, and the account must belong to the current user

Parameters

NameInTypeRequiredDescription
usernamequerystringtrueAgent account username

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": {
    "cache": true,
    "list": [
      {
        "City": "Los Angeles",
        "Area": "US",
        "State": "California"
      }
    ]
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 success
» msgstringfalsenonestatus message
» dataobjectfalsenonenone
»» cachebooleanfalsenoneWhether it comes from cache
»» list[object]falsenonenone
»»» Citystringfalsenonecity
»»» Areastringfalsenonearea
»»» StatestringfalsenoneState/Province
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Dynamic regional state/province list V4

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/dsl4?username=string \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/dsl4

Get the state/province list by user name, login authentication is required, and the account must belong to the current user

Parameters

NameInTypeRequiredDescription
usernamequerystringtrueAgent account username

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": {
    "cache": true,
    "list": [
      {
        "City": "Los Angeles",
        "Area": "US",
        "State": "California"
      }
    ]
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 success
» msgstringfalsenonestatus message
» dataobjectfalsenonenone
»» cachebooleanfalsenoneWhether it comes from cache
»» list[object]falsenonenone
»»» Citystringfalsenonecity
»»» Areastringfalsenonearea
»»» StatestringfalsenoneState/Province
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Dynamic regional state/province city fusion list V4

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/dal4?username=string \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/dal4

Get a merged list of states/provinces and cities by username, grouped by region. Login authentication is required, and the account must belong to the current user

Parameters

NameInTypeRequiredDescription
usernamequerystringtrueAgent account username

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": {
    "cache": true,
    "list": [
      {
        "Area": "US",
        "states": [
          {
            "State": "California",
            "cities": [
              "Los Angeles"
            ]
          }
        ]
      }
    ]
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 success
» msgstringfalsenonestatus message
» dataobjectfalsenonenone
»» cachebooleanfalsenoneWhether it comes from cache
»» list[object]falsenoneArea list
»»» Areastringfalsenonearea code
»»» states[object]falsenoneState/Province List
»»»» StatestringfalsenoneState/province name
»»»» cities[string]falsenoneCity list
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

City list (GET /end-point/ip/dynamic-citys)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/dynamic-citys \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/dynamic-citys

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": {
    "list": [
      {
        "name_zh_cn": "美国",
        "name_en": "United States",
        "continent_code": "NA",
        "country_code": "US",
        "items": [
          {
            "city": "Arlington",
            "state": "alabama",
            "continent_code": "NA",
            "country_code": "US"
          }
        ]
      }
    ]
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegertruenoneStatus code, 200 successful, 3 app_key invalid, 156 account not authenticated.
» msgstringtruenonestatus message
» dataobjectfalsenonenone
»» list[object]falsenonelist
»»» name_zh_cnstringfalsenoneCountry or region name
»»» name_enstringfalsenoneCountry or region name
»»» continent_codestringfalsenonecontinent code
»»» country_codestringfalsenoneCountry or region code
»»» items[any]falsenoneprovince or state
»»»» citystringfalsenonecity name
»»»» statestringfalsenoneProvince or state name code
»»»» continent_codestringfalsenonecontinent code
»»»» country_codestringfalsenoneCountry or region code
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

City search

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/dynamic-citys/search?country_code=string&state=string \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/dynamic-citys/search

Parameters

NameInTypeRequiredDescription
country_codequerystringtrueCountry or region code
statequerystringtrueState or province code

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": {
    "list": [
      "string"
    ]
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegertruenoneStatus code, 200 successful, 3 app_key invalid, 156 account not authenticated.
» msgstringtruenonestatus message
» dataobjectfalsenonenone
»» list[string]falsenonelist
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

State List

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/dynamic-states \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/dynamic-states

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": {
    "list": [
      {
        "name_zh_cn": "美国",
        "name_en": "United States",
        "continent_code": "NA",
        "country_code": "US",
        "items": [
          {
            "state": "alabama",
            "continent_code": "NA",
            "country_code": "US"
          }
        ]
      }
    ]
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegertruenoneStatus code, 200 successful, 3 app_key invalid, 156 account not authenticated.
» msgstringtruenonestatus message
» dataobjectfalsenonenone
»» list[object]falsenonelist
»»» name_zh_cnstringfalsenoneCountry or region name
»»» name_enstringfalsenoneCountry or region name
»»» continent_codestringfalsenonecontinent code
»»» country_codestringfalsenoneCountry or region code
»»» items[any]falsenoneprovince or state
»»»» statestringfalsenoneProvince or state name code
»»»» continent_codestringfalsenonecontinent code
»»»» country_codestringfalsenoneCountry or region code
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

State/Province Search

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/dynamic-states/search?country_code=string \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/dynamic-states/search

Parameters

NameInTypeRequiredDescription
country_codequerystringtrueCountry or region code

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": {
    "list": [
      "string"
    ]
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegertruenoneStatus code, 200 successful, 3 app_key invalid, 156 account not authenticated.
» msgstringtruenonestatus message
» dataobjectfalsenonenone
»» list[string]falsenonelist
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Get a list of assigned datacenter static IPs

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/ip/get-datacenter-assign-ip-list \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/ip/get-datacenter-assign-ip-list

Deprecated, it is recommended to use /openapi/user-product/datacenter-isp-ip-list. To be compatible with old clients, this interface uses the POST method, but the filtering parameters are all read from query.

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalseResource space identifier; omit personal space or pass an empty string; team Key can be omitted and must be consistent with the Key when passed in
areaquerystringfalseCountry code
statusqueryintegerfalse0=all, 1=valid, 2=expired
trade_noquerystringfalseOrder number
created_atqueryarray[string]falseTo create a time range, the start and end time must be passed at the same time.

Enumerated Values

ParameterValue
status0
status1
status2

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "total": 0,
    "list": [
      {
        "id": 1,
        "ip": "string",
        "country_code": "string",
        "up_id": 1,
        "expired_at": "string",
        "created_at": "string",
        "country_name_zh_cn": "string",
        "country_name_en": "string",
        "country_continent_code": "string",
        "port": 1
      }
    ]
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Extract purchased static IP list

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/get-static-ip \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/get-static-ip

Parameters

NameInTypeRequiredDescription
country_codequerystringfalseCountry or region code
product_typequerynumberfalseProduct Type, 25: Static Residential IP, 14: Data Center IP
trade_noquerystringfalseFilter IP by order number
pagequerynumberfalsePage number
sizequerynumberfalseQuantity per page
statusquerynumberfalseStatus, 1: valid, 2: invalid, 3: about to expire, 4: under maintenance

Enumerated Values

ParameterValue
product_type14
product_type25
status1 - 2 - 3 - 4

Responses

StatusMeaningDescriptionSchema
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Get the number of static IPs for sale in the region

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/ip/static-ip-region \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/ip/static-ip-region

Parameters

NameInTypeRequiredDescription
ispqueryintegerfalseISP filtering, no filtering if not transmitted (default is 1 except site 1/4/5)
asnqueryintegerfalseWhether to return ASN packet data
exclusivequeryintegerfalseWhether to count according to exclusive inventory

Detailed descriptions

isp: ISP filtering, no filtering if not transmitted (default is 1 except site 1/4/5)

valuedescription
0Data Center Static IP (IDC)
1Home Static IP (ISP)

asn: Whether to return ASN packet data

valuedescription
0Do not return ASN packet data (default)
1Return ASN packet data

exclusive: Whether to count according to exclusive inventory

valuedescription
0Statistics based on current user/sharing group caliber (default)
1Exclude all assigned IPs and only count available inventory

Enumerated Values

ParameterValue
isp0
isp1
asn0
asn1
exclusive0
exclusive1

Example responses

200 Response

{
  "code": 200,
  "msg": "请求成功",
  "data": {
    "list": [
      {
        "code": "US",
        "number": 55
      }
    ]
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegertruenoneStatus code, 200 success
» msgstringtruenonestatus message
» dataobjectfalsenonenone
»» list[any]falsenonenone
»»» codestringtruenoneCountry or region code
»»» numberintegertruenoneQuantity
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Get host_pool supported countries/regions

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/host-pool/regions \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/host-pool/regions

Query the list of countries/regions supported by the current site of the host_pool service.

This interface is oriented to the random extraction scenario of data center IP based on traffic points, and only counts countries/regions based on the data center IP inventory available at the current site.

Example responses

200 Response

{
  "code": 200,
  "msg": "请求成功",
  "data": {
    "list": [
      {
        "code": "US",
        "number": 55,
        "name_zh_cn": "美国",
        "name_en": "United States",
        "square_flag": "https://example.com/static/flags/us.png"
      }
    ]
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegertruenoneStatus code, 200 success
» msgstringtruenonestatus message
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» codestringtruenoneCountry or region code, ISO 3166-1 alpha-2
»»» numberintegertruenoneNumber of data center IPs available at the current site
»»» name_zh_cnstringfalsenoneCountry or region Chinese name
»»» name_enstringfalsenoneEnglish name of country or region
»»» square_flagstringfalsenoneSquare Flag Image URL
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

IP whitelist

IP whitelist list (GET /end-point/proxy-ip/list)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/proxy-ip/list \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/proxy-ip/list

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalseResource space identifier; personal space omit or pass empty string
product_typequeryintegerfalsePackage type number

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": {
    "list": [
      {
        "ip": "1.1.1.1",
        "remark": "string",
        "product_type": 0,
        "created_at": "string"
      }
    ]
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 success
» msgstringfalsenonestatus message
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» ipstringfalsenoneWhitelist IP
»»» remarkstringfalsenoneRemarks
»»» product_typeintegerfalsenonePackage type
»»» created_atstringfalsenonecreation time
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Add IP whitelist (POST /end-point/proxy-ip/add)

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/proxy-ip/add \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/proxy-ip/add

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "app_key": "string",
  "ips": "1.1.1.1,2.2.2.2",
  "remark": "string",
  "product_type": 0,
  "user_product_id": 0
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» app_keybodystringfalseAuthorization key
» ipsbodystringtrueWhitelist IPs that need to be added, separate multiple ones with commas or newlines.
» remarkbodystringfalseRemarks
» product_typebodyintegerfalsePackage type number
» user_product_idbodyintegerfalseUser package ID, required when package type is 11

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": null
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 success
» msgstringfalsenonestatus message
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Delete IP whitelist (POST /end-point/proxy-ip/delete)

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/proxy-ip/delete \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/proxy-ip/delete

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "app_key": "string",
  "ips": "1.1.1.1,2.2.2.2",
  "verify_type": "string",
  "verify_code": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» app_keybodystringfalseAuthorization key
» ipsbodystringtrueWhitelist IPs that need to be deleted, multiple ones separated by commas
» verify_typebodystringfalseVerification type: phone, email, wechat, totp
» verify_codebodystringfalseVerification code

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": null
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 success
» msgstringfalsenonestatus message
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

IP whitelist list (GET /end-point/white-ip/list)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/white-ip/list \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/white-ip/list

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalseResource space identifier; personal space omit or pass empty string
product_typequeryintegerfalsePackage type number

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": {
    "list": [
      {
        "ip": "1.1.1.1",
        "remark": "string",
        "product_type": 0,
        "created_at": "string"
      }
    ]
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 success
» msgstringfalsenonestatus message
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» ipstringfalsenoneWhitelist IP
»»» remarkstringfalsenoneRemarks
»»» product_typeintegerfalsenonePackage type
»»» created_atstringfalsenonecreation time
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Add IP whitelist (POST /end-point/white-ip/add)

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/white-ip/add \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/white-ip/add

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "app_key": "string",
  "ips": "1.1.1.1,2.2.2.2",
  "remark": "string",
  "product_type": 0,
  "user_product_id": 0
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» app_keybodystringfalseAuthorization key
» ipsbodystringtrueWhitelist IPs that need to be added, separate multiple ones with commas or newlines.
» remarkbodystringfalseRemarks
» product_typebodyintegerfalsePackage type number
» user_product_idbodyintegerfalseUser package ID, required when package type is 11

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": null
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 success
» msgstringfalsenonestatus message
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Delete IP whitelist (POST /end-point/white-ip/delete)

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/white-ip/delete \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/white-ip/delete

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "app_key": "string",
  "ips": "1.1.1.1,2.2.2.2",
  "verify_type": "string",
  "verify_code": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» app_keybodystringfalseAuthorization key
» ipsbodystringtrueWhitelist IPs that need to be deleted, multiple ones separated by commas
» verify_typebodystringfalseVerification type: phone, email, wechat, totp
» verify_codebodystringfalseVerification code

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": null
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 success
» msgstringfalsenonestatus message
» datanullfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Modify IP whitelist remarks

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/white-ip/change-remark \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/white-ip/change-remark

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "ip": "192.168.0.1",
  "remark": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» ipbodystring(ipv4)truenone
» remarkbodystringtruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOperation successfulWebV1SuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Refresh the current resource space IP whitelist authentication cache

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/white-ip/refresh \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/white-ip/refresh

Body parameter

{
  "team_id": "A1b2C3d4E5f6"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOperation successfulWebV1SuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

IP whitelist quota for specified product types

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/white-ip/quota?product_type=0 \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/white-ip/quota

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
product_typequeryintegertruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOperation successfulWebV1SuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

IP whitelist quotas for all product types

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/white-ip/quotas \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/white-ip/quotas

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOperation successfulWebV1SuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Traffic log query

Recently used traffic is summarized by day

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-usage-flow/days \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-usage-flow/days

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "days": 7,
  "product_type": 0,
  "username": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» daysbodyintegerfalsenone
» product_typebodyintegerfalsenone
» usernamebodystringfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "days": "2019-08-24",
        "flow": 0
      }
    ],
    "days": 1
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Agent account historical traffic usage

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-usage-flow/username-total \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-usage-flow/username-total

Body parameter

{
  "team_id": "A1b2C3d4E5f6"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "username": "string",
        "flow": 0
      }
    ]
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Export the monthly traffic usage of the agency account

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-usage-flow/export-csv \
  -H 'Content-Type: application/json' \
  -H 'Accept: text/csv' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-usage-flow/export-csv

Body parameter

{
  "team_id": "A1b2C3d4E5f6"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued

Example responses

200 Response

Responses

StatusMeaningDescriptionSchema
200OKGBK encoded CSV filestring
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Total amount and remaining amount of package traffic

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-usage-flow/flow-total \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-usage-flow/flow-total

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
unitquerystringfalsenone

Enumerated Values

ParameterValue
unitKB
unitMB
unitGB
unitTB
unitPB

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "limit": 0,
    "total": 0,
    "remain": 0,
    "unit": "KB",
    "timestamp": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Enumerated Values

PropertyValue
unitKB
unitMB
unitGB
unitTB
unitPB
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

daily rate graph

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-usage-flow/rate-graph \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-usage-flow/rate-graph

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
startquerystring(date)falsenone
endquerystring(date)falsenone
usernamequerystringfalsenone
user_product_idqueryintegerfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "date": "2019-08-24",
        "rate": 0,
        "corrent": 0
      }
    ]
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Daily cache traffic statistics

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-usage-flow/cache-total \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-usage-flow/cache-total

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
start_timequerystringfalsenone
end_timequerystringfalsenone
product_typequeryintegerfalsenone
usernamequerystringfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "day": "2019-08-24",
        "cache_flow": 0,
        "cache_reduce_flow": 0
      }
    ]
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Traffic usage is summarized by day

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-usage-flow/total?app_key=pa%24%24word \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-usage-flow/total

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalseResource space identifier; personal space omit or pass empty string
app_keyquerystring(password)trueAuthentication key
start_timequerystring(Y-m-d H:i:s)falseStarting time, accurate to seconds. Please note that logging is delayed within 5 minutes. Default is within 7 days.
end_timequerystring(Y-m-d H:i:s)falseDeadline, accurate to seconds. Please note that logging is delayed within 5 minutes. Default current time.
usernamequerystringfalseSub-account name, query all accounts by default, sub-account can be specified. Please note that if you add a sub-account with the same name, this query will return all usage records for the agent account with the same name.
product_typequerynumberfalsePackage type

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": {
    "list": [
      {
        "day": "2022-08-01",
        "flow": 0
      }
    ]
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegertruenoneStatus code, 200 successful, 3 app_key invalid, 156 account not authenticated.
» msgstringtruenonestatus message
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» daystringfalsenoneDate
»»» flowintegerfalsenoneConsumption traffic, unit KB
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Agent log

Client IP proxy access statistics

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/http-t-dom/list-v2 \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/http-t-dom/list-v2

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
start_timequerystring(date)falsenone
end_timequerystring(date)falsenone
exportquerystringfalsenone

Enumerated Values

ParameterValue
exportcsv

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "visit_count": 0,
        "client_ip": "string",
        "time": "2019-08-24",
        "country_code": "string",
        "country": "string"
      }
    ],
    "cache": true,
    "ttl": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKJSON statistical results; CSV file is returned when export=csvstring
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Proportion of client IP visits

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/http-t-dom/client-ip-proportion \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/http-t-dom/client-ip-proportion

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
start_timequerystring(date)falsenone
end_timequerystring(date)falsenone
exportquerystringfalsenone

Enumerated Values

ParameterValue
exportcsv

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "username": "string",
        "client_ip": "string",
        "visit_count": 0,
        "visit_percentage": "string",
        "country": "string",
        "country_code": "string"
      }
    ],
    "cache": true,
    "ttl": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKJSON proportion result; CSV file is returned when export=csvstring
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Package inquiry

List of purchased packages

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-product/list?app_key=pa%24%24word \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-product/list

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalseResource space identifier; personal space omit or pass empty string
app_keyquerystring(password)trueAuthentication key
trade_noquerystringfalseOrder number, please enter the complete order number. Fuzzy search is not supported.
pagequerynumberfalsePagination, default: 1
sizequerynumberfalseNumber of pages displayed, default: 20
product_typequerynumberfalsePackage type

Example responses

200 Response

{
  "code": 200,
  "msg": "string",
  "data": {
    "list": [
      {
        "id": 0,
        "created_at": "2022-05-13 12:14:15",
        "expired_at": "2022-05-13 12:14:15",
        "product_type": 9,
        "trade_no": "2022051312134339861461465434",
        "order": {
          "created_at": "2022-05-13 12:13:43",
          "pay_at": "2022-05-13 12:13:43",
          "title": "入门级"
        }
      }
    ],
    "page": 1,
    "page_size": 20,
    "total_count": 0,
    "total_page": 0
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegertruenoneStatus code, 200 successful, 3 app_key invalid, 156 account not authenticated.
» msgstringtruenonestatus message
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» idintegerfalsenonePackage number
»»» created_atstringfalsenonePackage effective time
»»» expired_atstringfalsenoneThe expiration time of the package. After expiration, the traffic cannot be used.
»»» product_typeproductTypesfalsenonePackage type, 9 dynamic residential traffic package, 11 dynamic residential IP, 14 static data center IP, 25 static residential IP
»»» trade_nostringfalsenoneOrder transaction number
»»» orderobjectfalsenonenone
»»»» created_atstringfalsenoneOrder creation time
»»»» pay_atstringfalsenoneOrder payment time
»»»» titlestringfalsenoneOrder description
»» pageintegertruenoneCurrent page
»» page_sizeintegerfalsenonepaging size
»» total_countintegerfalsenoneTotal number of records
»» total_pageintegerfalsenoneTotal number of pages

Enumerated Values

PropertyValue
product_type9
product_type11
product_type14
product_type25
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Summary of user package data

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-product/summary?app_key=pa%24%24word \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-product/summary

Obtain statistical summary information of user packages, including total amount, effective amount, upcoming amount, expired amount, etc.

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalseResource space identifier; personal space omit or pass empty string
app_keyquerystring(password)trueAuthentication key
product_typequeryintegerfalseProduct type, only supports 9 (dynamic traffic package), 12 (long-term IDC traffic package)

Enumerated Values

ParameterValue
product_type9
product_type12

Example responses

200 Response

{
  "code": 200,
  "msg": "成功",
  "data": {
    "total": 1048576,
    "total_count": 5,
    "effective": 524288,
    "effective_count": 3,
    "effective_total": 786432,
    "effective_used": 262144,
    "temporary": 102400,
    "temporary_count": 1,
    "expired": 51200,
    "expired_count": 1,
    "used": 473088
  }
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» codeintegerfalsenoneStatus code, 200 successful, 3 app_key invalid, 156 account not authenticated.
» msgstringfalsenonestatus message
» dataobjectfalsenonenone
»» totalintegerfalsenoneTraffic/Total IP volume (unit: KB)
»» total_countintegerfalsenoneTotal number of packages
»» effectiveintegerfalsenoneEffective remaining amount (unit: KB)
»» effective_countintegerfalsenoneNumber of valid packages
»» effective_totalintegerfalsenoneEffective total amount (unit: KB)
»» effective_usedintegerfalsenoneEffective amount used (unit: KB)
»» temporaryintegerfalsenoneTotal amount due (due within 7 days, unit: KB)
»» temporary_countintegerfalsenoneNumber of expiring packages (expiry within 7 days)
»» expiredintegerfalsenoneExpired remaining amount (unit: KB)
»» expired_countintegerfalsenoneNumber of expired packages
»» usedintegerfalsenoneTotal amount used (unit: KB)
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Static IP list

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-product/datacenter-isp-ip-list \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-product/datacenter-isp-ip-list

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "status": 0,
  "page": 1,
  "size": 20,
  "user_product_id": 1,
  "country_code": "string",
  "product_type": 0,
  "ip": "192.168.0.1",
  "auto_renewal": 0,
  "support_renewal": 0,
  "remaining_days": 0,
  "limit_days": 0,
  "sort": "exp_asc",
  "remark": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» statusbodyintegerfalsenone
» pagebodyintegerfalsenone
» sizebodyintegerfalsenone
» user_product_idbodyintegerfalsenone
» country_codebodystringfalsenone
» product_typebodyintegerfalsenone
» ipbodystring(ipv4)falsenone
» auto_renewalbodyintegerfalsenone
» support_renewalbodyintegerfalsenone
» remaining_daysbodyintegerfalsenone
» limit_daysbodyintegerfalsenone
» sortbodystringfalsenone
» remarkbodystringfalsenone

Enumerated Values

ParameterValue
» auto_renewal0
» auto_renewal1
» support_renewal0
» support_renewal1
» sortexp_asc
» sortexp_desc

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOperation successfulWebV1SuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Delete expired packages

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-product/delete \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-product/delete

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "id": 1
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» idbodyintegertruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOperation successfulWebV1SuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Delete expired packages in batches

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-product/batch-delete \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-product/batch-delete

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "ids": [
    1
  ]
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» idsbody[integer]truenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOperation successfulWebV1SuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Modify package remarks

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-product/change-remark \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-product/change-remark

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "id": 1,
  "remark": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» idbodyintegertruenone
» remarkbodystringtruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOperation successfulWebV1SuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Set static IP UDP switches in batches

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-product/set-ip-udp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-product/set-ip-udp

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "ids": [
    1
  ],
  "udp": 0
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» idsbody[integer]truenone
» udpbodyintegertruenone

Enumerated Values

ParameterValue
» udp0
» udp1

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOperation successfulWebV1SuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Package management

Change data center ISP static IP

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-product/change-datacenter-isp-ip \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-product/change-datacenter-isp-ip

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "id": 1,
  "country_code": "string",
  "ip": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» idbodyintegertrueUser plan ID
» country_codebodystringfalseTarget country/region code; if not passed, the current IP country/region will be used first.
» ipbodystringfalseDestination IP prefix filtering

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "ip_id": 1,
    "ip": "string",
    "country_code": "string"
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Get static IP replacement records

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/user-product/ip-change-log \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/user-product/ip-change-log

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalseResource space identifier; personal space omit or pass empty string
pagequeryintegerfalsenone
page_sizequeryintegerfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "old": "string",
        "new": "string",
        "created_at": "string",
        "created_timestamp": 0
      }
    ],
    "page": 1,
    "page_size": 1,
    "total_count": 0,
    "page_count": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Set the automatic renewal switch for a single package

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-product/set-auto-renewal \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-product/set-auto-renewal

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "user_product_id": 1,
  "status": 0
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» user_product_idbodyintegertruenone
» statusbodyintegerfalse0=disable, 1=enable

Enumerated Values

ParameterValue
» status0
» status1

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": 1
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Set automatic renewal switch for packages in batches

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-product/batch-set-auto-renewal \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-product/batch-set-auto-renewal

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "user_product_ids": [
    1
  ],
  "status": 0
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» user_product_idsbody[integer]truenone
» statusbodyintegerfalse0=disable, 1=enable

Enumerated Values

ParameterValue
» status0
» status1

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "results": [
      {
        "user_product_id": 1,
        "success": true,
        "id": 1
      }
    ]
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKThe request is successful; each package returns the processing results independently.Inline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Set default auto-renewal parameters for product types

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-product/set-auto-renewal-default-config \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-product/set-auto-renewal-default-config

Pass at least one of days_before_expire, traffic_threshold, renewal_cycle_days; a value of 0 means resetting the corresponding configuration.

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "product_type": 9,
  "days_before_expire": 30,
  "traffic_threshold": 100,
  "renewal_cycle_days": 0
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» product_typebodyintegertruenone
» days_before_expirebodyintegerfalsenone
» traffic_thresholdbodyintegerfalseUnits GB, only supported on 9/12/24
» renewal_cycle_daysbodyintegerfalseOnly supported on 11/14/16/25, and must be the current product cycle on sale
» anonymousbodyobjectfalsenone
» anonymousbodyobjectfalsenone
» anonymousbodyobjectfalsenone

Enumerated Values

ParameterValue
» product_type9
» product_type11
» product_type12
» product_type14
» product_type16
» product_type24
» product_type25

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": null,
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKThe request is successful, data is nullInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Get the default automatic renewal parameters of the product type

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-product/get-auto-renewal-default-config \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-product/get-auto-renewal-default-config

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "product_type": 9
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» product_typebodyintegerfalseIf not passed, all supported types will be returned.

Enumerated Values

ParameterValue
» product_type9
» product_type11
» product_type12
» product_type14
» product_type16
» product_type24
» product_type25

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "configs": [
      {
        "product_type": 9,
        "days_before_expire": 0,
        "source": "user",
        "renewal_cycle": {
          "days": 1,
          "unit": "day",
          "source": "user"
        },
        "traffic_threshold": 0,
        "traffic_source": "user"
      }
    ]
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Enumerated Values

PropertyValue
product_type9
product_type11
product_type12
product_type14
product_type16
product_type24
product_type25
sourceuser
sourcesystem
sourceuser
sourcesystem
traffic_sourceuser
traffic_sourcesystem
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Get the automatic renewal configuration and renewal preview of a single package

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-product/get-auto-renewal \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-product/get-auto-renewal

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "user_product_id": 1
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» user_product_idbodyintegertruenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "expired_at": "string",
    "time_days": 0,
    "time_unit": "day",
    "next_expired_at": "string",
    "agreed_price": 0,
    "currency": "string",
    "config": {
      "id": 1,
      "user_id": 1,
      "team_id": "A1b2C3d4E5f6",
      "team_user_id": 0,
      "product_type": 0,
      "left_traffic": 0,
      "left_days": 0,
      "user_product_id": 1,
      "product_id": 0,
      "status": 0,
      "currency": "string",
      "agreed_price": 0,
      "agreed_bandwidth_price": 0,
      "agreed_concurrency_price": 0,
      "bandwidth_id": 0,
      "concurrency_id": 0,
      "duration": 0,
      "renew_product_id": 0,
      "days_before_expire": 0,
      "traffic_threshold": 0,
      "parent_product_type": 0,
      "created_at": "string",
      "updated_at": "string"
    },
    "traffic_threshold": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Enumerated Values

PropertyValue
time_unitday
time_unithour
status0
status1
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Get automatic renewal execution records

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/user-product/auto-renewal-logs \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/user-product/auto-renewal-logs

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "user_product_id": 1,
  "page": 1,
  "size": 20
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» user_product_idbodyintegerfalseIf not passed, all records in the current space will be queried.
» pagebodyintegerfalsenone
» sizebodyintegerfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "id": 1,
        "user_id": 1,
        "team_id": "A1b2C3d4E5f6",
        "team_user_id": 0,
        "config_id": 0,
        "user_product_id": 1,
        "product_type": 0,
        "renew_product_id": 0,
        "order_id": 0,
        "fee": 0,
        "currency": "string",
        "before_expired_at": "string",
        "after_expired_at": "string",
        "before_remain": 0,
        "after_remain": 0,
        "trigger_type": 0,
        "status": 1,
        "revoke_at": "string",
        "revoke_remark": "string",
        "created_at": "string",
        "updated_at": "string"
      }
    ],
    "page": 1,
    "page_size": 1,
    "total_page": 0,
    "total_count": 0
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

Enumerated Values

PropertyValue
trigger_type0
trigger_type1
status1
status2
status3
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Payment management

Pull up order payment

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/pay?trade_no=string \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/pay

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
trade_noquerystringtruenone
pm_idqueryintegerfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOperation successfulWebV1SuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Initiate payment for unpaid orders issued in the background

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/pay/index-choose \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/pay/index-choose

Body parameter

{
  "team_id": "A1b2C3d4E5f6",
  "trade_no": "string",
  "pay_method": 0,
  "pm_id": 0,
  "trade_type": "string"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» team_idbodyanyfalsePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
»» anonymousbodystringfalsenone
»» anonymousbodyTeamPublicIdfalseThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
» trade_nobodystringtruenone
» pay_methodbodyintegerfalsenone
» pm_idbodyintegerfalsenone
» trade_typebodystringfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOperation successfulWebV1SuccessResponse
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Pay checksum fee preview

Code samples

# You can also use wget
curl -X POST https://api.proxylite.com/end-point/pay/pay-check?trade_no=string \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /end-point/pay/pay-check

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
trade_noquerystringtruenone
pm_idqueryintegerfalsenone

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "trade_no": "string",
    "pm_id": 0,
    "pay_method": 0,
    "trade_type": "string",
    "country_code": "string",
    "currency": "string",
    "goods_fee": 0,
    "discount_fee": 0,
    "handling_fee": 0,
    "pay_fee": 0,
    "total_fee": 0,
    "pay_method_info": {
      "id": 0,
      "type": 0,
      "title": "string",
      "group": "string",
      "handling_rate": 0,
      "handling_fee": 0,
      "handling_fee_currency": "usd",
      "handling_fee_converted": 0
    },
    "origin": {
      "pm_id": 0,
      "pay_method": 0,
      "goods_fee": 0,
      "discount_fee": 0,
      "handling_fee": 0,
      "pay_fee": 0,
      "total_fee": 0
    }
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKRequest successfulInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Directly render the web payment page

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/pay/web-direct-pay?trade_no=string \
  -H 'Accept: text/html' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/pay/web-direct-pay

Parameters

NameInTypeRequiredDescription
team_idqueryResourceSpaceIdfalsenone
trade_noquerystringtruenone
pm_idqueryintegerfalsenone

Example responses

200 Response

"string"

Responses

StatusMeaningDescriptionSchema
200OKHTML payment pagestring
To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Get a list of payment methods (GET /end-point/payment/list)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/payment/list \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/payment/list

Parameters

NameInTypeRequiredDescription
trade_noquerystringfalseOrder number - can be passed in when some orders require a specific payment method
currencyquerystringfalsecurrency unit

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "id": 0,
        "title": "string",
        "logo": "string",
        "group": "string",
        "handling_rate": 0,
        "handling_fee": 0,
        "disabled": false,
        "min": 0,
        "max": 0
      }
    ]
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKget successInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Get a list of payment methods (GET /end-point/payment/groups)

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/payment/groups \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/payment/groups

Parameters

NameInTypeRequiredDescription
trade_noquerystringfalseOrder number - can be passed in when some orders require a specific payment method

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "name": "string",
        "logos": [
          "string"
        ],
        "items": [
          {
            "id": 0,
            "title": "string",
            "logo": "string",
            "group": "string",
            "disabled": false,
            "min": 0,
            "max": 0
          }
        ]
      }
    ]
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKget successInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Marketing

Recharge bonus ratio

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/activity/balance-recharge-gift-ratio \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/activity/balance-recharge-gift-ratio

Recharge bonus ratio

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      null
    ]
  },
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOKInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth, apiKeyAuth

Products

Product list

Code samples

# You can also use wget
curl -X GET https://api.proxylite.com/end-point/product \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /end-point/product

Get the list of packages available for purchase on the current site, and support filtering by type, validity period, and other conditions.

Parameters

NameInTypeRequiredDescription
typequeryintegerfalsePackage type, see Product.type enumeration description. If not passed, all types will be returned.
parent_product_typequeryintegerfalseParent package type, only valid when type=19 (IP renewal), used to filter product lines: 14=data center 25=residential
time_daysqueryanyfalseValidity period filtering, supports single value or array, such as 30 / [30,90,365]
show_typequeryanyfalseDisplay type filtering, supports single value or array

Enumerated Values

ParameterValue
parent_product_type14
parent_product_type25

Example responses

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": [
    {
      "id": 0,
      "title": "string",
      "type": 0,
      "show_type": 0,
      "status": 0,
      "price": 0.1,
      "usd_price": 0.1,
      "price_hkd": 0.1,
      "original_price": 0.1,
      "original_usd_price": 0.1,
      "original_price_hkd": 0.1,
      "local_price": 0.1,
      "local_original_price": 0.1,
      "preferred_currency": "string",
      "support_currencies": "string",
      "flow_value": 0.1,
      "flow_give": 0.1,
      "balance_give": 0.1,
      "balance_value": 0.1,
      "time_validity": 0.1,
      "time_price": 0.1,
      "time_days": 0,
      "tip1": "string",
      "tip2": "string",
      "introduce": [
        "string"
      ],
      "region_list_id": 0,
      "renew_product_list": "string",
      "parent_product_type": 0,
      "total_count": 0,
      "remain_count": 0,
      "extension_of_time_days": [
        0
      ],
      "time_days_price_rate": 0.1,
      "desc": {
        "subtitle": "string",
        "flow_value": 0.1,
        "flow_give": 0.1,
        "balance_give": 0.1,
        "time_validity": 0.1,
        "time_price": 0.1,
        "tip1": "string",
        "tip2": "string",
        "introduce": [
          "string"
        ]
      },
      "sku": {
        "bandwidth_list": [
          {
            "id": 0,
            "value": 0,
            "price": 0.1,
            "price_usd": 0.1,
            "price_hkd": 0.1
          }
        ],
        "duration_list": [
          {
            "id": 0,
            "value": 0,
            "price": 0.1,
            "price_usd": 0.1,
            "price_hkd": 0.1
          }
        ],
        "concurrency_list": [
          {
            "id": 0,
            "value": 0,
            "price": 0.1,
            "price_usd": 0.1,
            "price_hkd": 0.1
          }
        ]
      }
    }
  ],
  "request_id": "string"
}

Responses

StatusMeaningDescriptionSchema
200OKOKInline

Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: bearerAuth

Schemas

OpenApiAccountProfile

{
  "id": 0,
  "username": "string",
  "nickname": "string",
  "email": "string",
  "balance": "string",
  "gift_balance": "string",
  "currency": "string",
  "language": "string",
  "timezone": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
idintegertruenoneUser ID
usernamestringtruenoneUsername
nicknamestringtruenoneNickname
emailstringtruenoneBind email
balancestringtruenoneRecharge balance, decimal string
gift_balancestringtruenoneCurrent bonus balance, decimal string
currencystringtruenoneSite currency
languagestringtruenoneUser language, site language is used if not configured
timezonestringtruenoneUser time zone, use site time zone if not configured

OpenApiBalanceRecord

{
  "id": 0,
  "re_type": 0,
  "transaction_type": 0,
  "balance_type": 0,
  "fee": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
idinteger,stringfalsenoneDatabase values may be serialized as strings
re_typeinteger,stringfalsenone0 expenses, 1 income
transaction_typeinteger,stringfalsenonetransaction type
balance_typeinteger,stringfalsenoneBalance type
feestring,numberfalsenoneChange amount, site currency

OpenApiLogExportTask

{
  "id": 0,
  "user_id": 0,
  "start_time": "string",
  "end_time": "string",
  "status": "pending",
  "file_size": 0,
  "record_count": 0,
  "created_at": "string",
  "completed_at": "string",
  "file_url": "string",
  "download_url": "string",
  "error_message": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
idinteger,stringfalsenoneDatabase values may be serialized as strings
user_idinteger,stringfalsenoneDetails interface returns
start_timestringfalsenoneY-m-d H:i:s; non-RFC 3339 date
end_timestringfalsenoneY-m-d H:i:s; non-RFC 3339 date
statusstringfalsenonenone
file_sizeinteger,string,nullfalsenonenone
record_countinteger,string,nullfalsenonenone
created_atstringfalsenoneY-m-d H:i:s; non-RFC 3339 date
completed_atstringfalsenoneY-m-d H:i:s; non-RFC 3339 date
file_urlstringfalsenoneAfter completion, the details interface returns
download_urlstringfalsenoneReturn after completion, signature download address valid for 24 hours
error_messagestringfalsenoneOn failure, the details interface may return

Enumerated Values

PropertyValue
statuspending
statusprocessing
statuscompleted
statusfailed
statuscanceled
statusno_data

OpenApiCoupon

{
  "id": 0,
  "coupon_id": 0,
  "type": 0,
  "status": 0,
  "source": 0,
  "title": "string",
  "title_en": "string",
  "description": "string",
  "description_en": "string",
  "start_amount": "string",
  "start_amount_usd": "string",
  "start_amount_hkd": "string",
  "deduction_amount": "string",
  "deduction_amount_usd": "string",
  "deduction_amount_hkd": "string",
  "discount_rate": "string",
  "discount_ceiling_amount": "string",
  "discount_ceiling_amount_usd": "string",
  "discount_ceiling_amount_hkd": "string",
  "created_at": "string",
  "effect_at": "string",
  "expired_at": "string",
  "used_at": "string",
  "product_types": "string",
  "created_timestamp": 0,
  "effect_timestamp": 0,
  "expired_timestamp": 0,
  "used_timestamp": 0,
  "is_expired": true
}

Properties

NameTypeRequiredRestrictionsDescription
idinteger,stringfalsenoneDatabase values may be serialized as strings
coupon_idinteger,stringfalsenoneDatabase values may be serialized as strings
typeinteger,stringfalsenoneDatabase values may be serialized as strings
statusinteger,stringfalsenoneDatabase values may be serialized as strings
sourceinteger,stringfalsenoneDatabase values may be serialized as strings
titlestringfalsenonenone
title_enstringfalsenonenone
descriptionstringfalsenonenone
description_enstringfalsenonenone
start_amountstring,number,nullfalsenonenone
start_amount_usdstring,number,nullfalsenonenone
start_amount_hkdstring,number,nullfalsenonenone
deduction_amountstring,number,nullfalsenonenone
deduction_amount_usdstring,number,nullfalsenonenone
deduction_amount_hkdstring,number,nullfalsenonenone
discount_ratestring,number,nullfalsenonenone
discount_ceiling_amountstring,number,nullfalsenonenone
discount_ceiling_amount_usdstring,number,nullfalsenonenone
discount_ceiling_amount_hkdstring,number,nullfalsenonenone
created_atstring,nullfalsenoneY-m-d H:i:s
effect_atstring,nullfalsenoneY-m-d H:i:s
expired_atstring,nullfalsenoneY-m-d H:i:s
used_atstring,nullfalsenoneY-m-d H:i:s
product_typesstring,nullfalsenoneApplicable package types
created_timestampinteger,nullfalsenonenone
effect_timestampinteger,nullfalsenonenone
expired_timestampinteger,nullfalsenonenone
used_timestampinteger,nullfalsenonenone
is_expiredbooleanfalsenoneList interface returns

OpenApiNotification

{
  "id": 0,
  "title": "string",
  "content": "string",
  "type": 0,
  "read_status": 0,
  "created_at": "string",
  "created_timestamp": 0
}

Properties

NameTypeRequiredRestrictionsDescription
idinteger,stringfalsenoneDatabase values may be serialized as strings
titlestringfalsenonenone
contentstringfalsenoneContent rendered in requested language
typeinteger,stringfalsenoneDatabase values may be serialized as strings
read_statusintegerfalsenonenone
created_atstringfalsenoneY-m-d H:i:s; non-RFC 3339 date
created_timestampintegerfalsenonenone

Enumerated Values

PropertyValue
read_status0
read_status1

productTypes

9

Package type, 9 dynamic residential traffic package, 11 dynamic residential IP, 14 static data center IP, 25 static residential IP

Properties

NameTypeRequiredRestrictionsDescription
anonymousintegerfalsenonePackage type, 9 dynamic residential traffic package, 11 dynamic residential IP, 14 static data center IP, 25 static residential IP

Enumerated Values

PropertyValue
anonymous9
anonymous11
anonymous14
anonymous25

apiKey

"pa$$word"

API Key; passed using apiKeyAuth or the request parameter declared by the operation

Properties

NameTypeRequiredRestrictionsDescription
anonymousstring(password)falsenoneAPI Key; passed using apiKeyAuth or the request parameter declared by the operation

responseCode

200

Status code, 200 successful, 3 app_key invalid

Properties

NameTypeRequiredRestrictionsDescription
anonymousintegerfalsenoneStatus code, 200 successful, 3 app_key invalid

responseMsg

"success"

response message

Properties

NameTypeRequiredRestrictionsDescription
anonymousstringfalsenoneresponse message

SuccessResponse

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Properties

None

ErrorResponse

{
  "code": 2,
  "msg": "parameter error",
  "data": {},
  "request_id": "string"
}

Properties

None

WebV1SuccessResponse

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {},
  "request_id": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
codeintegertruenonenone
msgstringtruenonenone
dataobject,array,string,number,boolean,nulltruenoneBusiness data, the specific type is defined by the interface
request_idstringtruenoneRequest link tracking ID

WebV1ErrorResponse

{
  "code": 2,
  "msg": "parameter error",
  "data": {},
  "request_id": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
codeintegertruenoneBusiness error code

not

NameTypeRequiredRestrictionsDescription
» anonymousanyfalsenonenone

continued

NameTypeRequiredRestrictionsDescription
msgstringtruenoneError description
dataobject,array,nulltruenoneError additional data, null if there is no additional data
request_idstringtruenoneRequest link tracking ID

TeamPublicId

"A1b2C3d4E5f6"

The team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued

Properties

NameTypeRequiredRestrictionsDescription
anonymousstringfalsenoneThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued

ResourceSpaceId

"A1b2C3d4E5f6"

Public resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification

Properties

oneOf

NameTypeRequiredRestrictionsDescription
anonymousstringfalsenonenone

xor

NameTypeRequiredRestrictionsDescription
anonymousTeamPublicIdfalsenoneThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued

Team

{
  "id": "A1b2C3d4E5f6",
  "name": "string",
  "super_admin_user_id": 1,
  "status": 0,
  "current_role": 1,
  "dissolving_at": "string",
  "dissolved_at": "string",
  "created_at": "string",
  "updated_at": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
idTeamPublicIdtruenoneThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
namestringtruenoneTeam name
super_admin_user_idintegertruenoneSuper administrator user ID
statusintegertruenoneTeam status: 0=disabled, 1=valid, 2=disbanding, 3=disbanded
current_roleinteger,nulltruenoneThe current user's role in the team; null if cannot be determined
dissolving_atstring,nulltruenoneStart dissolution time
dissolved_atstring,nulltruenoneDissolution completion time
created_atstringtruenonecreation time
updated_atstringtruenoneUpdate time

Enumerated Values

PropertyValue
status0
status1
status2
status3
current_role1
current_role2
current_role3
current_role4
current_rolenull

TeamAsset

{
  "id": 1,
  "user_id": 1,
  "team_id": "A1b2C3d4E5f6",
  "team_user_id": 0,
  "product_id": 1,
  "product_type": 0,
  "parent_product_type": 0,
  "status": 0,
  "total_amount": 0,
  "remain": 0,
  "bandwidth": 0,
  "concurrency": 0,
  "expired_at": "string",
  "created_at": "string",
  "ip": "string",
  "country_code": "string",
  "country_name": "string",
  "asn": "string",
  "port": 0
}

Properties

NameTypeRequiredRestrictionsDescription
idintegertruenoneUser plan ID
user_idintegertruenoneResource owner user ID
team_idResourceSpaceIdtruenonePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
team_user_idintegertruenoneActual creation of member user IDs
product_idintegertruenoneProduct ID
product_typeintegertruenoneproduct type
parent_product_typeintegertruenoneParent product type
statusintegertruenonePackage status
total_amountinteger(int64)truenonetotal amount
remaininteger(int64)truenoneRemaining amount
bandwidthintegerfalsenoneBandwidth (Mbps); only returned by product_type=19 or 11
concurrencyintegerfalsenoneNumber of concurrencies; only product_type=11 is returned
expired_atstring,nulltruenoneExpiration time
created_atstringtruenonecreation time
ipstringfalsenoneStatic IP address; only product_type=19 returns
country_codestringfalsenoneStatic IP country code; only product_type=19 returns
country_namestringfalsenoneStatic IP country name; only returned by product_type=19
asnstringfalsenoneStatic IP ASN; only product_type=19 is returned
portintegerfalsenoneStatic IP proxy port; only returned by product_type=19

TeamProductInfo

{
  "team_id": "A1b2C3d4E5f6",
  "product_types": [
    0
  ],
  "product_residence_remain_count": 0,
  "product_residence_total_count": 0,
  "pdrue2_timestamp": 0,
  "remain": 0,
  "total_amount": 0,
  "scraping_remain": 0,
  "scraping_total_amount": 0,
  "scraping_timestamp": "string",
  "scraping_timestamp2": 0,
  "common_scraping_remain": 0,
  "common_scraping_total_amount": 0,
  "common_scraping_timestamp": "string",
  "common_scraping_timestamp2": 0,
  "pdidcr_count": 0,
  "pdidcr_total": 0,
  "pdidcr_traffic_remain": 0,
  "pdidcr_traffic_total": 0,
  "p_sitai_ip_count": 0,
  "p_sitai_ip": 0,
  "p_sitai_ip_total": 0,
  "p_sitai_remain": 0,
  "p_sitai_total": 0,
  "pdidc_count": 0,
  "pdidc_total": 0,
  "pdidc_ip_count": 0,
  "pdidc_ip_all_count": 0,
  "pdispr_count": 0,
  "pdispr_total": 0,
  "pdispr_traffic_remain": 0,
  "pdispr_traffic_total": 0,
  "product_datacenter_isp_traffic_ip_count": 0,
  "product_datacenter_isp_traffc_ip": 0,
  "product_datacenter_isp_traffc_ip_total": 0,
  "product_datacenter_isp_traffic_ip": 0,
  "product_datacenter_isp_traffic_ip_total": 0,
  "product_datacenter_isp_traffc_remain": 0,
  "product_datacenter_isp_traffc_total": 0,
  "product_datacenter_isp_traffic_remain": 0,
  "product_datacenter_isp_traffic_total": 0,
  "product_datacenter_isp_ip": 0,
  "product_datacenter_isp_ip_total": 0,
  "product_datacenter_isp_ip_count": 0,
  "product_datacenter_isp_ip_all_count": 0,
  "product_datacenter_isp_ip_traffic_remain": 0,
  "product_datacenter_isp_ip_traffic_total": 0,
  "product_agent_residence_remain_count": 0,
  "product_agent_residence_total_count": 0,
  "product_serp_remain": 0,
  "product_serp_total": 0,
  "product_serp_timestamp": "string",
  "product_serp_timestamp2": 0,
  "product_video_remain": 0,
  "product_video_total": 0,
  "product_video_timestamp": "string",
  "product_video_timestamp2": 0
}

Package statistical fields are consistent with /web_v1/user/info; cancellation, refund or soft deletion records are not included in the summary; except team_id and product_types, only fields corresponding to the product types supported by the current site are returned

Properties

NameTypeRequiredRestrictionsDescription
team_idTeamPublicIdtruenoneThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
product_types[integer]truenoneThe team resource space has not been canceled or soft deleted and the package type supported by the current site
product_residence_remain_countinteger(int64)falsenoneType 9 residual flow
product_residence_total_countinteger(int64)falsenoneType 9 Total Traffic
pdrue2_timestampinteger(int64)falsenoneType 11 latest expiration timestamp; 0 when there is no team package
remaininteger,stringfalsenoneType 17 Remaining Quantity
total_amountinteger,stringfalsenoneType 17 Total quantity
scraping_remaininteger(int64)falsenoneType 18 remaining times
scraping_total_amountinteger(int64)falsenoneType 18 total times
scraping_timestampstringfalsenoneType 18 latest expiration time; "-" when there is no package
scraping_timestamp2integer(int64)falsenoneType 18 latest expiration timestamp
common_scraping_remaininteger(int64)falsenoneType 29 remaining times
common_scraping_total_amountinteger(int64)falsenoneType 29 Total Times
common_scraping_timestampstringfalsenoneType 29 latest expiration time; "-" when there is no package
common_scraping_timestamp2integer(int64)falsenoneType 29 latest expiration timestamp
pdidcr_countintegerfalsenoneType 12 Valid Package Quantity
pdidcr_totalintegerfalsenoneTotal number of type 12 packages
pdidcr_traffic_remaininteger(int64)falsenoneType 12 Residual Flow
pdidcr_traffic_totalinteger(int64)falsenoneType 12 Total Traffic
p_sitai_ip_countintegerfalsenoneType 13 Valid IP Number
p_sitai_ipintegerfalsenoneType 13 Valid Package Quantity
p_sitai_ip_totalintegerfalsenoneTotal number of type 13 packages
p_sitai_remaininteger(int64)falsenoneType 13/24 residual flow
p_sitai_totalinteger(int64)falsenoneType 13/24 Total Flow
pdidc_countintegerfalsenoneType 14 Valid Package Quantity
pdidc_totalintegerfalsenoneTotal number of type 14 packages
pdidc_ip_countintegerfalsenoneType 14 Valid IP Number
pdidc_ip_all_countintegerfalsenoneType 14 IP Total
pdispr_countintegerfalsenoneType 15 Valid Package Quantity
pdispr_totalintegerfalsenoneTotal number of type 15 packages
pdispr_traffic_remaininteger(int64)falsenoneType 15 residual flow
pdispr_traffic_totalinteger(int64)falsenoneType 15 Total Traffic
product_datacenter_isp_traffic_ip_countintegerfalsenoneType 16 Valid IP Number
product_datacenter_isp_traffc_ipintegerfalsenoneType 16 Valid Package Quantity; Historically Compatible Spelling
product_datacenter_isp_traffc_ip_totalintegerfalsenoneTotal Type 16 Packages; Historically Compatible Spellings
product_datacenter_isp_traffic_ipintegerfalsenoneType 16 Valid Package Quantity
product_datacenter_isp_traffic_ip_totalintegerfalsenoneTotal number of type 16 packages
product_datacenter_isp_traffc_remaininteger(int64)falsenoneType 16/24 residual traffic; historically compatible spelling
product_datacenter_isp_traffc_totalinteger(int64)falsenoneType 16/24 total flow; historically compatible spelling
product_datacenter_isp_traffic_remaininteger(int64)falsenoneType 16/24 residual flow
product_datacenter_isp_traffic_totalinteger(int64)falsenoneType 16/24 Total Flow
product_datacenter_isp_ipintegerfalsenoneType 21 or 25 valid package quantity
product_datacenter_isp_ip_totalintegerfalsenoneType 21 or 25 total packages
product_datacenter_isp_ip_countintegerfalsenoneType 21 or 25 Valid IP Number
product_datacenter_isp_ip_all_countintegerfalsenoneTotal Type 21 or 25 IP
product_datacenter_isp_ip_traffic_remaininteger(int64)falsenoneType 21 corresponds to type 24 remaining flow
product_datacenter_isp_ip_traffic_totalinteger(int64)falsenoneType 21 corresponds to type 24 total flow
product_agent_residence_remain_countinteger(int64)falsenoneType 22 Residual Flow
product_agent_residence_total_countinteger(int64)falsenoneType 22 Total Traffic
product_serp_remaininteger(int64)falsenoneType 27 remaining times
product_serp_totalinteger(int64)falsenoneType 27 Total Times
product_serp_timestampstringfalsenoneType 27 latest expiration time; "-" when there is no package
product_serp_timestamp2integer(int64)falsenoneType 27 latest expiration timestamp
product_video_remaininteger(int64)falsenoneType 28 Residual Flow
product_video_totalinteger(int64)falsenoneType 28 Total Flow
product_video_timestampstringfalsenoneType 28 latest expiration time; "-" when there is no package
product_video_timestamp2integer(int64)falsenoneType 28 latest expiration timestamp

TeamWallet

{
  "team_id": "A1b2C3d4E5f6",
  "balance": 0.1,
  "total_recharge_fee": 0.1,
  "updated_at": "string"
}

Team wallet, isolated from the super administrator's personal balance; the amount uses the current site's default currency, with up to 4 decimal places.

Properties

NameTypeRequiredRestrictionsDescription
team_idTeamPublicIdtruenoneThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
balancenumber(double)truenoneCurrent available team balance
total_recharge_feenumber(double)truenoneThe current unspent team recharge principal, excluding the personal balance transfer amount
updated_atstringtruenoneWallet last changed time

TeamWalletRecord

{
  "id": 1,
  "team_id": "A1b2C3d4E5f6",
  "operator_user_id": 0,
  "creator": {
    "user_id": 0,
    "display_name": "string",
    "nickname": "string",
    "username": "string",
    "email": "string",
    "phone": "string"
  },
  "direction": 0,
  "transaction_type": 1,
  "amount": 0.1,
  "after_balance": 0.1,
  "link_id": 0,
  "request_id": "string",
  "remark": "string",
  "created_at": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
idintegertruenonenone
team_idTeamPublicIdtruenoneThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
operator_user_idintegertruenoneOperator, the system refund is 0
creatorTeamCreatorfalsenonenone
directionintegertruenone0=expense, 1=income
transaction_typeintegertruenone1=Recharge into account, 2=Transfer from personal balance, 3=Consumption of balance, 4=Refund or recharge refund, 5=Transfer back to personal balance
amountnumber(double)truenoneThe amount of this change, the direction is represented by direction
after_balancenumber(double)truenoneTeam wallet balance after change
link_idintegertruenoneAssociated order ID; when personal balance is transferred, it is the operating user ID
request_idstringtruenonenone
remarkstringtruenonenone
created_atstringtruenonenone

Enumerated Values

PropertyValue
direction0
direction1
transaction_type1
transaction_type2
transaction_type3
transaction_type4
transaction_type5

TeamCreator

{
  "user_id": 0,
  "display_name": "string",
  "nickname": "string",
  "username": "string",
  "email": "string",
  "phone": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
user_idintegertruenoneOperator user ID; system operation is 0
display_namestringtruenoneDisplay name, take nickname, username, email, and mobile phone number in order
nicknamestringtruenonenone
usernamestringtruenonenone
emailstringtruenoneNon-administrator perspective is desensitization value
phonestringtruenoneNon-administrator perspective is desensitization value

TeamResponse

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": "A1b2C3d4E5f6",
    "name": "string",
    "super_admin_user_id": 1,
    "status": 0,
    "current_role": 1,
    "dissolving_at": "string",
    "dissolved_at": "string",
    "created_at": "string",
    "updated_at": "string"
  },
  "request_id": "string"
}

Properties

allOf

NameTypeRequiredRestrictionsDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredRestrictionsDescription
anonymousobjectfalsenonenone
» dataTeamfalsenonenone

TeamListResponse

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "id": "A1b2C3d4E5f6",
        "name": "string",
        "super_admin_user_id": 1,
        "status": 0,
        "current_role": 1,
        "dissolving_at": "string",
        "dissolved_at": "string",
        "created_at": "string",
        "updated_at": "string"
      }
    ],
    "total": 0,
    "page": 1,
    "page_size": 1
  },
  "request_id": "string"
}

Properties

allOf

NameTypeRequiredRestrictionsDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredRestrictionsDescription
anonymousobjectfalsenonenone
» dataobjectfalsenonenone
»» list[Team]truenonenone
»» totalintegertruenonenone
»» pageintegertruenonenone
»» page_sizeintegertruenonenone

TeamMemberListResponse

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "team_member_id": 1,
        "team_id": "A1b2C3d4E5f6",
        "user_id": 1,
        "role": 1,
        "status": 0,
        "joined_at": "string",
        "nickname": "string",
        "username": "string"
      }
    ],
    "total": 0,
    "page": 1,
    "page_size": 1
  },
  "request_id": "string"
}

Properties

allOf

NameTypeRequiredRestrictionsDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredRestrictionsDescription
anonymousobjectfalsenonenone
» dataobjectfalsenonenone
»» list[TeamMember]truenonenone
»» totalintegertruenonenone
»» pageintegertruenonenone
»» page_sizeintegertruenonenone

TeamPersonListResponse

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "record_type": "member",
        "record_id": 1,
        "team_id": "A1b2C3d4E5f6",
        "user_id": 0,
        "inviter_user_id": 0,
        "invite_type": 0,
        "invite_country_code": 999,
        "invite_target": "string",
        "delivery_type": 0,
        "role": 1,
        "status": 0,
        "display_name": "string",
        "nickname": "string",
        "username": "string",
        "email": "string",
        "phone": "string",
        "joined_at": "string",
        "expired_at": "string",
        "created_at": "string"
      }
    ],
    "total": 0,
    "page": 1,
    "page_size": 1
  },
  "request_id": "string"
}

Properties

allOf

NameTypeRequiredRestrictionsDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredRestrictionsDescription
anonymousobjectfalsenonenone
» dataobjectfalsenonenone
»» list[TeamPerson]truenonenone
»» totalintegertruenonenone
»» pageintegertruenonenone
»» page_sizeintegertruenonenone

TeamAssetResponse

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": 1,
    "user_id": 1,
    "team_id": "A1b2C3d4E5f6",
    "team_user_id": 0,
    "product_id": 1,
    "product_type": 0,
    "parent_product_type": 0,
    "status": 0,
    "total_amount": 0,
    "remain": 0,
    "bandwidth": 0,
    "concurrency": 0,
    "expired_at": "string",
    "created_at": "string",
    "ip": "string",
    "country_code": "string",
    "country_name": "string",
    "asn": "string",
    "port": 0
  },
  "request_id": "string"
}

Properties

allOf

NameTypeRequiredRestrictionsDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredRestrictionsDescription
anonymousobjectfalsenonenone
» dataTeamAssetfalsenonenone

TeamProductInfoResponse

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "team_id": "A1b2C3d4E5f6",
    "product_types": [
      0
    ],
    "product_residence_remain_count": 0,
    "product_residence_total_count": 0,
    "pdrue2_timestamp": 0,
    "remain": 0,
    "total_amount": 0,
    "scraping_remain": 0,
    "scraping_total_amount": 0,
    "scraping_timestamp": "string",
    "scraping_timestamp2": 0,
    "common_scraping_remain": 0,
    "common_scraping_total_amount": 0,
    "common_scraping_timestamp": "string",
    "common_scraping_timestamp2": 0,
    "pdidcr_count": 0,
    "pdidcr_total": 0,
    "pdidcr_traffic_remain": 0,
    "pdidcr_traffic_total": 0,
    "p_sitai_ip_count": 0,
    "p_sitai_ip": 0,
    "p_sitai_ip_total": 0,
    "p_sitai_remain": 0,
    "p_sitai_total": 0,
    "pdidc_count": 0,
    "pdidc_total": 0,
    "pdidc_ip_count": 0,
    "pdidc_ip_all_count": 0,
    "pdispr_count": 0,
    "pdispr_total": 0,
    "pdispr_traffic_remain": 0,
    "pdispr_traffic_total": 0,
    "product_datacenter_isp_traffic_ip_count": 0,
    "product_datacenter_isp_traffc_ip": 0,
    "product_datacenter_isp_traffc_ip_total": 0,
    "product_datacenter_isp_traffic_ip": 0,
    "product_datacenter_isp_traffic_ip_total": 0,
    "product_datacenter_isp_traffc_remain": 0,
    "product_datacenter_isp_traffc_total": 0,
    "product_datacenter_isp_traffic_remain": 0,
    "product_datacenter_isp_traffic_total": 0,
    "product_datacenter_isp_ip": 0,
    "product_datacenter_isp_ip_total": 0,
    "product_datacenter_isp_ip_count": 0,
    "product_datacenter_isp_ip_all_count": 0,
    "product_datacenter_isp_ip_traffic_remain": 0,
    "product_datacenter_isp_ip_traffic_total": 0,
    "product_agent_residence_remain_count": 0,
    "product_agent_residence_total_count": 0,
    "product_serp_remain": 0,
    "product_serp_total": 0,
    "product_serp_timestamp": "string",
    "product_serp_timestamp2": 0,
    "product_video_remain": 0,
    "product_video_total": 0,
    "product_video_timestamp": "string",
    "product_video_timestamp2": 0
  },
  "request_id": "string"
}

Properties

allOf

NameTypeRequiredRestrictionsDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredRestrictionsDescription
anonymousobjectfalsenonenone
» dataTeamProductInfofalsenonePackage statistical fields are consistent with /web_v1/user/info; cancellation, refund or soft deletion records are not included in the summary; except team_id and product_types, only fields corresponding to the product types supported by the current site are returned

TeamWalletResponse

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "team_id": "A1b2C3d4E5f6",
    "balance": 0.1,
    "total_recharge_fee": 0.1,
    "updated_at": "string"
  },
  "request_id": "string"
}

Properties

allOf

NameTypeRequiredRestrictionsDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredRestrictionsDescription
anonymousobjectfalsenonenone
» dataTeamWalletfalsenoneTeam wallet, isolated from the super administrator's personal balance; the amount uses the current site's default currency, with up to 4 decimal places.

TeamWalletRecordListResponse

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "id": 1,
        "team_id": "A1b2C3d4E5f6",
        "operator_user_id": 0,
        "creator": {
          "user_id": 0,
          "display_name": "string",
          "nickname": "string",
          "username": "string",
          "email": "string",
          "phone": "string"
        },
        "direction": 0,
        "transaction_type": 1,
        "amount": 0.1,
        "after_balance": 0.1,
        "link_id": 0,
        "request_id": "string",
        "remark": "string",
        "created_at": "string"
      }
    ],
    "total": 0,
    "page": 1,
    "page_size": 1
  },
  "request_id": "string"
}

Properties

allOf

NameTypeRequiredRestrictionsDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredRestrictionsDescription
anonymousobjectfalsenonenone
» dataobjectfalsenonenone
»» list[TeamWalletRecord]truenonenone
»» totalintegertruenonenone
»» pageintegertruenonenone
»» page_sizeintegertruenonenone

TeamAssetListResponse

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "id": 1,
        "user_id": 1,
        "team_id": "A1b2C3d4E5f6",
        "team_user_id": 0,
        "product_id": 1,
        "product_type": 0,
        "parent_product_type": 0,
        "status": 0,
        "total_amount": 0,
        "remain": 0,
        "bandwidth": 0,
        "concurrency": 0,
        "expired_at": "string",
        "created_at": "string",
        "ip": "string",
        "country_code": "string",
        "country_name": "string",
        "asn": "string",
        "port": 0
      }
    ],
    "total": 0,
    "page": 1,
    "page_size": 1
  },
  "request_id": "string"
}

Properties

allOf

NameTypeRequiredRestrictionsDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredRestrictionsDescription
anonymousobjectfalsenonenone
» dataobjectfalsenonenone
»» list[TeamAsset]truenonenone
»» totalintegertruenonenone
»» pageintegertruenonenone
»» page_sizeintegertruenonenone

UserApiKeyMetadata

{
  "id": 1,
  "api_key": "string",
  "team_user_id": 0,
  "remark": "string",
  "status": 0,
  "created_at": "string",
  "updated_at": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
idintegertruenoneAPI Key ID
api_keystringtruenoneThe creation response is the complete Key; the team list is the masked value
team_user_idintegertruenoneThe team key actually holds the member ID, and the personal key is 0
remarkstringtruenoneRemarks
statusintegertruenone0=disable, 1=enable
created_atstringtruenonecreation time
updated_atstring,nullfalsenoneUpdate time

Enumerated Values

PropertyValue
status0
status1

InvoiceInfo

{
  "invoice_code": "string",
  "name": "string",
  "org_name": "string",
  "first_name": "string",
  "last_name": "string",
  "phone": "string",
  "email": "[email protected]",
  "role_type": 1,
  "invoice_type": 0,
  "vat_id": "string",
  "tax_no": "string",
  "address_country": "string",
  "address_city": "string",
  "address_line1": "string",
  "address_line2": "string",
  "address_postal_code": "string",
  "bank_name": "string",
  "bank_account": "string",
  "is_def": true
}

Properties

NameTypeRequiredRestrictionsDescription
invoice_codestringfalsenonenone
namestringfalsenonenone
org_namestringfalsenonenone
first_namestringfalsenonenone
last_namestringfalsenonenone
phonestringfalsenonenone
emailstring(email)falsenonenone
role_typeintegerfalsenonenone
invoice_typeintegerfalsenonenone
vat_idstringfalsenonenone
tax_nostringfalsenonenone
address_countrystringfalsenonenone
address_citystringfalsenonenone
address_line1stringfalsenonenone
address_line2stringfalsenonenone
address_postal_codestringfalsenonenone
bank_namestringfalsenonenone
bank_accountstringfalsenonenone
is_defbooleanfalsenonenone

Enumerated Values

PropertyValue
role_type1
role_type2
invoice_type0
invoice_type1
invoice_type2

MonthlyRenewalRequest

{
  "team_id": "A1b2C3d4E5f6",
  "user_product_ids": [
    1
  ],
  "user_coupon_id": 1,
  "coupon_sn": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
team_idResourceSpaceIdfalsenonePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
user_product_idsanytruenoneUser plan ID array, also compatible with English comma separated strings

oneOf

NameTypeRequiredRestrictionsDescription
» anonymous[integer]falsenonenone

xor

NameTypeRequiredRestrictionsDescription
» anonymousstringfalsenonenone

continued

NameTypeRequiredRestrictionsDescription
user_coupon_idintegerfalsenonenone
coupon_snstringfalsenonenone

TeamInvitation

{
  "id": 1,
  "team_id": "A1b2C3d4E5f6",
  "inviter_user_id": 1,
  "invitee_user_id": 0,
  "invite_type": 1,
  "invite_country_code": 999,
  "invite_target": "string",
  "delivery_type": 1,
  "role": 2,
  "status": 0,
  "accepted_by_user_id": 0,
  "expired_at": "2026-07-17 10:00:00",
  "accepted_at": null,
  "rejected_at": null,
  "cancelled_at": null,
  "created_at": "2026-07-10 10:00:00"
}

Properties

NameTypeRequiredRestrictionsDescription
idintegertruenoneInvitation ID
team_idTeamPublicIdtruenoneThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
inviter_user_idintegertruenoneInviter user ID
invitee_user_idintegertruenoneInvited user ID, 0 if no registered user has been matched yet
invite_typeintegertruenoneInvitation type: 1=registered user, 2=email, 3=mobile phone number
invite_country_codeintegertruenoneCountry or area code of mobile phone number, 0 for non-mobile phone number invitations
invite_targetstringtruenoneStandardized invitation target; the registered user is user:{user_id}
delivery_typeintegertruenoneOriginal delivery channel: 1=registered user, 2=email, 3=mobile phone number; the original channel will be retained when the email or mobile phone number matches a registered user
roleintegertruenoneTarget role: 2=administrator, 3=ordinary member
statusintegertruenoneInvitation status: 0=pending, 1=accepted, 2=rejected, 3=cancelled, 4=expired
accepted_by_user_idintegertruenoneAcceptor user ID, 0 if not accepted
expired_atstringtruenoneExpiration time, format YYYY-MM-DD HH:mm:ss
accepted_atstring,nulltruenoneAcceptance time
rejected_atstring,nulltruenonerejection time
cancelled_atstring,nulltruenoneCancellation time
created_atstringtruenoneCreation time, format YYYY-MM-DD HH:mm:ss

Enumerated Values

PropertyValue
invite_type1
invite_type2
invite_type3
delivery_type1
delivery_type2
delivery_type3
role2
role3
status0
status1
status2
status3
status4

TeamMember

{
  "team_member_id": 1,
  "team_id": "A1b2C3d4E5f6",
  "user_id": 1,
  "role": 1,
  "status": 0,
  "joined_at": "string",
  "nickname": "string",
  "username": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
team_member_idintegertruenoneMembership ID
team_idTeamPublicIdtruenoneThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
user_idintegertruenoneMember user ID
roleintegertruenoneRole: 1=super administrator, 2=administrator, 3=ordinary member, 4=finance member
statusintegertruenoneMember status: 0=disabled, 1=valid, 2=exited, 3=removed
joined_atstring,nulltruenoneJoin time, format YYYY-MM-DD HH:mm:ss
nicknamestringtruenoneMember nickname
usernamestringtruenoneMember username

Enumerated Values

PropertyValue
role1
role2
role3
role4
status0
status1
status2
status3

TeamPerson

{
  "record_type": "member",
  "record_id": 1,
  "team_id": "A1b2C3d4E5f6",
  "user_id": 0,
  "inviter_user_id": 0,
  "invite_type": 0,
  "invite_country_code": 999,
  "invite_target": "string",
  "delivery_type": 0,
  "role": 1,
  "status": 0,
  "display_name": "string",
  "nickname": "string",
  "username": "string",
  "email": "string",
  "phone": "string",
  "joined_at": "string",
  "expired_at": "string",
  "created_at": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
record_typestringtruenoneRecord type; member is a valid member, invitation is a pending invitation
record_idintegertruenoneMembership ID or invitation ID
team_idTeamPublicIdtruenoneThe team's public logo, the first character is an ASCII letter, and the remaining characters only contain ASCII letters and numbers; the database numeric primary key is not issued
user_idintegertruenoneUser ID, unregistered invited users are 0
inviter_user_idintegertruenoneInviter user ID, member record is 0
invite_typeintegertruenoneInvitation type, member record is 0
invite_country_codeintegertruenoneMobile phone number country or area code, member record is 0
invite_targetstringtruenoneInvitation target, member record is an empty string
delivery_typeintegertruenoneOriginal delivery channel, member record is 0
roleintegertruenoneRole: 1=super administrator, 2=administrator, 3=ordinary member, 4=finance member
statusintegertruenonemember is fixed to 1, invitation is fixed to 0
display_namestringtruenoneDisplay the name uniformly, taking the nickname, username, email, and mobile phone number in order; use desensitized values for contact information from the perspective of ordinary members
nicknamestringtruenoneNickname of member or registered invited user
usernamestringtruenoneMember or registered invited username
emailstringtruenoneEmail; super administrators and administrators return complete values, ordinary members return desensitization values with asterisks
phonestringtruenoneMobile phone number; super administrators and administrators return the complete value, and ordinary members return the desensitized value with an asterisk.
joined_atstring,nulltruenoneMember joining time, invitation record is null
expired_atstring,nulltruenoneInvitation expiration time, member record is null
created_atstringtruenoneRecord creation time, format YYYY-MM-DD HH:mm:ss

Enumerated Values

PropertyValue
record_typemember
record_typeinvitation
invite_type0
invite_type1
invite_type2
invite_type3
delivery_type0
delivery_type1
delivery_type2
delivery_type3
role1
role2
role3
role4
status0
status1

TeamInvitationResponse

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "id": 1,
    "team_id": "A1b2C3d4E5f6",
    "inviter_user_id": 1,
    "invitee_user_id": 0,
    "invite_type": 1,
    "invite_country_code": 999,
    "invite_target": "string",
    "delivery_type": 1,
    "role": 2,
    "status": 0,
    "accepted_by_user_id": 0,
    "expired_at": "2026-07-17 10:00:00",
    "accepted_at": null,
    "rejected_at": null,
    "cancelled_at": null,
    "created_at": "2026-07-10 10:00:00"
  },
  "request_id": "string"
}

Properties

allOf

NameTypeRequiredRestrictionsDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredRestrictionsDescription
anonymousobjectfalsenonenone
» dataTeamInvitationfalsenonenone

TeamMemberResponse

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "team_member_id": 1,
    "team_id": "A1b2C3d4E5f6",
    "user_id": 1,
    "role": 1,
    "status": 0,
    "joined_at": "string",
    "nickname": "string",
    "username": "string"
  },
  "request_id": "string"
}

Properties

allOf

NameTypeRequiredRestrictionsDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredRestrictionsDescription
anonymousobjectfalsenonenone
» dataTeamMemberfalsenonenone

TeamInvitationCreateResponse

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "invitation": {
      "id": 1,
      "team_id": "A1b2C3d4E5f6",
      "inviter_user_id": 1,
      "invitee_user_id": 0,
      "invite_type": 1,
      "invite_country_code": 999,
      "invite_target": "string",
      "delivery_type": 1,
      "role": 2,
      "status": 0,
      "accepted_by_user_id": 0,
      "expired_at": "2026-07-17 10:00:00",
      "accepted_at": null,
      "rejected_at": null,
      "cancelled_at": null,
      "created_at": "2026-07-10 10:00:00"
    },
    "invitation_token": "string",
    "invitation_url": "http://example.com",
    "notification_channels": {
      "email": "queued",
      "sms": "queued",
      "site_inner_message": "created"
    }
  },
  "request_id": "string"
}

Properties

allOf

NameTypeRequiredRestrictionsDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredRestrictionsDescription
anonymousobjectfalsenonenone
» dataobjectfalsenonenone
»» invitationTeamInvitationtruenonenone
»» invitation_tokenstringtruenoneClear text invitation token, reserved only for compatible existing clients; new clients use invitation_url directly
»» invitation_urlstring(uri)truenoneFront-end processing link containing invitation token
»» notification_channelsTeamInvitationNotificationChannelstruenonenone

TeamInvitationNotificationChannels

{
  "email": "queued",
  "sms": "queued",
  "site_inner_message": "created"
}

Properties

NameTypeRequiredRestrictionsDescription
emailstringfalsenoneEmail channel results
smsstringfalsenoneSMS channel results
site_inner_messagestringfalsenoneSite message channel results

Enumerated Values

PropertyValue
emailqueued
emailfailed
emailskipped
smsqueued
smsfailed
smsskipped
site_inner_messagecreated
site_inner_messageexists
site_inner_messagefailed

TeamInvitationPreviewResponse

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "team_name": "string",
    "role": 2,
    "status": 0,
    "expired_at": "string"
  },
  "request_id": "string"
}

Properties

allOf

NameTypeRequiredRestrictionsDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredRestrictionsDescription
anonymousobjectfalsenonenone
» dataobjectfalsenonenone
»» team_namestringtruenoneTeam name
»» roleintegertruenonetarget role
»» statusintegertruenoneinvitation status
»» expired_atstringtruenoneExpiration time, format YYYY-MM-DD HH:mm:ss

Enumerated Values

PropertyValue
role2
role3
status0
status1
status2
status3
status4

TeamInvitationResendResponse

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "invitation": {
      "id": 1,
      "team_id": "A1b2C3d4E5f6",
      "inviter_user_id": 1,
      "invitee_user_id": 0,
      "invite_type": 1,
      "invite_country_code": 999,
      "invite_target": "string",
      "delivery_type": 1,
      "role": 2,
      "status": 0,
      "accepted_by_user_id": 0,
      "expired_at": "2026-07-17 10:00:00",
      "accepted_at": null,
      "rejected_at": null,
      "cancelled_at": null,
      "created_at": "2026-07-10 10:00:00"
    },
    "invitation_url": "http://example.com",
    "notification_channels": {
      "email": "queued",
      "sms": "queued",
      "site_inner_message": "created"
    }
  },
  "request_id": "string"
}

Properties

allOf

NameTypeRequiredRestrictionsDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredRestrictionsDescription
anonymousobjectfalsenonenone
» dataobjectfalsenonenone
»» invitationTeamInvitationtruenonenone
»» invitation_urlstring(uri)truenoneNew invitation processing link; old link no longer works
»» notification_channelsTeamInvitationNotificationChannelstruenonenone

TeamInvitationListResponse

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "id": 1,
        "team_id": "A1b2C3d4E5f6",
        "inviter_user_id": 1,
        "invitee_user_id": 0,
        "invite_type": 1,
        "invite_country_code": 999,
        "invite_target": "string",
        "delivery_type": 1,
        "role": 2,
        "status": 0,
        "accepted_by_user_id": 0,
        "expired_at": "2026-07-17 10:00:00",
        "accepted_at": null,
        "rejected_at": null,
        "cancelled_at": null,
        "created_at": "2026-07-10 10:00:00"
      }
    ],
    "total": 0,
    "page": 1,
    "page_size": 1
  },
  "request_id": "string"
}

Properties

allOf

NameTypeRequiredRestrictionsDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredRestrictionsDescription
anonymousobjectfalsenonenone
» dataobjectfalsenonenone
»» list[TeamInvitation]truenonenone
»» totalintegertruenonetotal number of invitations
»» pageintegertruenoneCurrent page number
»» page_sizeintegertruenoneactual number per page

User

{
  "id": 0,
  "email": "[email protected]",
  "phone": "string",
  "balance": 0.1,
  "status": 0,
  "is_real_name": true,
  "created_at": "2019-08-24T14:15:22Z"
}

Properties

NameTypeRequiredRestrictionsDescription
idintegerfalsenonenone
emailstring(email)falsenonenone
phonestringfalsenonenone
balancenumber(float)falsenonenone
statusintegerfalsenonenone
is_real_namebooleanfalsenonenone
created_atstring(date-time)falsenonenone

Order

{
  "id": 0,
  "trade_no": "string",
  "out_trade_no": "string",
  "product_id": 0,
  "product_type": 0,
  "amount": 0,
  "unit_price": 0.1,
  "total_fee": 0.1,
  "goods_fee": 0.1,
  "pay_fee": 0.1,
  "discount_fee": 0.1,
  "handling_fee": 0.1,
  "refund_fee": 0.1,
  "pm_id": 0,
  "pm_title": "string",
  "pm_logo": "string",
  "status": 0,
  "title": "string",
  "detail": "string",
  "region_desc": "string",
  "pay_at": "2019-08-24T14:15:22Z",
  "pay_timestamp": 0,
  "created_at": "2019-08-24T14:15:22Z",
  "pay_fee_status": 0,
  "invoice": {
    "name": "string",
    "org_name": "string",
    "first_name": "string",
    "last_name": "string",
    "phone": "string",
    "email": "[email protected]",
    "role_type": 0,
    "vat_id": "string",
    "address_country": "string",
    "address_city": "string",
    "address_line1": "string",
    "address_line2": "string",
    "address_postal_code": "string"
  }
}

Properties

NameTypeRequiredRestrictionsDescription
idintegerfalsenoneOrder ID
trade_nostringfalsenoneInternal order number
out_trade_nostringfalsenoneExternal order number
product_idintegerfalsenonePackage ID
product_typeintegerfalsenonePackage type, see product type enumeration
amountintegerfalsenonePurchase quantity
unit_pricenumber(float)falsenoneunit price
total_feenumber(float)falsenoneTotal order price (excluding discounts and handling fees)
goods_feenumber(float)falsenoneProduct price (including discounts, excluding handling fees)
pay_feenumber(float)falsenoneActual amount paid (including discounts and handling fees)
discount_feenumber(float)falsenoneDiscount amount
handling_feenumber(float)falsenonehandling fee
refund_feenumber(float)falsenoneRefund amount
pm_idintegerfalsenonePayment method ID (from /openapi/payment/list)
pm_titlestringfalsenonePayment method name
pm_logostringfalsenonePayment method Logo URL
statusintegerfalsenoneOrder status
titlestringfalsenonePackage title
detailstringfalsenonePackage description
region_descstringfalsenoneRegion specification description
pay_atstring(date-time)falsenonepayment time
pay_timestampintegerfalsenonePayment timestamp
created_atstring(date-time)falsenonecreation time
pay_fee_statusintegerfalsenoneLong and short payment status: 0 normal 1 long payment (overpayment) 2 short payment
invoiceobjectfalsenoneInvoice information (only valuable for online payment orders)
» namestringfalsenonefull name
» org_namestringfalsenoneCompany name
» first_namestringfalsenonenone
» last_namestringfalsenonenone
» phonestringfalsenonenone
» emailstring(email)falsenonenone
» role_typeintegerfalsenone1 person 2 companies
» vat_idstringfalsenoneTax ID number
» address_countrystringfalsenonenone
» address_citystringfalsenonenone
» address_line1stringfalsenonenone
» address_line2stringfalsenonenone
» address_postal_codestringfalsenonenone

OrderCheckResult

{
  "product_id": 0,
  "amount": 0,
  "discount_fee": 0.1,
  "total_fee": 0.1,
  "pay_fee": 0.1,
  "product_type": 0,
  "title": "string",
  "detail": "string",
  "ip_result": [
    {
      "ip": "string",
      "price": 0.1,
      "country_code": "string",
      "current_time": "2019-08-24T14:15:22Z",
      "renewal_time": "2019-08-24T14:15:22Z",
      "country": {
        "name_zh_cn": "string",
        "flag": "string",
        "square_flag": "string"
      }
    }
  ]
}

Order pre-check results

Properties

NameTypeRequiredRestrictionsDescription
product_idintegerfalsenonePackage ID
amountintegerfalsenoneQuantity
discount_feenumber(float)falsenoneDiscount amount
total_feenumber(float)falsenoneOrder total
pay_feenumber(float)falsenoneActual amount paid
product_typeintegerfalsenonePackage type
titlestringfalsenonePackage title
detailstringfalsenonePackage description
ip_result[object]falsenoneIP batch renewal results (returned only during IP renewal)
» ipstringfalsenonenone
» pricenumber(float)falsenonenone
» country_codestringfalsenonenone
» current_timestring(date-time)falsenonenone
» renewal_timestring(date-time)falsenonenone
» countryobjectfalsenonenone
»» name_zh_cnstringfalsenonenone
»» flagstringfalsenoneCircle Flag URL
»» square_flagstringfalsenoneSquare Flag URL

Product

{
  "id": 0,
  "title": "string",
  "type": 0,
  "show_type": 0,
  "status": 0,
  "price": 0.1,
  "usd_price": 0.1,
  "price_hkd": 0.1,
  "original_price": 0.1,
  "original_usd_price": 0.1,
  "original_price_hkd": 0.1,
  "local_price": 0.1,
  "local_original_price": 0.1,
  "preferred_currency": "string",
  "support_currencies": "string",
  "flow_value": 0.1,
  "flow_give": 0.1,
  "balance_give": 0.1,
  "balance_value": 0.1,
  "time_validity": 0.1,
  "time_price": 0.1,
  "time_days": 0,
  "tip1": "string",
  "tip2": "string",
  "introduce": [
    "string"
  ],
  "region_list_id": 0,
  "renew_product_list": "string",
  "parent_product_type": 0,
  "total_count": 0,
  "remain_count": 0,
  "extension_of_time_days": [
    0
  ],
  "time_days_price_rate": 0.1,
  "desc": {
    "subtitle": "string",
    "flow_value": 0.1,
    "flow_give": 0.1,
    "balance_give": 0.1,
    "time_validity": 0.1,
    "time_price": 0.1,
    "tip1": "string",
    "tip2": "string",
    "introduce": [
      "string"
    ]
  },
  "sku": {
    "bandwidth_list": [
      {
        "id": 0,
        "value": 0,
        "price": 0.1,
        "price_usd": 0.1,
        "price_hkd": 0.1
      }
    ],
    "duration_list": [
      {
        "id": 0,
        "value": 0,
        "price": 0.1,
        "price_usd": 0.1,
        "price_hkd": 0.1
      }
    ],
    "concurrency_list": [
      {
        "id": 0,
        "value": 0,
        "price": 0.1,
        "price_usd": 0.1,
        "price_hkd": 0.1
      }
    ]
  }
}

Properties

NameTypeRequiredRestrictionsDescription
idintegerfalsenonePackage ID
titlestringfalsenonePackage main title
typeintegerfalsenonePackage type
show_typeintegerfalsenoneDisplay type: 1 Normal 2 Large recommendation 3 Not available for purchase (needs customization) 4 Trial
statusintegerfalsenoneStatus: 1 on the shelves 0 off the shelves
pricenumber(float)falsenoneRMB price
usd_pricenumber(float)falsenonedollar price
price_hkdnumber(float)falsenoneHong Kong dollar price
original_pricenumber(float)falsenoneOriginal price (CNY)
original_usd_pricenumber(float)falsenoneOriginal price (USD)
original_price_hkdnumber(float)falsenoneOriginal price (HKD)
local_pricenumber(float)falsenoneLocalized price (depends on preferred_currency)
local_original_pricenumber(float)falsenoneLocalized original price (depends on preferred_currency)
preferred_currencystringfalsenoneIt is recommended to display the currency, such as usd / cny / hkd
support_currenciesstringfalsenoneList of supported currencies, separated by commas, such as usd,cny
flow_valuenumber(float)falsenoneDefault traffic of data plan (GB)
flow_givenumber(float)falsenoneFree traffic (GB)
balance_givenumber(float)falsenoneBalance recharge bonus
balance_valuenumber(float)falsenoneRecharge amount
time_validitynumber(float)falsenoneThe default validity period of standard plans
time_pricenumber(float)falsenoneStandard package price per IP
time_daysintegerfalsenoneNumber of days of validity, such as 30/90/180/365
tip1stringfalsenoneLabel description 1
tip2stringfalsenoneLabel description 2
introduce[string]falsenoneText introduction list
region_list_idintegerfalsenoneRegion ID
renew_product_liststringfalsenoneList of renewable package IDs (comma separated)
parent_product_typeintegerfalsenoneParent package type (valid when type=19): 14 or 25
total_countintegerfalsenoneTotal inventory, 0 means no limit
remain_countintegerfalsenoneremaining stock
extension_of_time_days[integer]falsenoneList of duration multiples. If it is empty or contains only 1, it means it is not supported.
time_days_price_ratenumber(float)falsenoneDuration price coefficient, price × (1 + (multiple-1) × rate)
descobjectfalsenonePackage description information
» subtitlestringfalsenonesubtitle
» flow_valuenumber(float)falsenonenone
» flow_givenumber(float)falsenonenone
» balance_givenumber(float)falsenonenone
» time_validitynumber(float)falsenonenone
» time_pricenumber(float)falsenonenone
» tip1stringfalsenonenone
» tip2stringfalsenonenone
» introduce[string]falsenonenone
skuobjectfalsenoneSpecification parameters (returned when type=11)
» bandwidth_list[object]falsenoneBandwidth specification list
»» idintegerfalsenonenone
»» valueintegerfalsenoneBandwidth value (Mbps)
»» pricenumber(float)falsenonenone
»» price_usdnumber(float)falsenonenone
»» price_hkdnumber(float)falsenonenone
» duration_list[object]falsenoneDuration specification list
»» idintegerfalsenonenone
»» valueintegerfalsenoneDuration (days)
»» pricenumber(float)falsenonenone
»» price_usdnumber(float)falsenonenone
»» price_hkdnumber(float)falsenonenone
» concurrency_list[object]falsenoneConcurrency specification list
»» idintegerfalsenonenone
»» valueintegerfalsenoneNumber of concurrencies
»» pricenumber(float)falsenonenone
»» price_usdnumber(float)falsenonenone
»» price_hkdnumber(float)falsenonenone

WhiteIp

{
  "id": 0,
  "ip": "string",
  "remark": "string",
  "created_at": "2019-08-24T14:15:22Z"
}

Properties

NameTypeRequiredRestrictionsDescription
idintegerfalsenonenone
ipstringfalsenonenone
remarkstringfalsenonenone
created_atstring(date-time)falsenonenone

WhitelistAccount

{
  "id": 0,
  "username": "string",
  "limit": 0,
  "used": 0,
  "status": 0
}

Properties

NameTypeRequiredRestrictionsDescription
idintegerfalsenonenone
usernamestringfalsenonenone
limitintegerfalsenonenone
usedintegerfalsenonenone
statusintegerfalsenonenone

Coupon

{
  "id": 0,
  "name": "string",
  "code": "string",
  "discount": 0.1,
  "expire_time": "2019-08-24T14:15:22Z"
}

Properties

NameTypeRequiredRestrictionsDescription
idintegerfalsenonenone
namestringfalsenonenone
codestringfalsenonenone
discountnumber(float)falsenonenone
expire_timestring(date-time)falsenonenone

Article

{
  "id": 0,
  "title": "string",
  "content": "string",
  "created_at": "2019-08-24T14:15:22Z"
}

Properties

NameTypeRequiredRestrictionsDescription
idintegerfalsenonenone
titlestringfalsenonenone
contentstringfalsenonenone
created_atstring(date-time)falsenonenone

Pagination

{
  "total": 0,
  "page_no": 0,
  "page_size": 0,
  "total_pages": 0
}

Properties

NameTypeRequiredRestrictionsDescription
totalintegerfalsenonenone
page_nointegerfalsenonenone
page_sizeintegerfalsenonenone
total_pagesintegerfalsenonenone

AutoRenewalConfig

{
  "id": 1,
  "user_id": 1,
  "team_id": "A1b2C3d4E5f6",
  "team_user_id": 0,
  "product_type": 0,
  "left_traffic": 0,
  "left_days": 0,
  "user_product_id": 1,
  "product_id": 0,
  "status": 0,
  "currency": "string",
  "agreed_price": 0,
  "agreed_bandwidth_price": 0,
  "agreed_concurrency_price": 0,
  "bandwidth_id": 0,
  "concurrency_id": 0,
  "duration": 0,
  "renew_product_id": 0,
  "days_before_expire": 0,
  "traffic_threshold": 0,
  "parent_product_type": 0,
  "created_at": "string",
  "updated_at": "string"
}

Auto-renewal configuration snapshot of a single package

Properties

NameTypeRequiredRestrictionsDescription
idintegerfalsenonenone
user_idintegerfalsenonenone
team_idResourceSpaceIdfalsenonePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
team_user_idintegerfalsenonenone
product_typeintegerfalsenonenone
left_trafficintegerfalsenoneDeprecated field
left_daysintegerfalsenoneDeprecated field
user_product_idintegerfalsenonenone
product_idintegerfalsenoneDeprecated field
statusintegerfalsenone0=disable, 1=enable
currencystringfalsenonenone
agreed_pricenumberfalsenoneAgreed total price
agreed_bandwidth_pricenumberfalsenoneAgreed bandwidth unit price for Package 11
agreed_concurrency_pricenumberfalsenoneAgreed concurrent unit price for Package 11
bandwidth_idintegerfalsenonenone
concurrency_idintegerfalsenonenone
durationintegerfalsenoneRenewal time, unit day
renew_product_idintegerfalsenonenone
days_before_expireintegerfalsenonenone
traffic_thresholdintegerfalsenoneTraffic threshold, database value unit KB
parent_product_typeintegerfalsenonenone
created_atstringfalsenonenone
updated_atstringfalsenonenone

Enumerated Values

PropertyValue
status0
status1

AutoRenewalLog

{
  "id": 1,
  "user_id": 1,
  "team_id": "A1b2C3d4E5f6",
  "team_user_id": 0,
  "config_id": 0,
  "user_product_id": 1,
  "product_type": 0,
  "renew_product_id": 0,
  "order_id": 0,
  "fee": 0,
  "currency": "string",
  "before_expired_at": "string",
  "after_expired_at": "string",
  "before_remain": 0,
  "after_remain": 0,
  "trigger_type": 0,
  "status": 1,
  "revoke_at": "string",
  "revoke_remark": "string",
  "created_at": "string",
  "updated_at": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
idintegertruenonenone
user_idintegertruenonenone
team_idResourceSpaceIdtruenonePublic resource space identification; omit team_id or pass an empty string when requesting a personal space, and an empty string when responding to a personal space; both the number 0 and the string "0" are illegal, and the team space uses a 6-12-digit team public identification
team_user_idintegertruenonenone
config_idintegertruenonenone
user_product_idintegertruenonenone
product_typeintegertruenonenone
renew_product_idintegertruenonenone
order_idintegertruenonenone
feenumbertruenonenone
currencystringtruenonenone
before_expired_atstring,nullfalsenonenone
after_expired_atstring,nullfalsenonenone
before_remaininteger(int64)truenonenone
after_remaininteger(int64)truenonenone
trigger_typeintegertruenone0=Before expiration, 1=Insufficient traffic
statusintegertruenone1=success, 2=revoked, 3=failed
revoke_atstring,nullfalsenonenone
revoke_remarkstringtruenonenone
created_atstringtruenonenone
updated_atstringtruenonenone

Enumerated Values

PropertyValue
trigger_type0
trigger_type1
status1
status2
status3

MonthlyRenewalBatch

{
  "type": "current",
  "start_at": "string",
  "end_at": "string",
  "target_expired_at": "string",
  "timezone": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
typestringtruenonenone
start_atstringtruenonenone
end_atstringtruenonenone
target_expired_atstringtruenonenone
timezonestringtruenonenone

Enumerated Values

PropertyValue
typecurrent
typenext

MonthlyRenewalItem

{
  "id": 0,
  "user_product_id": 1,
  "product_id": 1,
  "product_type": 0,
  "parent_product_type": 0,
  "title": "string",
  "expired_at": "string",
  "target_expired_at": "string",
  "renew_days": 1,
  "unit_month_price": 0,
  "pay_fee": 0,
  "currency": "string",
  "bandwidth": 0,
  "bandwidth_mbsp": 0,
  "concurrency": 0,
  "ip": "string",
  "country_code": "string",
  "paid_at": "string",
  "refunded_at": "string",
  "created_at": "string",
  "updated_at": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
idintegerfalsenoneHistorical billing detail ID
user_product_idintegertruenonenone
product_idintegertruenonenone
product_typeintegertruenonenone
parent_product_typeintegertruenonenone
titlestringtruenonenone
expired_atstringtruenonenone
target_expired_atstringtruenonenone
renew_daysintegertruenonenone
unit_month_pricenumberfalsenonenone
pay_feenumbertruenonenone
currencystringtruenonenone
bandwidthintegerfalsenonenone
bandwidth_mbspnumberfalsenoneBandwidth conversion value
concurrencyintegerfalsenonenone
ipstringfalsenoneStatic IP package returns
country_codestringfalsenoneStatic IP package returns
paid_atstring,nullfalsenonenone
refunded_atstring,nullfalsenonenone
created_atstringfalsenonenone
updated_atstringfalsenonenone

InvoiceRecord

{
  "id": 1,
  "invoice_no": "string",
  "invoice_amount": 0,
  "invoice_download_url": "string",
  "status": 0,
  "remark": "string",
  "order_ids": [
    0
  ],
  "created_at": 0,
  "invoice_info": {
    "invoice_code": "string",
    "name": "string",
    "org_name": "string",
    "role_type": 1,
    "invoice_type": 0
  }
}

Properties

NameTypeRequiredRestrictionsDescription
idintegertruenonenone
invoice_nostringtruenonenone
invoice_amountnumbertruenonenone
invoice_download_urlstringtruenonenone
statusintegertruenonenone
remarkstringtruenonenone
order_ids[integer]truenonenone
created_atintegertruenoneUnix timestamp
invoice_infoanytruenonenone

oneOf

NameTypeRequiredRestrictionsDescription
» anonymousobjectfalsenonenone
»» invoice_codestringtruenonenone
»» namestringtruenonenone
»» org_namestringtruenonenone
»» role_typeintegertruenonenone
»» invoice_typeintegertruenonenone

xor

NameTypeRequiredRestrictionsDescription
» anonymousnullfalsenonenone

Enumerated Values

PropertyValue
role_type1
role_type2
invoice_type0
invoice_type1
invoice_type2

PayCheckData

{
  "trade_no": "string",
  "pm_id": 0,
  "pay_method": 0,
  "trade_type": "string",
  "country_code": "string",
  "currency": "string",
  "goods_fee": 0,
  "discount_fee": 0,
  "handling_fee": 0,
  "pay_fee": 0,
  "total_fee": 0,
  "pay_method_info": {
    "id": 0,
    "type": 0,
    "title": "string",
    "group": "string",
    "handling_rate": 0,
    "handling_fee": 0,
    "handling_fee_currency": "usd",
    "handling_fee_converted": 0
  },
  "origin": {
    "pm_id": 0,
    "pay_method": 0,
    "goods_fee": 0,
    "discount_fee": 0,
    "handling_fee": 0,
    "pay_fee": 0,
    "total_fee": 0
  }
}

Properties

NameTypeRequiredRestrictionsDescription
trade_nostringtruenonenone
pm_idintegertruenonenone
pay_methodintegertruenonenone
trade_typestringtruenonenone
country_codestringtruenonenone
currencystringtruenonenone
goods_feenumbertruenonenone
discount_feenumbertruenonenone
handling_feenumbertruenonenone
pay_feenumbertruenonenone
total_feenumbertruenonenone
pay_method_infoanytruenonenone

oneOf

NameTypeRequiredRestrictionsDescription
» anonymousobjectfalsenonenone
»» idintegertruenonenone
»» typeintegertruenonenone
»» titlestringtruenonenone
»» groupstringtruenonenone
»» handling_ratenumbertruenonenone
»» handling_feenumbertruenonenone
»» handling_fee_currencystringtruenonenone
»» handling_fee_convertednumbertruenonenone

xor

NameTypeRequiredRestrictionsDescription
» anonymousnullfalsenonenone

continued

NameTypeRequiredRestrictionsDescription
originobjecttruenonenone
» pm_idintegertruenonenone
» pay_methodintegertruenonenone
» goods_feenumbertruenonenone
» discount_feenumbertruenonenone
» handling_feenumbertruenonenone
» pay_feenumbertruenonenone
» total_feenumbertruenonenone