OpenAPIOpenAPI
  • English
  • Español
  • Français
  • 繁體中文
  • Indonesia
  • हिंदी
  • Italiano
  • 日本語
  • 한국인
  • عربي
  • Nederlands
  • Filipino
  • Русский
  • Svenska
  • Tiếng Việt
  • English
  • Español
  • Français
  • 繁體中文
  • Indonesia
  • हिंदी
  • Italiano
  • 日本語
  • 한국인
  • عربي
  • Nederlands
  • Filipino
  • Русский
  • Svenska
  • Tiếng Việt
  • OpenAPI

OpenAPI

The app_key authentication key can be found on your personal homepage after logging in.

Please keep your key safe, as it grants administrator privileges to your account.

Base URLs:

Authentication

Agent Account Management

GET Proxy Account List

GET /openapi/whitelist-account/list

Return Example

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
			}
		]
	}
}

Return result

Status CodeMeaning of Status CodeExplanationData Model
200OKRequest succeededInline

Return data structure

Status code 200

NameTypeRequiredConstraintChinese NameExplanation
» coderesponseCodefalsenoneStatus code, 200 success, 3 invalid app_key
» 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_flowintegerfalsenoneCustom traffic limit: unit GB, maximum 102400, 0 for unlimited
»»» statusintegerfalsenoneEnabled status: 1 enabled, 0 disabled

Enumeration values

AttributesValue
product_type9
product_type11
product_type14
product_type25

POST add proxy account.

POST /openapi/whitelist-account/add

Body Request Parameters

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

Request Parameters

NameLocationTypeRequiredExplanation
bodybodyobjectNonone
» app_keybodystringNoAuthorization Key
» accountsbodystringNoAccount password, please fill in the format username:password. The account and password only support numbers and letters, and it is forbidden to enter any special symbols or spaces. Separate the account and password with a colon. Supports batch addition, separate proxy accounts with English commas (,).
» remarkbodystringNoProxy Account Description
» product_typebodyproductTypesNoPackage type: 9 Dynamic Residential Traffic Package, 11 Dynamic Residential IP, 14 Static Data Center IP, 25 Static Residential IP

Enumeration values

AttributesValue
» product_type9
» product_type11
» product_type14
» product_type25

Return Example

200 Response

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

Return result

Status CodeMeaning of Status CodeExplanationData Model
200OKRequest succeededInline

Return data structure

Status code 200

NameTypeRequiredConstraintChinese NameExplanation
» codeintegerfalsenoneStatus code: 200 success, 3 invalid app_key, 156 account not real-name authenticated
» msgstringfalsenoneStatus message
» datanullfalsenonenone

POST Delete Proxy Account

POST /openapi/whitelist-account/delete

Please note that deletion is irreversible, and used traffic etc. cannot be queried. Deletion takes approximately 5 minutes, and charges may still be incurred during this time.

Body Request Parameters

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

Request Parameters

NameLocationTypeRequiredExplanation
bodybodyobjectNonone
» app_keybodystringNoAuthorization Key
» accountsbodystringNoProxy account, only supports numbers and letters. Supports batch operations, separate proxy accounts with English commas (,).

Return Example

200 Response

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

Return result

Status CodeMeaning of Status CodeExplanationData Model
200OKRequest succeededInline

Return data structure

Status code 200

NameTypeRequiredConstraintChinese NameExplanation
» codeintegerfalsenoneStatus code: 200 success, 3 invalid app_key, 156 account not real-name authenticated
» msgstringfalsenoneStatus message
» datanullfalsenonenone

POST Disable Proxy Account

POST /openapi/whitelist-account/disable

Disabling has an approximate 5-minute wait time, during which charges may still be incurred.

Body Request Parameters

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

Request Parameters

NameLocationTypeRequiredExplanation
bodybodyobjectNonone
» app_keybodystringNoAuthorization Key
» accountsbodystringNoProxy accounts, supporting only numbers and letters. Supports batch operations, with proxy accounts separated by English commas (,).

Return Example

200 Response

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

Return result

Status CodeMeaning of Status CodeExplanationData Model
200OKRequest succeededInline

Return data structure

Status code 200

NameTypeRequiredConstraintChinese NameExplanation
» codeintegerfalsenoneStatus code: 200 success, 3 invalid app_key, 156 account not real-name authenticated
» msgstringfalsenoneStatus message
» datanullfalsenonenone

POST Enable Proxy Account

POST /openapi/whitelist-account/enable

Body Request Parameters

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

Request Parameters

NameLocationTypeRequiredExplanation
bodybodyobjectNonone
» app_keybodystringNoAuthorization Key
» accountsbodystringNoProxy account, only supports numbers and letters. Supports batch operations, separate proxy accounts with English commas (,)

Return Example

200 Response

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

Return result

Status CodeMeaning of Status CodeExplanationData Model
200OKRequest succeededInline

Return data structure

Status code 200

NameTypeRequiredConstraintChinese NameExplanation
» codeintegerfalsenoneStatus code: 200 success, 3 invalid app_key, 156 account not real-name authenticated
» msgstringfalsenoneStatus message
» datanullfalsenonenone

POST Modify proxy account password

POST /openapi/whitelist-account/change-password

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

Body request parameters

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

Request Parameters

NameLocationTypeRequiredExplanation
bodybodyobjectNonone
» app_keybodystringNoAuthorization key
» accountbodystringNoProxy account, only supports numbers and letters.
» passwordbodystringNoNew password for proxy account, only numbers and letters are supported.

Return Example

200 Response

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

Return result

Status CodeMeaning of Status CodeExplanationData Model
200OKRequest succeededInline

Return data structure

Status code 200

NameTypeRequiredConstraintChinese NameExplanation
» codeintegerfalsenoneStatus code: 200 success, 3 invalid app_key, 156 account not real-name authenticated
» msgstringfalsenoneStatus message
» datanullfalsenonenone

POST Modify proxy account remarks

POST /openapi/whitelist-account/change-remark

Body request parameters

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

Request Parameters

NameLocationTypeRequiredExplanation
bodybodyobjectNonone
» app_keybodystringNoAuthorization Key
» accountbodystringNoProxy account, only supports numbers and letters.
» remarkbodystringNoNew proxy account note, within 32 Chinese characters or 64 English characters.

Return Example

200 Response

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

Return result

Status CodeMeaning of Status CodeExplanationData Model
200OKRequest succeededInline

Return data structure

Status code 200

NameTypeRequiredConstraintChinese NameExplanation
» codeintegerfalsenoneStatus code: 200 success, 3 invalid app_key, 156 account not real-name authenticated
» msgstringfalsenoneStatus message
» datanullfalsenonenone

POST Modify Agent Account Traffic Limit

POST /openapi/whitelist-account/change-limit

Please note that there may be a delay of up to 5 minutes in traffic statistics, meaning that the actual traffic consumption may exceed this limit.

Body Request Parameters

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

Request Parameters

NameLocationTypeRequiredExplanation
bodybodyobjectNonone
» app_keybodystringNoAuthorization Key
» accountbodystringNoProxy account, supports only numbers and letters.
» limitbodyintegerNoTraffic limit, unit: GB, 0 for unlimited

Return Example

200 Response

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

Return result

Status CodeMeaning of Status CodeExplanationData Model
200OKRequest succeededInline

Return data structure

Status code 200

NameTypeRequiredConstraintChinese NameExplanation
» codeintegerfalsenoneStatus code: 200 success, 3 invalid app_key, 156 account not real-name authenticated
» msgstringfalsenoneStatus message
» datanullfalsenonenone

Traffic Log Query

GET Daily Traffic Usage

GET /openapi/user-usage-flow/total

Request Parameters

NameLocationTypeRequiredExplanation
app_keyquerystring(password)YesAuthentication Key
start_timequerystring(Y-m-d H:i:s)NoStart time, accurate to the second. Please note that there is a delay of up to 5 minutes in the logs. The default is within 7 days.
end_timequerystring(Y-m-d H:i:s)NoEnd time, accurate to the second. Please note that there is a delay of up to 5 minutes in the logs. The default is the current time.
usernamequerystringNoSub-account name, the default is to query all accounts, and you can specify a sub-account. Please note that if you add sub-accounts with the same name, this query will return all usage records for proxy accounts with the same name.
product_typequerynumberNoPackage Type

Return Example

200 Response

{
	"code": 200,
	"msg": "string",
	"data": {
		"list": [
			{
				"day": "2022-08-01",
				"flow": 0
			}
		]
	}
}

Return result

Status CodeMeaning of Status CodeExplanationData Model
200OKRequest succeededInline

Return data structure

Status code 200

NameTypeRequiredConstraintChinese NameExplanation
» codeintegerfalsenoneStatus code: 200 success, 3 invalid app_key, 156 account not real-name authenticated
» msgstringfalsenoneStatus message
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» daystringfalsenoneDate
»»» flowintegerfalsenoneTraffic consumption, unit: KB

Package Query

GET Purchased Package List

GET /openapi/user-product/list

Request Parameters

NameLocationTypeRequiredExplanation
app_keyquerystring(password)YesAuthentication Key
trade_noquerystringNoOrder number, please enter the complete order number. Fuzzy search is not supported.
pagequerynumberNoPage number, default: 1
sizequerynumberNoNumber of items per page, default: 20
product_typequerynumberNoPackage Type

Return Example

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
	}
}

Return result

Status CodeMeaning of Status CodeExplanationData Model
200OKRequest succeededInline

Return data structure

Status code 200

NameTypeRequiredConstraintChinese NameExplanation
» codeintegerfalsenoneStatus code: 200 success, 3 invalid app_key, 156 account not real-name authenticated
» msgstringfalsenoneStatus message
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» idintegerfalsenonePackage ID
»»» created_atstringfalsenonePackage Effective Time
»»» expired_atstringfalsenonePackage expiration time, after which 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
»» pageintegerfalsenoneCurrent Page
»» page_sizeintegerfalsenonePage Size
»» total_countintegerfalsenoneTotal Records
»» total_pageintegerfalsenoneTotal number of pages

Enumeration values

AttributesValue
product_type9
product_type11
product_type14
product_type25

IP Extraction

GET Extract IP

GET /openapi/ip/v3

Request Parameters

NameLocationTypeRequiredExplanation
app_keyquerystring(password)NoAccess Key
ccquerystringNoCountry or region
statequerystringNoProvince or state
cityquerystringNoCity
formatquerystringNoGet Format
lbquerystringNoSeparator, only valid for text format
numquerynumberNoExtraction quantity
lifequerynumberNoKeep Alive Interval - Minutes
epquerystringNoProxy Network

Return Example

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"
			]
		]
	}
}

Return result

Status CodeMeaning of Status CodeExplanationData Model
200OKRequest succeededInline

Return data structure

Status code 200

NameTypeRequiredConstraintChinese NameExplanation
» codeintegerfalsenoneStatus code: 200 success, 3 invalid app_key, 156 account not real-name authenticated
» msgstringfalsenoneStatus message
» dataobjectfalsenonenone
»» list[any]falsenonenone

GET City List

GET /openapi/ip/dynamic-citys

Return Example

200 Response

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

Return result

Status CodeMeaning of Status CodeExplanationData Model
200OKRequest succeededInline

Return data structure

Status code 200

NameTypeRequiredConstraintChinese NameExplanation
» codeintegerfalsenoneStatus code: 200 success, 3 invalid app_key, 156 account not real-name authenticated
» msgstringfalsenoneStatus 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[object]falsenoneProvince or state
»»»» citystringfalsenoneCity Name
»»»» statestringfalsenoneState or province name code
»»»» continent_codestringfalsenoneContinent Code
»»»» country_codestringfalsenoneCountry or region code

GET City Search

GET /openapi/ip/dynamic-citys/search

Request Parameters

NameLocationTypeRequiredExplanation
country_codequerystringYesCountry or region code
statequerystringYesState or province code

Return Example

200 Response

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

Return result

Status CodeMeaning of Status CodeExplanationData Model
200OKRequest succeededInline

Return data structure

Status code 200

NameTypeRequiredConstraintChinese NameExplanation
» codeintegerfalsenoneStatus code: 200 success, 3 invalid app_key, 156 account not real-name authenticated
» msgstringfalsenoneStatus message
» dataobjectfalsenonenone
»» list[string]falsenoneList

GET State List

GET /openapi/ip/dynamic-states

Return Example

200 Response

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

Return result

Status CodeMeaning of Status CodeExplanationData Model
200OKRequest succeededInline

Return data structure

Status code 200

NameTypeRequiredConstraintChinese NameExplanation
» codeintegerfalsenoneStatus code: 200 success, 3 invalid app_key, 156 account not real-name authenticated
» msgstringfalsenoneStatus 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[object]falsenoneProvince or state
»»»» statestringfalsenoneState or province name code
»»»» continent_codestringfalsenoneContinent Code
»»»» country_codestringfalsenoneCountry or region code

GET State/Province Search

GET /openapi/ip/dynamic-states/search

Request Parameters

NameLocationTypeRequiredExplanation
country_codequerystringYesCountry or region code

Return Example

200 Response

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

Return result

Status CodeMeaning of Status CodeExplanationData Model
200OKRequest succeededInline

Return data structure

Status code 200

NameTypeRequiredConstraintChinese NameExplanation
» codeintegerfalsenoneStatus code: 200 success, 3 invalid app_key, 156 account not real-name authenticated
» msgstringfalsenoneStatus message
» dataobjectfalsenonenone
»» list[string]falsenoneList

GET Get Static IP List

GET /ip/get-static-ip

Request Parameters

NameLocationTypeRequiredExplanation
country_codequerystringNoCountry or region code
product_typequerynumberNoProduct Type, 25: Static Residential IP, 14: Datacenter IP
trade_noquerystringNoFilter IP by order number
pagequerynumberNoPage number
sizequerynumberNoItems per page
statusquerynumberNoStatus, 1: valid, 2: invalid, 3: expiring soon, 4: under maintenance

Enumeration values

AttributesValue
product_type14
product_type25
status1
status2
status3
status4

Return Example

200 Response

{}

Return result

Status CodeMeaning of Status CodeExplanationData Model
200OKnoneInline

Return data structure

Data Model

productTypes

9

Package type: 9 Dynamic Residential Traffic Package, 11 Dynamic Residential IP, 14 Static Data Center IP, 25 Static Residential IP

Attribute

NameTypeRequiredConstraintChinese NameExplanation
anonymousintegerfalsenonePackage type: 9 Dynamic Residential Traffic Package, 11 Dynamic Residential IP, 14 Static Data Center IP, 25 Static Residential IP

Enumeration values

AttributesValue
anonymous9
anonymous11
anonymous14
anonymous25

apiKey

null

Authentication Key

Attribute

None

responseCode

200

Status code, 200 success, 3 app_key invalid

Attribute

NameTypeRequiredConstraintChinese NameExplanation
anonymousintegerfalsenoneStatus code, 200 success, 3 invalid app_key

responseMsg

"success"

response message

Attribute

NameTypeRequiredConstraintChinese NameExplanation
anonymousstringfalsenoneresponse message
Last Updated:: 10/24/25, 3:13 PM
Contributors: LinWu