OpenAPIOpenAPI
  • 简体中文
  • English
  • 简体中文
  • English
  • DuckIP

DuckIP

Log in to view your app_key authentication key on the Personal Center home page.

Keep your key secure. It grants administrator access to your account.

Authentication Methods

App Key Authentication

POST parameter:

app_key: {your_app_key}

Alternatively, pass it as a query parameter:

?app_key={your_app_key}

Response Format

All endpoints return responses in a uniform JSON format:

{
"code": 200,
"message": "操作成功",
"data": {}
}
  • code: Status code. 200 indicates success; other values indicate failure.
  • message: Response message (in Chinese).
  • data: Response data.

Base URLs:

  • https://api.duckip.com

Authentication

  • HTTP Authentication, scheme: bearer
  • API Key (apiKeyAuth)
  • Parameter Name: app_key, in: query. Supports GET and POST.

API Key Management

GET API Key List

GET /developers/api-keys

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNoResource space identifier. Omit this parameter or pass an empty string for personal space.
pagequeryintegerNonone
pageSizequeryintegerNonone

Response Example

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

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegertruenonenone
» msgstringtruenonenone
» request_idstringtruenonenone
» dataobjecttruenonenone
»» list[UserApiKeyMetadata]truenonenone
»»» idintegertruenoneAPI Key ID
»»» api_keystringtruenoneThe creation response contains the full key; keys are masked in team lists.
»»» team_user_idintegertruenoneID of the member who holds the team key; 0 for a personal key.
»»» remarkstringtruenoneRemarks
»»» statusintegertruenone0=disabled, 1=enabled
»»» created_atstringtruenoneCreation time
»»» updated_atstring¦nullfalsenoneLast update time
»» totalintegertruenonenone
»» pageintegertruenonenone
»» pageSizeintegertruenonenone

Enumerated Values

PropertyValue
status0
status1

POST Create API Key

POST /developers/api-keys/create

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» remarkbodystringNonone

Response Example

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

Status CodeMeaningDescriptionData Model
200OKOn success, returns the full API key. It is shown only once.Inline

Response Schema

Enumerated Values

PropertyValue
status0
status1

POST Enable API Key

POST /developers/api-keys/enable

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyApiKeyManageRequestYesnone

Responses

Status CodeMeaningDescriptionData Model
200OKOperation successfulNone

POST Disable API Key

POST /developers/api-keys/disable

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyApiKeyManageRequestYesnone

Responses

Status CodeMeaningDescriptionData Model
200OKOperation successfulNone

POST Delete API Key

POST /developers/api-keys/delete

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyApiKeyManageRequestYesnone

Responses

Status CodeMeaningDescriptionData Model
200OKOperation successfulNone

POST Update API Key Remarks

POST /developers/api-keys/update-remark

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» idbodyintegerYesnone
» remarkbodystringYesnone

Responses

Status CodeMeaningDescriptionData Model
200OKOperation successfulNone

Team Management

POST Create Team

POST /developers/team/create

Request Body

{
  "name": "string"
}

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» namebodystringYesTeam name

Response Example

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

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

Enumerated Values

PropertyValue
status0
status1
status2
status3
current_role1
current_role2
current_role3
current_role4
current_rolenull

GET Teams Accessible to the Current User

GET /developers/team/list

Request Parameters

NameLocationTypeRequiredDescription
pagequeryintegerNonone
page_sizequeryintegerNonone

Response Example

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {}
    ],
    "total": 0,
    "page": 1,
    "page_size": 1
  },
  "request_id": "string"
}

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

Enumerated Values

PropertyValue
status0
status1
status2
status3
current_role1
current_role2
current_role3
current_role4
current_rolenull

GET Team Details

GET /developers/team/detail

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryTeamPublicIdYesnone

Response Example

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

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

Enumerated Values

PropertyValue
status0
status1
status2
status3
current_role1
current_role2
current_role3
current_role4
current_rolenull

POST Update Team Name

POST /developers/team/update-name

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyTeamPublicIdYesPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» namebodystringYesnone

Response Example

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

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

Enumerated Values

PropertyValue
status0
status1
status2
status3
current_role1
current_role2
current_role3
current_role4
current_rolenull

POST Dissolve Team

POST /developers/team/dissolve

Only the team's super administrator can call this endpoint. The name in the request must exactly match the team's current name. This endpoint requires secondary verification for the operation. If the caller is outside the 15-minute trusted period, it returns code=348. Obtain a verification code using one of the available methods listed in the response data, then retry with verify_type and verify_code. You can call this endpoint again to resume an incomplete dissolution process.

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyTeamPublicIdYesPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» namebodystringYesTeam name confirmation. Must exactly match the team's current name.
» verify_typebodystringNoSecondary verification method. Submit together with verify_code when verification is required.
» verify_codebodystringNoSecondary verification code. May be omitted during the 15-minute trusted period.

Enumerated Values

PropertyValue
» verify_typephone
» verify_typeemail
» verify_typewechat
» verify_typetotp

Response Example

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

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

Enumerated Values

PropertyValue
status0
status1
status2
status3
current_role1
current_role2
current_role3
current_role4
current_rolenull

GET Team Dissolution Status

GET /developers/team/dissolve-status

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryTeamPublicIdYesnone

Response Example

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

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

Enumerated Values

PropertyValue
status0
status1
status2
status3
current_role1
current_role2
current_role3
current_role4
current_rolenull

Team Assets

GET Team Package Information

GET /developers/team/product-info

Returns a package summary for the specified team resource space. Package fields match those in /web_v1/user/info. Does not return the team super administrator's personal profile, balance, or internal numeric team ID. For credit package details, use /web_v1/credit/info.

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryTeamPublicIdYesnone

Response Example

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

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

GET Team Asset List

GET /developers/team/assets

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryTeamPublicIdYesnone
pagequeryintegerNonone
page_sizequeryintegerNonone

Response Example

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {}
    ],
    "total": 0,
    "page": 1,
    "page_size": 1
  },
  "request_id": "string"
}

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

GET Personal Assets Eligible for Transfer to a Team

GET /developers/team/assets/personal-candidates

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryTeamPublicIdYesnone
pagequeryintegerNonone
page_sizequeryintegerNonone

Response Example

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {}
    ],
    "total": 0,
    "page": 1,
    "page_size": 1
  },
  "request_id": "string"
}

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

POST Transfer Personal Assets to a Team

POST /developers/team/assets/move-in

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyTeamPublicIdYesPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» user_product_idbodyintegerYesnone

Response Example

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

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

POST Transfer Team Assets Back to Personal Space

POST /developers/team/assets/move-out

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyTeamPublicIdYesPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» user_product_idbodyintegerYesnone

Response Example

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

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

Team Wallet

GET Team Wallet

GET /developers/team/wallet/detail

Requires VIEW_BILLING permission. The team wallet is separate from the personal balances of the super administrator and members.

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryTeamPublicIdYesnone

Response Example

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

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

GET Team Wallet Transactions

GET /developers/team/wallet/records

Requires VIEW_BILLING permission. Transaction amounts are always positive; the direction field indicates whether funds are added or deducted.

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryTeamPublicIdYesnone
pagequeryintegerNonone
page_sizequeryintegerNonone

Response Example

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {}
    ],
    "total": 0,
    "page": 1,
    "page_size": 1
  },
  "request_id": "string"
}

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

Enumerated Values

PropertyValue
direction0
direction1
transaction_type1
transaction_type2
transaction_type3
transaction_type4
transaction_type5

POST Transfer Personal Balance to the Team Wallet

POST /developers/team/wallet/transfer-in

Only the team super administrator has TRANSFER_BALANCE permission. Atomically deducts from their personal top-up balance and credits the team wallet. The transferred amount is not included in total_recharge_fee and cannot be transferred back to the personal balance.

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyTeamPublicIdYesPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» amountbodynumber(double)Yesnone

Response Example

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

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

POST Transfer Team Balance Back to a Personal Account

POST /developers/team/wallet/transfer-out

Only the logged-in super administrator can call this endpoint. Atomically deducts from the team wallet and credits their personal top-up balance, without changing the team's or individual's cumulative top-up amount. Teams undergoing dissolution can use it to recover their balance; dissolved teams cannot call it.

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyTeamPublicIdYesPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» amountbodynumber(double)YesMust not exceed the team's current available balance.

Response Example

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

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

Team Members

GET Team Member List

GET /developers/team/members

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryTeamPublicIdYesnone
pagequeryintegerNonone
page_sizequeryintegerNonone

Response Example

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {}
    ],
    "total": 0,
    "page": 1,
    "page_size": 1
  },
  "request_id": "string"
}

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

Enumerated Values

PropertyValue
role1
role2
role3
role4
status0
status1
status2
status3

GET Unified Team Member and Invitation List

GET /developers/team/people

Returns active members. Super administrators and administrators also see pending invitations. Invitations in other states appear only in the invitation history list.

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryTeamPublicIdYesnone
pagequeryintegerNonone
page_sizequeryintegerNonone

Response Example

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {}
    ],
    "total": 0,
    "page": 1,
    "page_size": 1
  },
  "request_id": "string"
}

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

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

POST Update Member Role

POST /developers/team/members/update-role

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyTeamPublicIdYesPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» team_member_idbodyintegerYesnone
» rolebodyintegerYesnone

Enumerated Values

PropertyValue
» role2
» role3

Response Example

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

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

Enumerated Values

PropertyValue
role1
role2
role3
role4
status0
status1
status2
status3

POST Remove Team Member

POST /developers/team/members/remove

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyTeamPublicIdYesPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» team_member_idbodyintegerYesnone

Response Example

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

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. On successful completion, data.status=3.Inline

Response Schema

Enumerated Values

PropertyValue
role1
role2
role3
role4
status0
status1
status2
status3

POST Leave Team

POST /developers/team/members/leave

Request Body

{
  "team_id": "A1b2C3d4E5f6"
}

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyTeamPublicIdYesPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.

Response Example

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

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. On successful completion, data.status=2.Inline

Response Schema

Enumerated Values

PropertyValue
role1
role2
role3
role4
status0
status1
status2
status3

Team Invitations

POST Create Team Invitation

POST /developers/team/invitations/create

Creates an invitation for a registered user, email address, or phone number. If the email address or phone number matches a user on this site, the response is normalized to invite_type=1. The frontend may submit a relative URL path template for invitations on this site. The server replaces only the placeholder with a one-time invitation token. When an unregistered invitee registers with the invited phone number or verifies the invited email address, the server binds any still-valid invitation to the new user, rotates the token, and sends only one additional unread in-site message. The old token in the original email or SMS immediately becomes invalid. If an email invitation has not yet been automatically bound, the current account registered with the invited email address can accept it directly without waiting for email_verify.

Request Body

{
  "team_id": "A1b2C3d4E5f6",
  "invite_type": 1,
  "role": 2,
  "user_id": 1,
  "email": "user@example.com",
  "country_code": 1,
  "phone": "string",
  "invitation_url_template": "/team/invitation/{{token}}"
}

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyTeamPublicIdYesPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» invite_typebodyintegerYes1=registered user, 2=email, 3=phone number
» rolebodyintegerYes2=administrator, 3=regular member
» user_idbodyintegerNoRequired when invite_type=1.
» emailbodystring(email)NoRequired when invite_type=2.
» country_codebodyintegerNoRequired when invite_type=3.
» phonebodystringNoRequired when invite_type=3.
» invitation_url_templatebodystringNoRelative path template defined by this site's frontend. Must start with a single /, contain no domain name or line break, and include exactly one placeholder.
» anonymousbodyobjectNonone
»» invite_typebodyanyNonone
» anonymousbodyobjectNonone
»» invite_typebodyanyNonone
» anonymousbodyobjectNonone
»» invite_typebodyanyNonone

Enumerated Values

PropertyValue
» invite_type1
» invite_type2
» invite_type3
» role2
» role3

Response Example

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "invitation": {
      "id": null,
      "team_id": null,
      "inviter_user_id": null,
      "invitee_user_id": null,
      "invite_type": null,
      "invite_country_code": null,
      "invite_target": null,
      "delivery_type": null,
      "role": null,
      "status": null,
      "accepted_by_user_id": null,
      "expired_at": null,
      "accepted_at": null,
      "rejected_at": null,
      "cancelled_at": null,
      "created_at": null
    },
    "invitation_token": "string",
    "invitation_url": "http://example.com",
    "notification_channels": {
      "email": null,
      "sms": null,
      "site_inner_message": null
    }
  },
  "request_id": "string"
}

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field; 200 indicates operation success.Inline

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

GET Team Invitation List

GET /developers/team/invitations

Accessible only to the team super administrator or administrators. Overdue pending invitations are marked as expired before the response is returned.

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryTeamPublicIdYesPublic team identifier
pagequeryintegerNoPage number, starting at 1.
page_sizequeryintegerNoNumber of items per page

Response Example

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {}
    ],
    "total": 0,
    "page": 1,
    "page_size": 1
  },
  "request_id": "string"
}

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

Enumerated Values

PropertyValue
invite_type1
invite_type2
invite_type3
delivery_type1
delivery_type2
delivery_type3
role2
role3
status0
status1
status2
status3
status4

GET Preview Team Invitation

GET /developers/team/invitations/preview

Anonymously previews an invitation using a one-time invitation_token. Invitation links do not use numeric invitation IDs.

Request Parameters

NameLocationTypeRequiredDescription
invitation_tokenquerystringYesNon-empty, plaintext, one-time token from the invitation link.

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

Enumerated Values

PropertyValue
role2
role3
status0
status1
status2
status3
status4

POST Resend Team Invitation Notification

POST /developers/team/invitations/resend

Resends through the original delivery channel. Registered users also receive an in-site message. Resending rotates the token and immediately invalidates all previous invitation links.

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyTeamPublicIdYesPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» invitation_idbodyintegerYesInvitation ID

Response Example

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "invitation": {
      "id": null,
      "team_id": null,
      "inviter_user_id": null,
      "invitee_user_id": null,
      "invite_type": null,
      "invite_country_code": null,
      "invite_target": null,
      "delivery_type": null,
      "role": null,
      "status": null,
      "accepted_by_user_id": null,
      "expired_at": null,
      "accepted_at": null,
      "rejected_at": null,
      "cancelled_at": null,
      "created_at": null
    },
    "invitation_url": "http://example.com",
    "notification_channels": {
      "email": null,
      "sms": null,
      "site_inner_message": null
    }
  },
  "request_id": "string"
}

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

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

POST Accept Team Invitation

POST /developers/team/invitations/accept

The logged-in user accepts an invitation using a one-time invitation_token. They must match the invitee and belong to the site that issued the invitation. No team_id is required.

Request Body

{
  "invitation_token": "string"
}

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» invitation_tokenbodystringYesPlaintext, one-time invitation token

Response Example

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

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. On successful completion, data contains the member object.Inline

Response Schema

Enumerated Values

PropertyValue
role1
role2
role3
role4
status0
status1
status2
status3

POST Reject Team Invitation

POST /developers/team/invitations/reject

The logged-in user rejects an invitation addressed to them using a one-time invitation_token. No team_id is required.

Request Body

{
  "invitation_token": "string"
}

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» invitation_tokenbodystringYesPlaintext, one-time invitation token

Response Example

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

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. On successful completion, data.status=2.Inline

Response Schema

Enumerated Values

PropertyValue
invite_type1
invite_type2
invite_type3
delivery_type1
delivery_type2
delivery_type3
role2
role3
status0
status1
status2
status3
status4

POST Cancel Team Invitation

POST /developers/team/invitations/cancel

Cancels a pending invitation in the specified team. The caller must have permission to invite users with the target role.

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyTeamPublicIdYesPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» invitation_idbodyintegerYesInvitation ID

Response Example

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

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. On successful completion, data.status=3.Inline

Response Schema

Enumerated Values

PropertyValue
invite_type1
invite_type2
invite_type3
delivery_type1
delivery_type2
delivery_type3
role2
role3
status0
status1
status2
status3
status4

Credit Management

GET Credit Package Information

GET /web_v1/credit/info

Retrieves a credit package summary for the current resource space. Team space requires USE_ASSETS permission. Supports authenticated sessions, personal API keys, and team API keys.

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNoResource space identifier. Omit this parameter or pass an empty string for personal space. With a team API key, it may be omitted; if provided, it must match the key's team.

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. On successful completion, data contains the credit tier, total credits, remaining credits, reset time, and automatic top-up status.Inline

Response Schema

POST Configure Automatic Credit Top-up from Balance

POST /web_v1/credit/update-auto-supplement

Uses an authenticated session to enable or disable automatic top-up for the current resource space. Team space requires USE_OWNER_PAYMENT_CAPABILITIES permission, currently available only to the team super administrator. Disabled by default for team space.

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» statusbodyintegerYes0=off, 1=on

Enumerated Values

PropertyValue
» status0
» status1

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. On successful completion, data.status contains the updated setting.Inline

Response Schema

GET Credit Usage Records

GET /web_v1/credit/consumption-logs

Uses an authenticated session to retrieve paginated credit usage records for the current resource space. Team space requires VIEW_BILLING permission.

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
pagequeryintegerNonone
page_sizequeryintegerNonone
start_datequerystring(date)NoStart date, interpreted in the site's time zone.
end_datequerystring(date)NoEnd date, interpreted in the site's time zone.
consumption_typequerystringNoUsage type

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. On successful completion, data contains list, page, page_size, total_count, and total_page.Inline

Response Schema

GET Credit Reset Records

GET /web_v1/credit/reset-logs

Uses an authenticated session to retrieve paginated credit reset records for the current resource space. Team space requires VIEW_BILLING permission.

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
pagequeryintegerNonone
page_sizequeryintegerNonone

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. On successful completion, data contains credit reset records and pagination information.Inline

Response Schema

GET Credit Statistics

GET /web_v1/credit/stats

Uses an authenticated session to retrieve credit statistics grouped by usage type for the current resource space. Team space requires VIEW_BILLING permission.

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
start_datequerystring(date)NoStart date, interpreted in the site's time zone.
end_datequerystring(date)NoEnd date, interpreted in the site's time zone.

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. On successful completion, data contains by_type and total.Inline

Response Schema

GET Daily Credit Statistics

GET /web_v1/credit/daily-stats

Uses an authenticated session to retrieve daily credit usage for the current resource space, covering the last 7 days by default. Regular team members see only their own actual usage. Administrators, super administrators, and finance members with VIEW_BILLING permission see data for the entire team. Historical team logs without a recorded consuming member are visible only in the full-team view.

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
start_datequerystring(date)NoStart date; defaults to 6 days ago.
end_datequerystring(date)NoEnd date; defaults to today.
consumption_typequerystringNoOptional usage type
fill_gapsqueryintegerNoWhether to fill in missing dates

Enumerated Values

PropertyValue
fill_gaps0
fill_gaps1

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. On successful completion, data contains daily_stats and summary.Inline

Response Schema

GET Hourly Credit Statistics

GET /web_v1/credit/hourly-stats

Uses an authenticated session to retrieve hourly credit usage for the current resource space, covering the last 7 days by default. Team space requires VIEW_BILLING permission.

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
start_datequerystring(date)NoStart date; defaults to 6 days ago.
end_datequerystring(date)NoEnd date; defaults to today.
consumption_typequerystringNoOptional usage type
fill_gapsqueryintegerNoWhether to fill in missing hours

Enumerated Values

PropertyValue
fill_gaps0
fill_gaps1

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. On successful completion, data contains hourly_stats and summary.Inline

Response Schema

Xcrawl Activity Log

GET Recent Xcrawl Tasks

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

Uses an authenticated session to retrieve individual tasks and a summary for the current resource space. Team space requires USE_ASSETS permission. Regular members see only tasks generated with credentials they created; administrators and super administrators can see tasks for the entire team.

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
pagequeryintegerNonone
page_sizequeryintegerNonone
endpointquerystringNoEndpoint type
statusquerystringNonone
start_timequerystringNoTime in the user's time zone, in Y-m-d H:i:s format.
end_timequerystringNoTime in the user's time zone. The end boundary is inclusive.
urlquerystringNoTarget URL or Data scraper identifier
job_idquerystringNoTask ID prefix

Enumerated Values

PropertyValue
statuspending
statuscrawling
statuscompleted
statusfailed

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. On successful completion, data contains a paginated list and metadata.Inline

Response Schema

GET Xcrawl Crawl Result

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

Uses an authenticated session to retrieve the Crawl Result for a specified task in the current resource space. Team space requires USE_ASSETS permission. Task ownership is checked against the credentials visible to the member.

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
job_idquerystringYesTask ID

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. On successful completion, data contains job_id and crawl_result.Inline

Response Schema

GET Xcrawl Task Details and Logs

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

Uses an authenticated session to retrieve a specified individual task and its result details in the current resource space. Team space requires USE_ASSETS permission. Task ownership is checked against the credentials visible to the member.

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
job_idquerystringYesTask ID
pagequeryintegerNoPage number for crawl/data sub-results
page_sizequeryintegerNoPage size for crawl/data sub-results

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. On successful completion, data contains job and detail, whose structure varies by endpoint.Inline

Response Schema

GET Data URL Aggregate Statistics

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

Uses an authenticated session to aggregate Data scraper tasks in the current resource space. Team space requires USE_ASSETS permission. Results are limited to the credentials visible to the member.

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
limitqueryintegerNoNumber of items to return; 0 returns an empty list.

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. On successful completion, data.list contains aggregate results by scraper.Inline

Response Schema

GET Recent Batch Crawl Tasks

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

Uses an authenticated session to retrieve batch tasks and a summary for the current resource space. Team space requires USE_ASSETS permission. Regular members see only tasks generated with credentials they created; administrators and super administrators can see tasks for the entire team.

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
pagequeryintegerNonone
page_sizequeryintegerNonone
endpointquerystringNoEndpoint type, usually batch_scrape.
statusquerystringNonone
start_timequerystringNoTime in the user's time zone, in Y-m-d H:i:s format.
end_timequerystringNoTime in the user's time zone. The end boundary is inclusive.
batch_idquerystringNoBatch task ID prefix

Enumerated Values

PropertyValue
statuspending
statuscrawling
statuscompleted
statusfailed

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. On successful completion, data contains a paginated list and metadata.Inline

Response Schema

GET Batch Crawl Task Details and Logs

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

Uses an authenticated session to retrieve a specified batch task and its item results in the current resource space. Team space requires USE_ASSETS permission. Task ownership is checked against the credentials visible to the member.

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
batch_idquerystringYesBatch task ID
pagequeryintegerNoPage number for items
page_sizequeryintegerNoPage size for items

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. On successful completion, data contains job and the batch task detail.Inline

Response Schema

Proxy Account Management

GET Proxy Account List

GET /developers/whitelist-account/list

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNoResource space identifier. Omit this parameter or pass an empty string for personal space. With a team key, it may be omitted; if provided, it must match the key's team.

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» coderesponseCodefalsenoneStatus code: 200=success, 3=invalid app_key.
» msgstringfalsenoneStatus message
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» idintegerfalsenoneAccount ID
»»» usernamestringfalsenoneProxy account username
»»» passwordstringfalsenoneProxy account password
»»» created_atstringfalsenoneTime added
»»» remarkstringfalsenoneRemarks
»»» product_typeproductTypesfalsenonePackage type: 9=dynamic residential traffic package, 11=dynamic residential IP, 14=static datacenter IP, 25=static residential IP.
»»» usage_flowintegerfalsenoneTraffic used, in KB.
»»» limit_flowintegerfalsenoneCustom traffic limit, in GB. Maximum: 102400; 0 means unlimited.
»»» statusintegerfalsenoneAccount status: 1=enabled, 0=disabled.

Enumerated Values

PropertyValue
product_type9
product_type11
product_type14
product_type25

POST Check Available Traffic Limits for a Proxy Account

POST /developers/whitelist-account/check

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectNonone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» accountbodystringNoAccount username to provide when editing an existing proxy account.

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Enumerated Values

PropertyValue
isAgent0
isAgent1

GET Dynamic Proxy Subaccount Quota and Usage

GET /developers/whitelist-account/child-account

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNoResource space identifier. Omit this parameter or pass an empty string for personal space.

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

POST Add Proxy Account

POST /developers/whitelist-account/add

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectNonone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» app_keybodystringNoAuthorization key
» accountsbodystringNoAccount credentials in username:password format. Usernames and passwords may contain only letters and digits; special characters and spaces are not allowed. Separate the username and password with a colon. To add multiple proxy accounts, separate them with commas (,).
» remarkbodystringNoProxy account description
» product_typebodyproductTypesNoPackage type: 9=dynamic residential traffic package, 11=dynamic residential IP, 14=static datacenter IP, 25=static residential IP.

Enumerated Values

PropertyValue
» product_type9
» product_type11
» product_type14
» product_type25

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success, 3=invalid app_key, 156=account identity verification not completed.
» msgstringfalsenoneStatus message
» datanullfalsenonenone

POST Delete Proxy Account

POST /developers/whitelist-account/delete

Deletion cannot be undone. Usage history and other data will no longer be available. Deletion takes approximately 5 minutes to take effect, and charges may still accrue during this period.

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectNonone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» app_keybodystringNoAuthorization key
» accountsbodystringNoProxy account username. Only letters and digits are allowed. For batch operations, separate proxy accounts with commas (,).

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success, 3=invalid app_key, 156=account identity verification not completed.
» msgstringfalsenoneStatus message
» datanullfalsenonenone

POST Disable Proxy Account

POST /developers/whitelist-account/disable

Disabling an account takes approximately 5 minutes to take effect. Charges may still accrue during this period.

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectNonone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» app_keybodystringNoAuthorization key
» accountsbodystringNoProxy account username. Only letters and digits are allowed. For batch operations, separate proxy accounts with commas (,).

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success, 3=invalid app_key, 156=account identity verification not completed.
» msgstringfalsenoneStatus message
» datanullfalsenonenone

POST Enable Proxy Account

POST /developers/whitelist-account/enable

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectNonone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» app_keybodystringNoAuthorization key
» accountsbodystringNoProxy account username. Only letters and digits are allowed. For batch operations, separate proxy accounts with commas (,).

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success, 3=invalid app_key, 156=account identity verification not completed.
» msgstringfalsenoneStatus message
» datanullfalsenonenone

POST Change Proxy Account Password

POST /developers/whitelist-account/change-password

A password change takes 5 minutes to take effect. The old password may remain valid during this period.

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectNonone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» app_keybodystringNoAuthorization key
» accountbodystringNoProxy account username. Only letters and digits are allowed.
» passwordbodystringNoNew proxy account password. Only letters and digits are allowed.

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success, 3=invalid app_key, 156=account identity verification not completed.
» msgstringfalsenoneStatus message
» datanullfalsenonenone

POST Update Proxy Account Remarks

POST /developers/whitelist-account/change-remark

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectNonone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» app_keybodystringNoAuthorization key
» accountbodystringNoProxy account username. Only letters and digits are allowed.
» remarkbodystringNoNew proxy account remarks, up to 32 Chinese characters or 64 English characters.

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success, 3=invalid app_key, 156=account identity verification not completed.
» msgstringfalsenoneStatus message
» datanullfalsenonenone

POST Update Proxy Account Traffic Limit

POST /developers/whitelist-account/change-limit

Traffic statistics may be delayed by up to 5 minutes, so actual traffic usage may exceed this limit.

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectNonone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» app_keybodystringNoAuthorization key
» accountbodystringNoProxy account username. Only letters and digits are allowed.
» limitbodyintegerNoTraffic limit, in GB. 0 means unlimited.

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success, 3=invalid app_key, 156=account identity verification not completed.
» msgstringfalsenoneStatus message
» datanullfalsenonenone

POST Quickly Create a Proxy Account

POST /developers/whitelist-account/quick-add

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» product_typebodyintegerYesnone

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKOn successful completion, returns the new account username and password.Inline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenonenone
» msgstringfalsenonenone
» request_idstringfalsenonenone
» dataanyfalsenonenone

oneOf

NameTypeRequiredConstraintsDisplay NameDescription
»» anonymousobjectfalsenonenone
»»» usernamestringtruenonenone
»»» passwordstringtruenonenone

xor

NameTypeRequiredConstraintsDisplay NameDescription
»» anonymousnullfalsenonenone

POST Update Proxy Account Daily Traffic Limit

POST /developers/whitelist-account/change-daily-limit

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» accountbodystringYesnone
» daily_limitbodyintegerNoUnit: GB

Responses

Status CodeMeaningDescriptionData Model
200OKOperation successfulNone

POST Update Proxy Account Information

POST /developers/whitelist-account/change

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» accountbodystringYesnone
» passwordbodystringNonone
» remarkbodystringNonone
» limitbodyintegerNoTotal traffic limit, in GB.
» daily_limitbodyintegerNoDaily traffic limit, in GB.
» statusbodyintegerNonone
» udpbodyintegerNonone

Enumerated Values

PropertyValue
» status0
» status1
» udp0
» udp1

Responses

Status CodeMeaningDescriptionData Model
200OKOperation successfulNone

POST Refresh Proxy Account Authentication Cache for the Current Resource Space

POST /developers/whitelist-account/refresh

Request Body

{
  "team_id": "A1b2C3d4E5f6"
}

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectNonone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.

Responses

Status CodeMeaningDescriptionData Model
200OKOperation successfulNone

GET Proxy Account Quota for a Specified Product Type

GET /developers/whitelist-account/quota

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
product_typequeryintegerYesnone

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenonenone
» msgstringfalsenonenone
» request_idstringfalsenonenone
» dataobjectfalsenonenone
»» usageintegertruenonenone
»» limitintegertruenonenone
»» expandintegertruenonenone

GET Proxy Account Quotas for All Product Types

GET /developers/whitelist-account/quotas

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenonenone
» msgstringfalsenonenone
» request_idstringfalsenonenone
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» product_typeintegerfalsenonenone
»»» limitintegerfalsenonenone
»»» usageintegerfalsenonenone

POST Update Proxy Account Information

POST /developers/proxy-account/change

Updates a proxy account's password, remarks, traffic limit, daily traffic limit, enabled status, or UDP setting.

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectNonone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» app_keybodystringNoAuthorization key
» accountbodystringNoProxy account username
» passwordbodystringNoNew password, consisting of 6-16 letters or digits. Omit to leave it unchanged.
» remarkbodystringNoNew remarks
» limitbodyintegerNoTraffic limit, in GB. 0 means unlimited.
» daily_limitbodyintegerNoDaily traffic limit, in GB. 0 means unlimited.
» statusbodyintegerNoEnabled status
» udpbodyintegerNoUDP support setting. Applies only to package types 14, 16, 21, and 25.

Enumerated Values

PropertyValue
» status0
» status1
» udp0
» udp1

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success.
» msgstringfalsenoneStatus message
» datanullfalsenonenone

IP Whitelist

GET IP Whitelist

GET /developers/proxy-ip/list

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNoResource space identifier. Omit this parameter or pass an empty string for personal space.
product_typequeryintegerNoPackage type ID

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success.
» msgstringfalsenoneStatus message
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» ipstringfalsenoneWhitelisted IP
»»» remarkstringfalsenoneRemarks
»»» product_typeintegerfalsenonePackage type
»»» created_atstringfalsenoneCreation time

POST Add IPs to Whitelist

POST /developers/proxy-ip/add

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectNonone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» app_keybodystringNoAuthorization key
» ipsbodystringNoIPs to add to the whitelist. Separate multiple IPs with commas or line breaks.
» remarkbodystringNoRemarks
» product_typebodyintegerNoPackage type ID
» user_product_idbodyintegerNoUser package ID. Required for package type 11.

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success.
» msgstringfalsenoneStatus message
» datanullfalsenonenone

POST Delete IPs from Whitelist

POST /developers/proxy-ip/delete

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectNonone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» app_keybodystringNoAuthorization key
» ipsbodystringNoIPs to remove from the whitelist. Separate multiple IPs with commas.
» verify_typebodystringNoVerification method: phone, email, wechat, or totp.
» verify_codebodystringNoVerification code

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success.
» msgstringfalsenoneStatus message
» datanullfalsenonenone

POST Update IP Whitelist Remarks

POST /developers/white-ip/change-remark

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» ipbodystring(ipv4)Yesnone
» remarkbodystringYesnone

Responses

Status CodeMeaningDescriptionData Model
200OKOperation successfulNone

POST Refresh IP Whitelist Authentication Cache for the Current Resource Space

POST /developers/white-ip/refresh

Request Body

{
  "team_id": "A1b2C3d4E5f6"
}

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectNonone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.

Responses

Status CodeMeaningDescriptionData Model
200OKOperation successfulNone

GET IP Whitelist Quota for a Specified Product Type

GET /developers/white-ip/quota

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
product_typequeryintegerYesnone

Responses

Status CodeMeaningDescriptionData Model
200OKOperation successfulNone

GET IP Whitelist Quotas for All Product Types

GET /developers/white-ip/quotas

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone

Responses

Status CodeMeaningDescriptionData Model
200OKOperation successfulNone

IP Extraction

GET Daily IP Extraction Counts

GET /developers/user-extract-ip/days

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
start_datequerystring(date)NoDefaults to 6 days ago.
end_datequerystring(date)NoDefaults to today.
product_typequeryintegerNonone

Enumerated Values

PropertyValue
product_type9
product_type17
product_type22

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenonenone
» msgstringfalsenonenone
» request_idstringfalsenonenone
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» countintegertruenonenone
»»» datestring(date)truenonenone

GET Extract IPs

GET /developers/ip/v3

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNoMay be omitted when using a team key. If provided, must match the team associated with the key.
app_keyquerystring(password)YesAccess key
ccquerystringNoCountry or region
statequerystringNoState or province
cityquerystringNoCity
formatquerystringNoOutput format
lbquerystringNoSeparator. Applies only to text format.
numquerynumberNoNumber of IPs to extract
lifequerynumberNoSession duration, in minutes.
epquerystringNoProxy network

Enumerated Values

PropertyValue
epus
ephk
epde

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success, 3=invalid app_key, 156=account identity verification not completed.
» msgstringfalsenoneStatus message
» dataobjectfalsenonenone
»» list[any]falsenonenone

GET Dynamic Proxy City List V4

GET /developers/ip/dcl4

Retrieves the city list by username. Requires an authenticated session, and the account must belong to the current user.

Request Parameters

NameLocationTypeRequiredDescription
usernamequerystringYesProxy account username

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success.
» msgstringfalsenoneStatus message
» dataobjectfalsenonenone
»» cachebooleanfalsenoneWhether the result was served from cache
»» list[object]falsenonenone
»»» CitystringfalsenoneCity
»»» AreastringfalsenoneRegion
»»» StatestringfalsenoneState/province

GET Dynamic Proxy State/Province List V4

GET /developers/ip/dsl4

Retrieves the state/province list by username. Requires an authenticated session, and the account must belong to the current user.

Request Parameters

NameLocationTypeRequiredDescription
usernamequerystringYesProxy account username

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success.
» msgstringfalsenoneStatus message
» dataobjectfalsenonenone
»» cachebooleanfalsenoneWhether the result was served from cache
»» list[object]falsenonenone
»»» CitystringfalsenoneCity
»»» AreastringfalsenoneRegion
»»» StatestringfalsenoneState/province

GET Combined Dynamic Proxy State/Province and City List V4

GET /developers/ip/dal4

Retrieves a combined state/province and city list by username, grouped by region. Requires an authenticated session, and the account must belong to the current user.

Request Parameters

NameLocationTypeRequiredDescription
usernamequerystringYesProxy account username

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success.
» msgstringfalsenoneStatus message
» dataobjectfalsenonenone
»» cachebooleanfalsenoneWhether the result was served from cache
»» list[object]falsenoneRegion list
»»» AreastringfalsenoneRegion code
»»» states[object]falsenoneState/province list
»»»» StatestringfalsenoneState/province name
»»»» cities[string]falsenoneCity list

GET City List

GET /developers/ip/dynamic-citys

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success, 3=invalid app_key, 156=account identity verification not completed.
» 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]falsenoneState or province
»»»» citystringfalsenoneCity name
»»»» statestringfalsenoneState or province name/code
»»»» continent_codestringfalsenoneContinent code
»»»» country_codestringfalsenoneCountry or region code

GET Search Cities

GET /developers/ip/dynamic-citys/search

Request Parameters

NameLocationTypeRequiredDescription
country_codequerystringYesCountry or region code
statequerystringYesState or province code

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success, 3=invalid app_key, 156=account identity verification not completed.
» msgstringfalsenoneStatus message
» dataobjectfalsenonenone
»» list[string]falsenoneList

GET State List

GET /developers/ip/dynamic-states

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success, 3=invalid app_key, 156=account identity verification not completed.
» 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]falsenoneState or province
»»»» statestringfalsenoneState or province name/code
»»»» continent_codestringfalsenoneContinent code
»»»» country_codestringfalsenoneCountry or region code

GET Search States and Provinces

GET /developers/ip/dynamic-states/search

Request Parameters

NameLocationTypeRequiredDescription
country_codequerystringYesCountry or region code

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success, 3=invalid app_key, 156=account identity verification not completed.
» msgstringfalsenoneStatus message
» dataobjectfalsenonenone
»» list[string]falsenoneList

POST Allocated Static Datacenter IP List

POST /developers/ip/get-datacenter-assign-ip-list

Deprecated. Use /developers/user-product/datacenter-isp-ip-list instead. For compatibility with older clients, this endpoint uses POST, but all filter parameters are read from the query string.

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNoResource space identifier. Omit this parameter or pass an empty string for personal space. With a team key, it may be omitted; if provided, it must match the key's team.
areaquerystringNoCountry/region code
statusqueryintegerNo0=all, 1=active, 2=expired
trade_noquerystringNoOrder number
created_atqueryarray[string]NoCreation time range. Both the start and end times are required.

Enumerated Values

PropertyValue
status0
status1
status2

Response Example

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

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

GET Purchased Static IP List

GET /developers/ip/get-static-ip

Request Parameters

NameLocationTypeRequiredDescription
country_codequerystringNoCountry or region code
product_typequerynumberNoProduct type: 25=static residential IP, 14=datacenter IP.
trade_noquerystringNoFilter IPs by order number.
pagequerynumberNoPage number
sizequerynumberNoNumber of items per page
statusquerynumberNoStatus: 1=active, 2=inactive, 3=expiring soon, 4=under maintenance.

Enumerated Values

PropertyValue
product_type14
product_type25
status1 - 2 - 3 - 4

Response Example

200 Response

{}

Responses

Status CodeMeaningDescriptionData Model
200OKnoneInline

Response Schema

GET Available Static IP Counts by Region

GET /developers/ip/static-ip-region

Request Parameters

NameLocationTypeRequiredDescription
ispqueryintegerNoISP filter. If omitted, no filter is applied, except on sites 1/4/5, where it defaults to 1.
asnqueryintegerNoWhether to return data grouped by ASN
exclusivequeryintegerNoWhether to count only exclusively available inventory

Details

isp: ISP filter. If omitted, no filter is applied, except on sites 1/4/5, where it defaults to 1.

ValueDescription
0Static datacenter IPs (IDC)
1Static residential IPs (ISP)

asn: Whether to return data grouped by ASN.

ValueDescription
0Do not return data grouped by ASN (default).
1Return data grouped by ASN.

exclusive: Whether to count only exclusively available inventory.

ValueDescription
0Count using the current user/shared-group scope (default).
1Exclude all allocated IPs and count only available inventory.

Enumerated Values

PropertyValue
isp0
isp1
asn0
asn1
exclusive0
exclusive1

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success.
» msgstringfalsenoneStatus message
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» codestringfalsenoneCountry or region code
»»» numberintegerfalsenoneCount

GET Countries/Regions Supported by host_pool

GET /developers/host-pool/regions

Retrieves the countries/regions supported by the host_pool service for the current site.

This endpoint is intended for random datacenter IP extraction billed by traffic credits. Country/region counts are based only on available datacenter IP inventory for the current site. Does not support ASN, ISP, or exclusive-inventory filters, and does not exclude IPs based on the user's purchase history.

Response Example

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

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success.
» msgstringfalsenoneStatus message
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» codestringfalsenoneCountry or region code, in ISO 3166-1 alpha-2 format.
»»» numberintegerfalsenoneNumber of available datacenter IPs on the current site.
»»» name_zh_cnstringfalsenoneCountry or region name in Chinese
»»» name_enstringfalsenoneCountry or region name in English
»»» square_flagstringfalsenoneURL of a square flag image

Traffic Usage Logs

POST Recent Daily Traffic Usage Summary

POST /developers/user-usage-flow/days

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectNonone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» daysbodyintegerNonone
» product_typebodyintegerNonone
» usernamebodystringNonone

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

POST Historical Proxy Account Traffic Usage

POST /developers/user-usage-flow/username-total

Request Body

{
  "team_id": "A1b2C3d4E5f6"
}

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectNonone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.

Response Example

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "username": "string",
        "flow": 0
      }
    ]
  },
  "request_id": "string"
}

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

POST Export Monthly Proxy Account Traffic Usage

POST /developers/user-usage-flow/export-csv

Request Body

{
  "team_id": "A1b2C3d4E5f6"
}

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectNonone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.

Response Example

200 Response

Responses

Status CodeMeaningDescriptionData Model
200OKGBK-encoded CSV filestring

GET Total and Remaining Package Traffic

GET /developers/user-usage-flow/flow-total

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
unitquerystringNonone

Enumerated Values

PropertyValue
unitKB
unitMB
unitGB
unitTB
unitPB

Response Example

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "limit": 0,
    "total": 0,
    "remain": 0,
    "unit": "KB",
    "timestamp": 0
  },
  "request_id": "string"
}

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Enumerated Values

PropertyValue
unitKB
unitMB
unitGB
unitTB
unitPB

GET Daily Speed Chart

GET /developers/user-usage-flow/rate-graph

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
startquerystring(date)Nonone
endquerystring(date)Nonone
usernamequerystringNonone
user_product_idqueryintegerNonone

Response Example

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "date": "2019-08-24",
        "rate": 0,
        "corrent": 0
      }
    ]
  },
  "request_id": "string"
}

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

GET Daily Cached Traffic Statistics

GET /developers/user-usage-flow/cache-total

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
start_timequerystringNonone
end_timequerystringNonone
product_typequeryintegerNonone
usernamequerystringNonone

Response Example

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "day": "2019-08-24",
        "cache_flow": 0,
        "cache_reduce_flow": 0
      }
    ]
  },
  "request_id": "string"
}

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

GET Daily Traffic Usage Summary

GET /developers/user-usage-flow/total

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNoResource space identifier. Omit this parameter or pass an empty string for personal space.
app_keyquerystring(password)YesAuthentication key
start_timequerystring(Y-m-d H:i:s)NoStart time, with precision up to seconds. Logs may be delayed by up to 5 minutes. Defaults to a range within the last 7 days.
end_timequerystring(Y-m-d H:i:s)NoEnd time, with precision up to seconds. Logs may be delayed by up to 5 minutes. Defaults to the current time.
usernamequerystringNoSubaccount username. Queries all accounts by default; specify a username to query a particular subaccount. If multiple subaccounts share the same username, all usage records for that username are returned.
product_typequerynumberNoPackage type

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success, 3=invalid app_key, 156=account identity verification not completed.
» msgstringfalsenoneStatus message
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» daystringfalsenoneDate
»»» flowintegerfalsenoneTraffic used, in KB.

Proxy Logs

GET Proxy Access Statistics by Client IP

GET /developers/http-t-dom/list-v2

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
start_timequerystring(date)Nonone
end_timequerystring(date)Nonone
exportquerystringNonone

Enumerated Values

PropertyValue
exportcsv

Response Example

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

Status CodeMeaningDescriptionData Model
200OKJSON statistics; returns a CSV file when export=csv.string

GET Access Share by Client IP

GET /developers/http-t-dom/client-ip-proportion

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
start_timequerystring(date)Nonone
end_timequerystring(date)Nonone
exportquerystringNonone

Enumerated Values

PropertyValue
exportcsv

Response Example

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

Status CodeMeaningDescriptionData Model
200OKJSON access-share statistics; returns a CSV file when export=csv.string

Monthly Renewal Bills

GET Current Monthly Consolidated Renewal Bill

GET /developers/monthly-renewal-bill

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone

Response Example

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

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Enumerated Values

PropertyValue
typecurrent
typenext

POST Check Monthly Consolidated Renewal Order

POST /developers/monthly-renewal-bill/check

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyMonthlyRenewalRequestYesnone

Response Example

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

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Enumerated Values

PropertyValue
typecurrent
typenext

POST Create Monthly Consolidated Renewal Order

POST /developers/monthly-renewal-bill/create

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyMonthlyRenewalRequestYesnone

Response Example

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

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

GET Historical Monthly Consolidated Renewal Bills

GET /developers/monthly-renewal-bill/history

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
trade_noquerystringNonone
start_datequerystring(date)Nonone
end_datequerystring(date)Nonone
pagequeryintegerNonone
sizequeryintegerNonone

Response Example

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": [
          null
        ]
      }
    ]
  },
  "request_id": "string"
}

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Invoice Management

GET Invoice Header Details

GET /developers/user-invoice/info

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
invoice_codequerystringNonone

Response Example

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "invoice_code": "string",
    "name": "string",
    "org_name": "string",
    "first_name": "string",
    "last_name": "string",
    "phone": "string",
    "email": "user@example.com",
    "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

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

Enumerated Values

PropertyValue
role_type1
role_type2
invoice_type0
invoice_type1
invoice_type2

POST Create or Update Invoice Header

POST /developers/user-invoice/create

Request Body

{
  "invoice_code": "string",
  "name": "string",
  "org_name": "string",
  "first_name": "string",
  "last_name": "string",
  "phone": "string",
  "email": "user@example.com",
  "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
}

Request Parameters

NameLocationTypeRequiredDescription
bodybodyanyYesnone

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successful; data is null.Inline

Response Schema

GET Invoice Header List

GET /developers/user-invoice/list

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Enumerated Values

PropertyValue
role_type1
role_type2
invoice_type0
invoice_type1
invoice_type2

POST Delete Invoice Header

POST /developers/user-invoice/delete

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» invoice_codebodystringYesnone

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successful; data is null.Inline

Response Schema

GET Invoice Record List

GET /developers/user-invoice/record-list

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
statusqueryintegerNonone

Enumerated Values

PropertyValue
status0
status1
status2
status3
status4

Response Example

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": [
          null
        ],
        "created_at": 0,
        "invoice_info": {}
      }
    ]
  },
  "request_id": "string"
}

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Enumerated Values

PropertyValue
role_type1
role_type2
invoice_type0
invoice_type1
invoice_type2

POST Submit Invoice Request

POST /developers/user-invoice/submit

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» invoice_codebodystringYesnone
» order_idsbody[integer]Yesnone

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

POST Cancel Invoice Request

POST /developers/user-invoice/cancel

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» invoice_idbodyintegerYesnone
» reasonbodystringNonone

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successful; data is null.Inline

Response Schema

GET Invoice Amount Statistics

GET /developers/user-invoice/statistics

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

GET Orders Eligible for Invoicing

GET /developers/user-invoice/invoiceable-orders

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Package Queries

GET Purchased Package List

GET /developers/user-product/list

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNoResource space identifier. Omit this parameter or pass an empty string for personal space.
app_keyquerystring(password)YesAuthentication key
trade_noquerystringNoOrder number. Enter the complete order number; partial matching is not supported.
pagequerynumberNoPage number. Default: 1.
sizequerynumberNoNumber of items per page. Default: 20.
product_typequerynumberNoPackage type

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success, 3=invalid app_key, 156=account identity verification not completed.
» msgstringfalsenoneStatus message
» dataobjectfalsenonenone
»» list[object]falsenonenone
»»» idintegerfalsenonePackage ID
»»» created_atstringfalsenonePackage activation time
»»» expired_atstringfalsenonePackage expiration time. Traffic cannot be used after expiration.
»»» product_typeproductTypesfalsenonePackage type: 9=dynamic residential traffic package, 11=dynamic residential IP, 14=static datacenter IP, 25=static residential IP.
»»» trade_nostringfalsenoneOrder transaction number
»»» orderobjectfalsenonenone
»»»» created_atstringfalsenoneOrder creation time
»»»» pay_atstringfalsenoneOrder payment time
»»»» titlestringfalsenoneOrder description
»» pageintegerfalsenoneCurrent page number
»» page_sizeintegerfalsenonePage size
»» total_countintegerfalsenoneTotal number of records
»» total_pageintegerfalsenoneTotal number of pages

Enumerated Values

PropertyValue
product_type9
product_type11
product_type14
product_type25

GET User Package Summary

GET /developers/user-product/summary

Retrieves aggregate statistics for the user's packages, including total, active, expiring, and expired amounts.

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNoResource space identifier. Omit this parameter or pass an empty string for personal space.
app_keyquerystring(password)YesAuthentication key
product_typequeryintegerNoProduct type. Supports only 9 (dynamic traffic package) and 12 (long-duration IDC traffic package).

Enumerated Values

PropertyValue
product_type9
product_type12

Response Example

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

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Status Code 200

NameTypeRequiredConstraintsDisplay NameDescription
» codeintegerfalsenoneStatus code: 200=success, 3=invalid app_key, 156=account identity verification not completed.
» msgstringfalsenoneStatus message
» dataobjectfalsenonenone
»» totalintegerfalsenoneTotal traffic/IP amount (unit: KB).
»» total_countintegerfalsenoneTotal number of packages
»» effectiveintegerfalsenoneRemaining active traffic (unit: KB).
»» effective_countintegerfalsenoneNumber of active packages
»» effective_totalintegerfalsenoneTotal active traffic (unit: KB).
»» effective_usedintegerfalsenoneUsed traffic in active packages (unit: KB).
»» temporaryintegerfalsenoneTotal traffic expiring within 7 days (unit: KB).
»» temporary_countintegerfalsenoneNumber of packages expiring within 7 days.
»» expiredintegerfalsenoneUnused traffic in expired packages (unit: KB).
»» expired_countintegerfalsenoneNumber of expired packages
»» usedintegerfalsenoneTotal traffic used (unit: KB).

POST Static IP List

POST /developers/user-product/datacenter-isp-ip-list

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectNonone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» statusbodyintegerNonone
» pagebodyintegerNonone
» sizebodyintegerNonone
» user_product_idbodyintegerNonone
» country_codebodystringNonone
» product_typebodyintegerNonone
» ipbodystring(ipv4)Nonone
» auto_renewalbodyintegerNonone
» support_renewalbodyintegerNonone
» remaining_daysbodyintegerNonone
» limit_daysbodyintegerNonone
» sortbodystringNonone
» remarkbodystringNonone

Enumerated Values

PropertyValue
» auto_renewal0
» auto_renewal1
» support_renewal0
» support_renewal1
» sortexp_asc
» sortexp_desc

Responses

Status CodeMeaningDescriptionData Model
200OKOperation successfulNone

POST Delete Expired Package

POST /developers/user-product/delete

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» idbodyintegerYesnone

Responses

Status CodeMeaningDescriptionData Model
200OKOperation successfulNone

POST Batch Delete Expired Packages

POST /developers/user-product/batch-delete

Request Body

{
  "team_id": "A1b2C3d4E5f6",
  "ids": [
    1
  ]
}

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» idsbody[integer]Yesnone

Responses

Status CodeMeaningDescriptionData Model
200OKOperation successfulNone

POST Update Package Remarks

POST /developers/user-product/change-remark

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» idbodyintegerYesnone
» remarkbodystringYesnone

Responses

Status CodeMeaningDescriptionData Model
200OKOperation successfulNone

POST Batch Configure UDP for Static IPs

POST /developers/user-product/set-ip-udp

Request Body

{
  "team_id": "A1b2C3d4E5f6",
  "ids": [
    1
  ],
  "udp": 0
}

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» idsbody[integer]Yesnone
» udpbodyintegerYesnone

Enumerated Values

PropertyValue
» udp0
» udp1

Responses

Status CodeMeaningDescriptionData Model
200OKOperation successfulNone

Package Management

POST Replace Static Datacenter ISP IP

POST /developers/user-product/change-datacenter-isp-ip

Request Body

{
  "team_id": "A1b2C3d4E5f6",
  "id": 1,
  "country_code": "string",
  "ip": "string"
}

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» idbodyintegerYesUser package ID
» country_codebodystringNoTarget country/region code. If omitted, the current IP's country/region is preferred.
» ipbodystringNoFilter by target IP prefix.

Response Example

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "ip_id": 1,
    "ip": "string",
    "country_code": "string"
  },
  "request_id": "string"
}

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

GET Static IP Replacement Records

GET /developers/user-product/ip-change-log

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNoResource space identifier. Omit this parameter or pass an empty string for personal space.
pagequeryintegerNonone
page_sizequeryintegerNonone

Response Example

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

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

POST Enable or Disable Automatic Renewal for a Package

POST /developers/user-product/set-auto-renewal

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» user_product_idbodyintegerYesnone
» statusbodyintegerNo0=disabled, 1=enabled

Enumerated Values

PropertyValue
» status0
» status1

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

POST Batch Enable or Disable Automatic Renewal for Packages

POST /developers/user-product/batch-set-auto-renewal

Request Body

{
  "team_id": "A1b2C3d4E5f6",
  "user_product_ids": [
    1
  ],
  "status": 0
}

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» user_product_idsbody[integer]Yesnone
» statusbodyintegerNo0=disabled, 1=enabled

Enumerated Values

PropertyValue
» status0
» status1

Response Example

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "results": [
      {
        "user_product_id": 1,
        "success": true,
        "id": 1
      }
    ]
  },
  "request_id": "string"
}

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successful. Each package has an independent result.Inline

Response Schema

POST Set Default Automatic Renewal Parameters for a Product Type

POST /developers/user-product/set-auto-renewal-default-config

Provide at least one of days_before_expire, traffic_threshold, or renewal_cycle_days. A value of 0 resets the corresponding setting.

Request Body

{
  "team_id": "A1b2C3d4E5f6",
  "product_type": 9,
  "days_before_expire": 30,
  "traffic_threshold": 100,
  "renewal_cycle_days": 0
}

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» product_typebodyintegerYesnone
» days_before_expirebodyintegerNonone
» traffic_thresholdbodyintegerNoUnit: GB. Supported only for types 9/12/24.
» renewal_cycle_daysbodyintegerNoSupported only for types 11/14/16/25. Must be a billing period offered by a currently available product.
» anonymousbodyobjectNonone
» anonymousbodyobjectNonone
» anonymousbodyobjectNonone

Enumerated Values

PropertyValue
» product_type9
» product_type11
» product_type12
» product_type14
» product_type16
» product_type24
» product_type25

Response Example

200 Response

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

Responses

Status CodeMeaningDescriptionData Model
200OKRequest successful; data is null.Inline

Response Schema

POST Get Default Automatic Renewal Parameters for a Product Type

POST /developers/user-product/get-auto-renewal-default-config

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectNonone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» product_typebodyintegerNoIf omitted, returns all supported types.

Enumerated Values

PropertyValue
» product_type9
» product_type11
» product_type12
» product_type14
» product_type16
» product_type24
» product_type25

Response Example

200 Response

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "configs": [
      {
        "product_type": "[",
        "days_before_expire": 0,
        "source": "[",
        "renewal_cycle": {},
        "traffic_threshold": 0,
        "traffic_source": "["
      }
    ]
  },
  "request_id": "string"
}

Responses

Status CodeMeaningDescriptionData Model
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

POST Get Package Automatic Renewal Settings and Renewal Preview

POST /developers/user-product/get-auto-renewal

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» user_product_idbodyintegerYesnone

Response Example

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

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Enumerated Values

PropertyValue
time_unitday
time_unithour
status0
status1

POST Get Automatic Renewal Execution Records

POST /developers/user-product/auto-renewal-logs

Request Body

{
  "team_id": "A1b2C3d4E5f6",
  "user_product_id": 1,
  "page": 1,
  "size": 20
}

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectNonone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» user_product_idbodyintegerNoIf omitted, retrieves all records in the current resource space.
» pagebodyintegerNonone
» sizebodyintegerNonone

Response Example

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": "[",
        "status": "[",
        "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

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

Enumerated Values

PropertyValue
trigger_type0
trigger_type1
status1
status2
status3

Order Management

GET Order List

GET /developers/order/list

Team space orders also return creator, identifying the member who placed the order. Administrators and super administrators see full contact details; other roles receive masked contact details.

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNoOrder resource space identifier. Omit this parameter or pass an empty string for personal space.
page_noqueryintegerNonone
page_sizequeryintegerNonone
trade_noquerystringNoOrder ID
start_timequerystring(date-time)NoStart time (inclusive), for example 2024-01-01 00:00:00.
end_timequerystring(date-time)NoEnd time (exclusive).
statusqueryintegerNoOrder status
product_typequeryintegerNoProduct type
invoicequeryintegerNoInvoice status: 0=no filter, 1=invoice issued, -1=no invoice issued (eligible for a later invoice).
pay_fee_statusqueryintegerNoOverpayment/underpayment filter: 1=overpaid, 2=underpaid.

Details

status: Order status

StatusDescription
0Awaiting payment
1Paid
2Canceled due to payment timeout
3Refunded

product_type: Product type

Product typeDescription
3Balance top-up
9Dynamic traffic package
11Global dynamic time-based package V2
12Long-duration IDC traffic package
13Static residential IP traffic package
14Static datacenter IP package
15Long-duration ISP traffic package
16Static traffic package
17Dynamic IP quantity package
18web-scraper
19Static IP renewal
20Static IP replacement quota
21Static traffic package v2
24Additional static traffic package
25Static residential IP package
26Supplementary payment. Some payment channels, such as cryptocurrency, require users to enter the amount manually. If a payment is insufficient, contact support to pay the shortfall using this product.
27Serp
28Video

Enumerated Values

PropertyValue
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

Response Example

200 Response

{
  "code": 0,
  "message": "操作成功",
  "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": {}
      }
    ],
    "pagination": {
      "total": 0,
      "page_no": 0,
      "page_size": 0,
      "total_pages": 0
    }
  }
}

Responses

Status CodeMeaningDescriptionData Model
200OKSuccessInline

Response Schema

POST Create Order

POST /developers/order/create

Package types have different configuration requirements. Provide parameters appropriate to the package being purchased. Invalid parameters may cause order creation to fail.

examples:

Renew Static IPs

{
    "pid": PACKAGE_ID, // Obtain from /developers/product
    "upids": "1,2,3,4,5,6", // Use the corresponding id fields from /developers/ip/get-static-ip
    "pm_id": 1 // Obtain from /developers/payment/list or /developers/payment/groups
  }

Purchase Static Residential IPs

{
  "pid": PACKAGE_ID, // Obtain from /developers/product
  "pm_id": PAYMENT_METHOD_ID, // Obtain from /developers/payment/list or /developers/payment/groups
  "region_list": "JP,15,333|DE,10,444|US,5,555" // Format: region,quantity,ASN|region,quantity,ASN (ASN is optional)
}

Purchase Static Datacenter IPs

{
  "pid": PACKAGE_ID, // Obtain from /developers/product
  "pm_id": PAYMENT_METHOD_ID, // Obtain from /developers/payment/list or /developers/payment/groups
  "region_list": "JP,15,333|DE,10,444|US,5,555" // Format: region,quantity,ASN|region,quantity,ASN (ASN is optional)
}

Purchase Dynamic Residential Traffic

{
  "pid": PACKAGE_ID, // Obtain from /developers/product
  "pm_id": PAYMENT_METHOD_ID // Obtain from /developers/payment/list or /developers/payment/groups
}

Purchase Static Rotating Traffic

{
  "pid": PACKAGE_ID, // Obtain from /developers/product
  "pm_id": PAYMENT_METHOD_ID // Obtain from /developers/payment/list or /developers/payment/groups
}

Purchase Dynamic Unlimited Traffic

{
  "pid": PACKAGE_ID, // Obtain from /developers/product
  "pm_id": PAYMENT_METHOD_ID, // Obtain from /developers/payment/list or /developers/payment/groups
  "product_sku_bandwidth_id": BANDWIDTH_OPTION_ID,
  "product_sku_concurrency_id": CONCURRENCY_OPTION_ID
}

Top Up Balance

{
  "pid": PACKAGE_ID, // Obtain from /developers/product
  "pm_id": PAYMENT_METHOD_ID, // Obtain from /developers/payment/list or /developers/payment/groups
  "recharge_amount": TOP_UP_AMOUNT
}

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» pidbodyintegerYesPackage ID from the id field returned by /developers/product.
» upidsbodystringNoComma-separated list of package IDs to renew, from the id field returned by /developers/user-product/list or /developers/ip/get-static-ip.
» amountbodynumberNoNumber of new packages to purchase
» pm_idbodyintegerYesPayment method ID from the id field returned by /developers/payment/list or /developers/payment/groups.
» region_listbodystringNoFor static IP purchases, specify the region, quantity, and ASN in the format: region,quantity,ASN
» coupon_snbodystringNoCoupon ID
» use_invitation_registration_discountbodybooleanNoWhether to apply the referral registration discount
» renew_durationbodyintegerNoRenewal duration; optional for static IPs.
» product_sku_bandwidth_idbodyintegerNoPackage type 11: bandwidth package ID.
» product_sku_concurrency_idbodyintegerNoPackage type 11: concurrency package ID.
» product_sku_duration_idbodyintegerNoRequired for package type=11: duration option ID.
» etdbodyintegerNoDuration multiplier, obtained from the package's extension_of_time_days. A value of 2 doubles the number of days and increases the price.
» recharge_amountbodyintegerNoPackage type 3: top-up amount.

Response Example

200 Response

{
  "code": 0,
  "message": "操作成功",
  "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": "user@example.com",
      "role_type": 0,
      "vat_id": "string",
      "address_country": "string",
      "address_city": "string",
      "address_line1": "string",
      "address_line2": "string",
      "address_postal_code": "string"
    }
  }
}

Responses

Status CodeMeaningDescriptionData Model
200OKCreated successfullyInline

Response Schema

POST Cancel Order

POST /developers/order/close

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» trade_nobodystringYesnone

Responses

Status CodeMeaningDescriptionData Model
200OKOperation successfulNone

GET Order Details

GET /developers/order/info

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
trade_noquerystringYesnone

Response Example

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": null,
      "org_name": null,
      "first_name": null,
      "last_name": null,
      "phone": null,
      "email": null,
      "role_type": null,
      "vat_id": null,
      "address_country": null,
      "address_city": null,
      "address_line1": null,
      "address_line2": null,
      "address_postal_code": null
    }
  },
  "request_id": "string"
}

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. Check the response body's code field for the operation result.Inline

Response Schema

GET Order Details V2

GET /developers/order/info-v2

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
order_idquerystringYesOrder ID encrypted by the client

Response Example

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": null,
      "org_name": null,
      "first_name": null,
      "last_name": null,
      "phone": null,
      "email": null,
      "role_type": null,
      "vat_id": null,
      "address_country": null,
      "address_city": null,
      "address_line1": null,
      "address_line2": null,
      "address_postal_code": null
    }
  },
  "request_id": "string"
}

Responses

Status CodeMeaningDescriptionData Model
200OKHTTP request succeeded. If the order has already been paid or canceled, the response may contain order data together with a business error code.Inline

Response Schema

POST Request an Invoice for a Past Order

POST /developers/order/reissue-invoice

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» trade_no_listbody[string]Yesnone

Responses

Status CodeMeaningDescriptionData Model
200OKOperation successfulNone

POST Validate Order

POST /developers/order/check

Call before creating an order to preview pricing, discounts, IP renewal details, and other information. No order is created. Parameters are identical to /developers/order/create.

Request Body

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

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» pidbodyintegerYesPackage ID
» upidsbodystringNoIP renewal: comma-separated list of user package IDs.
» amountbodyintegerNoPurchase quantity
» pm_idbodyintegerYesPayment method ID
» region_listbodystringNoStatic IP purchase region and quantity, in the format: regionID,quantity
» coupon_snbodystringNoCoupon ID
» renew_durationbodystringNoIP renewal duration: 1m=1 month, 2m=2 months, em=end of next month.
» product_sku_bandwidth_idbodyintegerNoRequired for package type=11: bandwidth option ID.
» product_sku_concurrency_idbodyintegerNoRequired for package type=11: concurrency option ID.
» product_sku_duration_idbodyintegerNoRequired for package type=11: duration option ID.
» etdbodyintegerNoDuration multiplier, obtained from the package's extension_of_time_days.
» recharge_amountbodynumberNoRequired for package type=3: top-up amount.

Enumerated Values

PropertyValue
» renew_duration1m
» renew_duration2m
» renew_durationem

Response Example

200 Response

{
  "code": 0,
  "message": "操作成功",
  "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": {}
      }
    ]
  }
}

Responses

Status CodeMeaningDescriptionData Model
200OKValidation successfulInline

Response Schema

Payment Management

POST Initiate Order Payment

POST /developers/pay

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
trade_noquerystringYesnone
pm_idqueryintegerNonone

Responses

Status CodeMeaningDescriptionData Model
200OKOperation successfulNone

POST Initiate Payment for an Unpaid Order Created in the Admin Console

POST /developers/pay/index-choose

Request Body

{
  "team_id": "A1b2C3d4E5f6",
  "trade_no": "string",
  "pay_method": 0,
  "pm_id": 0,
  "trade_type": "string"
}

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesnone
» team_idbodyanyNoPublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
»» anonymousbodystringNonone
»» anonymousbodyTeamPublicIdNoPublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
» trade_nobodystringYesnone
» pay_methodbodyintegerNonone
» pm_idbodyintegerNonone
» trade_typebodystringNonone

Responses

Status CodeMeaningDescriptionData Model
200OKOperation successfulNone

POST Validate Payment and Preview Fees

POST /developers/pay/pay-check

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
trade_noquerystringYesnone
pm_idqueryintegerNonone

Response Example

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": null,
      "type": null,
      "title": null,
      "group": null,
      "handling_rate": null,
      "handling_fee": null,
      "handling_fee_currency": null,
      "handling_fee_converted": null
    },
    "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

Status CodeMeaningDescriptionData Model
200OKRequest successfulInline

Response Schema

GET Render Web Payment Page

GET /developers/pay/web-direct-pay

Request Parameters

NameLocationTypeRequiredDescription
team_idqueryResourceSpaceIdNonone
trade_noquerystringYesnone
pm_idqueryintegerNonone

Response Example

200 Response

"string"

Responses

Status CodeMeaningDescriptionData Model
200OKHTML payment pagestring

GET Payment Method List

GET /developers/payment/list

Request Parameters

NameLocationTypeRequiredDescription
trade_noquerystringNoOrder number. Provide it when an order requires specific payment methods.
currencyquerystringNoCurrency

Response Example

200 Response

{
  "code": 0,
  "message": "操作成功",
  "data": {
    "list": [
      {
        "id": 0,
        "title": "string",
        "logo": "string",
        "group": "string",
        "handling_rate": 0,
        "handling_fee": 0,
        "disabled": false,
        "min": 0,
        "max": 0
      }
    ]
  }
}

Responses

Status CodeMeaningDescriptionData Model
200OKRetrieved successfullyInline

Response Schema

GET Payment Method List

GET /developers/payment/groups

Request Parameters

NameLocationTypeRequiredDescription
trade_noquerystringNoOrder number. Provide it when an order requires specific payment methods.

Response Example

200 Response

{
  "code": 0,
  "message": "操作成功",
  "data": {
    "list": [
      {
        "name": "string",
        "logos": [
          null
        ],
        "items": [
          null
        ]
      }
    ]
  }
}

Responses

Status CodeMeaningDescriptionData Model
200OKRetrieved successfullyInline

Response Schema

Marketing

GET Top-up Bonus Rate

GET /developers/activity/balance-recharge-gift-ratio

Top-up bonus rate

Response Example

200 Response

{
  "code": 0,
  "message": "操作成功",
  "data": {
    "list": [
      null
    ]
  }
}

Responses

Status CodeMeaningDescriptionData Model
200OKOKInline

Response Schema

Products

GET Product List

GET /developers/product

Retrieves packages available for purchase on the current site. Supports filters such as package type and validity period.

Request Parameters

NameLocationTypeRequiredDescription
typequeryintegerNoPackage type. See the Product.type enumeration. If omitted, returns all types.
parent_product_typequeryintegerNoParent package type. Applies only when type=19 (IP renewal), to filter by product line: 14=datacenter, 25=residential.
time_daysqueryanyNoFilter by validity period in days. Accepts a single value or an array, such as 30 or [30,90,365].
show_typequeryanyNoFilter by display type. Accepts a single value or an array.

Details

type: Package type. See the Product.type enumeration. If omitted, returns all types.

Enumerated Values

PropertyValue
parent_product_type14
parent_product_type25

Response Example

200 Response

{
  "code": 0,
  "message": "操作成功",
  "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": [
          null
        ]
      },
      "sku": {
        "bandwidth_list": [
          null
        ],
        "duration_list": [
          null
        ],
        "concurrency_list": [
          null
        ]
      }
    }
  ]
}

Responses

Status CodeMeaningDescriptionData Model
200OKOKInline

Response Schema

Data Models

ApiKeyManageRequest

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

Properties

NameTypeRequiredConstraintsDisplay NameDescription
team_idResourceSpaceIdfalsenonePublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
idintegertruenoneAPI Key ID

productTypes

9

Package type: 9=dynamic residential traffic package, 11=dynamic residential IP, 14=static datacenter IP, 25=static residential IP.

Properties

NameTypeRequiredConstraintsDisplay NameDescription
anonymousintegerfalsenonePackage type: 9=dynamic residential traffic package, 11=dynamic residential IP, 14=static datacenter IP, 25=static residential IP.

Enumerated Values

PropertyValue
anonymous9
anonymous11
anonymous14
anonymous25

responseCode

200

Status code: 200=success, 3=invalid app_key.

Properties

NameTypeRequiredConstraintsDisplay NameDescription
anonymousintegerfalsenoneStatus code: 200=success, 3=invalid app_key.

SuccessResponse

{
  "code": 0,
  "message": "操作成功",
  "data": {}
}

Properties

NameTypeRequiredConstraintsDisplay NameDescription
codeintegerfalsenonenone
messagestringfalsenonenone
dataobjectfalsenonenone

WebV1SuccessResponse

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

Properties

NameTypeRequiredConstraintsDisplay NameDescription
codeintegertruenonenone
msgstringtruenonenone
dataobject¦nulltruenoneResponse data. The specific type is defined by the endpoint.
request_idstringtruenoneRequest trace ID

WebV1ErrorResponse

{
  "code": 2,
  "msg": "parameter error",
  "data": {},
  "request_id": "string"
}

Properties

NameTypeRequiredConstraintsDisplay NameDescription
codeintegertruenoneBusiness error code

not

NameTypeRequiredConstraintsDisplay NameDescription
» anonymousanyfalsenonenone

continued

NameTypeRequiredConstraintsDisplay NameDescription
msgstringtruenoneError description
dataobject¦nulltruenoneAdditional error data; null when no additional data is available.
request_idstringtruenoneRequest trace ID

TeamPublicId

"A1b2C3d4E5f6"

Public team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.

Properties

NameTypeRequiredConstraintsDisplay NameDescription
anonymousstringfalsenonePublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.

ResourceSpaceId

"A1b2C3d4E5f6"

Public resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.

Properties

oneOf

NameTypeRequiredConstraintsDisplay NameDescription
anonymousstringfalsenonenone

xor

NameTypeRequiredConstraintsDisplay NameDescription
anonymousTeamPublicIdfalsenonePublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.

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

NameTypeRequiredConstraintsDisplay NameDescription
idTeamPublicIdtruenonePublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
namestringtruenoneTeam name
super_admin_user_idintegertruenoneSuper administrator's user ID
statusintegertruenoneTeam status: 0=disabled, 1=active, 2=dissolving, 3=dissolved.
current_roleinteger¦nulltruenoneCurrent user's role in the team; null if it cannot be determined.
dissolving_atstring¦nulltruenoneTime dissolution started
dissolved_atstring¦nulltruenoneTime dissolution completed
created_atstringtruenoneCreation time
updated_atstringtruenoneLast update 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

NameTypeRequiredConstraintsDisplay NameDescription
idintegertruenoneUser package ID
user_idintegertruenoneResource owner's user ID
team_idResourceSpaceIdtruenonePublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
team_user_idintegertruenoneUser ID of the member who created the resource
product_idintegertruenoneProduct ID
product_typeintegertruenoneProduct type
parent_product_typeintegertruenoneParent product type
statusintegertruenonePackage status
total_amountinteger(int64)truenoneTotal amount
remaininteger(int64)truenoneRemaining amount
bandwidthintegerfalsenoneBandwidth (Mbps). Returned only for product_type=19 or 11.
concurrencyintegerfalsenoneConcurrency. Returned only for product_type=11.
expired_atstring¦nulltruenoneExpiration time
created_atstringtruenoneCreation time
ipstringfalsenoneStatic IP address. Returned only for product_type=19.
country_codestringfalsenoneStatic IP country code. Returned only for product_type=19.
country_namestringfalsenoneStatic IP country name. Returned only for product_type=19.
asnstringfalsenoneStatic IP ASN. Returned only for product_type=19.
portintegerfalsenoneStatic IP proxy port. Returned only for 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 statistics match /web_v1/user/info. Canceled, refunded, or soft-deleted records are excluded from the summary. Except for team_id and product_types, only fields for product types supported by the current site are returned.

Properties

NameTypeRequiredConstraintsDisplay NameDescription
team_idTeamPublicIdtruenonePublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
product_types[integer]truenonePackage types in the team resource space that are supported by the current site and have not been canceled or soft-deleted.
product_residence_remain_countinteger(int64)falsenoneRemaining traffic for type 9
product_residence_total_countinteger(int64)falsenoneTotal traffic for type 9
pdrue2_timestampinteger(int64)falsenoneLatest expiration timestamp for type 11; 0 if the team has no packages of this type.
remainintegerfalsenoneRemaining quantity for type 17
total_amountintegerfalsenoneTotal quantity for type 17
scraping_remaininteger(int64)falsenoneRemaining uses for type 18
scraping_total_amountinteger(int64)falsenoneTotal uses for type 18
scraping_timestampstringfalsenoneLatest expiration time for type 18; "-" if there are no packages of this type.
scraping_timestamp2integer(int64)falsenoneLatest expiration timestamp for type 18
common_scraping_remaininteger(int64)falsenoneRemaining uses for type 29
common_scraping_total_amountinteger(int64)falsenoneTotal uses for type 29
common_scraping_timestampstringfalsenoneLatest expiration time for type 29; "-" if there are no packages of this type.
common_scraping_timestamp2integer(int64)falsenoneLatest expiration timestamp for type 29
pdidcr_countintegerfalsenoneNumber of active packages for type 12
pdidcr_totalintegerfalsenoneTotal number of packages for type 12
pdidcr_traffic_remaininteger(int64)falsenoneRemaining traffic for type 12
pdidcr_traffic_totalinteger(int64)falsenoneTotal traffic for type 12
p_sitai_ip_countintegerfalsenoneNumber of active IPs for type 13
p_sitai_ipintegerfalsenoneNumber of active packages for type 13
p_sitai_ip_totalintegerfalsenoneTotal number of packages for type 13
p_sitai_remaininteger(int64)falsenoneRemaining traffic for types 13/24
p_sitai_totalinteger(int64)falsenoneTotal traffic for types 13/24
pdidc_countintegerfalsenoneNumber of active packages for type 14
pdidc_totalintegerfalsenoneTotal number of packages for type 14
pdidc_ip_countintegerfalsenoneNumber of active IPs for type 14
pdidc_ip_all_countintegerfalsenoneTotal number of IPs for type 14
pdispr_countintegerfalsenoneNumber of active packages for type 15
pdispr_totalintegerfalsenoneTotal number of packages for type 15
pdispr_traffic_remaininteger(int64)falsenoneRemaining traffic for type 15
pdispr_traffic_totalinteger(int64)falsenoneTotal traffic for type 15
product_datacenter_isp_traffic_ip_countintegerfalsenoneNumber of active IPs for type 16
product_datacenter_isp_traffc_ipintegerfalsenoneNumber of active packages for type 16. Legacy field spelling retained for compatibility.
product_datacenter_isp_traffc_ip_totalintegerfalsenoneTotal number of packages for type 16. Legacy field spelling retained for compatibility.
product_datacenter_isp_traffic_ipintegerfalsenoneNumber of active packages for type 16
product_datacenter_isp_traffic_ip_totalintegerfalsenoneTotal number of packages for type 16
product_datacenter_isp_traffc_remaininteger(int64)falsenoneRemaining traffic for types 16/24. Legacy field spelling retained for compatibility.
product_datacenter_isp_traffc_totalinteger(int64)falsenoneTotal traffic for types 16/24. Legacy field spelling retained for compatibility.
product_datacenter_isp_traffic_remaininteger(int64)falsenoneRemaining traffic for types 16/24
product_datacenter_isp_traffic_totalinteger(int64)falsenoneTotal traffic for types 16/24
product_datacenter_isp_ipintegerfalsenoneNumber of active packages for type 21 or 25
product_datacenter_isp_ip_totalintegerfalsenoneTotal number of packages for type 21 or 25
product_datacenter_isp_ip_countintegerfalsenoneNumber of active IPs for type 21 or 25
product_datacenter_isp_ip_all_countintegerfalsenoneTotal number of IPs for type 21 or 25
product_datacenter_isp_ip_traffic_remaininteger(int64)falsenoneRemaining type 24 traffic associated with type 21
product_datacenter_isp_ip_traffic_totalinteger(int64)falsenoneTotal type 24 traffic associated with type 21
product_agent_residence_remain_countinteger(int64)falsenoneRemaining traffic for type 22
product_agent_residence_total_countinteger(int64)falsenoneTotal traffic for type 22
product_serp_remaininteger(int64)falsenoneRemaining uses for type 27
product_serp_totalinteger(int64)falsenoneTotal uses for type 27
product_serp_timestampstringfalsenoneLatest expiration time for type 27; "-" if there are no packages of this type.
product_serp_timestamp2integer(int64)falsenoneLatest expiration timestamp for type 27
product_video_remaininteger(int64)falsenoneRemaining traffic for type 28
product_video_totalinteger(int64)falsenoneTotal traffic for type 28
product_video_timestampstringfalsenoneLatest expiration time for type 28; "-" if there are no packages of this type.
product_video_timestamp2integer(int64)falsenoneLatest expiration timestamp for type 28

TeamWallet

{
  "team_id": "A1b2C3d4E5f6",
  "balance": 0.1,
  "total_recharge_fee": 0.1,
  "updated_at": "string"
}

Team wallet, separate from the super administrator's personal balance. Amounts use the current site's default currency, with up to 4 decimal places.

Properties

NameTypeRequiredConstraintsDisplay NameDescription
team_idTeamPublicIdtruenonePublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
balancenumber(double)truenoneCurrent available team balance
total_recharge_feenumber(double)truenoneUnspent principal from team top-ups, excluding transfers from personal balances.
updated_atstringtruenoneTime of the most recent wallet change

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

NameTypeRequiredConstraintsDisplay NameDescription
idintegertruenonenone
team_idTeamPublicIdtruenonePublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
operator_user_idintegertruenoneOperator's user ID; 0 for system refunds.
creatorTeamCreatorfalsenonenone
directionintegertruenone0=debit, 1=credit
transaction_typeintegertruenone1=top-up credited, 2=transfer from personal balance, 3=balance payment, 4=refund or top-up refund deduction, 5=transfer back to personal balance.
amountnumber(double)truenoneTransaction amount. The direction field indicates whether funds are added or deducted.
after_balancenumber(double)truenoneTeam wallet balance after the transaction
link_idintegertruenoneRelated order ID; the operator's user ID for transfers from a personal balance.
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

NameTypeRequiredConstraintsDisplay NameDescription
user_idintegertruenoneOperator's user ID; 0 for system operations.
display_namestringtruenoneDisplay name, selected in this order: nickname, username, email address, phone number.
nicknamestringtruenonenone
usernamestringtruenonenone
emailstringtruenoneMasked for users without administrator privileges.
phonestringtruenoneMasked for users without administrator privileges.

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

NameTypeRequiredConstraintsDisplay NameDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredConstraintsDisplay NameDescription
anonymousobjectfalsenonenone
» dataTeamfalsenonenone

TeamListResponse

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

Properties

allOf

NameTypeRequiredConstraintsDisplay NameDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredConstraintsDisplay NameDescription
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": "[",
        "status": "[",
        "joined_at": "string",
        "nickname": "string",
        "username": "string"
      }
    ],
    "total": 0,
    "page": 1,
    "page_size": 1
  },
  "request_id": "string"
}

Properties

allOf

NameTypeRequiredConstraintsDisplay NameDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredConstraintsDisplay NameDescription
anonymousobjectfalsenonenone
» dataobjectfalsenonenone
»» list[TeamMember]truenonenone
»» totalintegertruenonenone
»» pageintegertruenonenone
»» page_sizeintegertruenonenone

TeamPersonListResponse

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "record_type": "[",
        "record_id": 1,
        "team_id": "A1b2C3d4E5f6",
        "user_id": 0,
        "inviter_user_id": 0,
        "invite_type": "[",
        "invite_country_code": 999,
        "invite_target": "string",
        "delivery_type": "[",
        "role": "[",
        "status": "[",
        "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

NameTypeRequiredConstraintsDisplay NameDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredConstraintsDisplay NameDescription
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

NameTypeRequiredConstraintsDisplay NameDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredConstraintsDisplay NameDescription
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

NameTypeRequiredConstraintsDisplay NameDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredConstraintsDisplay NameDescription
anonymousobjectfalsenonenone
» dataTeamProductInfofalsenonePackage statistics match /web_v1/user/info. Canceled, refunded, or soft-deleted records are excluded from the summary. Except for team_id and product_types, only fields for 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

NameTypeRequiredConstraintsDisplay NameDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredConstraintsDisplay NameDescription
anonymousobjectfalsenonenone
» dataTeamWalletfalsenoneTeam wallet, separate from the super administrator's personal balance. Amounts use 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": {},
        "direction": "[",
        "transaction_type": "[",
        "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

NameTypeRequiredConstraintsDisplay NameDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredConstraintsDisplay NameDescription
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

NameTypeRequiredConstraintsDisplay NameDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredConstraintsDisplay NameDescription
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

NameTypeRequiredConstraintsDisplay NameDescription
idintegertruenoneAPI Key ID
api_keystringtruenoneThe creation response contains the full key; keys are masked in team lists.
team_user_idintegertruenoneID of the member who holds the team key; 0 for a personal key.
remarkstringtruenoneRemarks
statusintegertruenone0=disabled, 1=enabled
created_atstringtruenoneCreation time
updated_atstring¦nullfalsenoneLast update time

Enumerated Values

PropertyValue
status0
status1

InvoiceInfo

{
  "invoice_code": "string",
  "name": "string",
  "org_name": "string",
  "first_name": "string",
  "last_name": "string",
  "phone": "string",
  "email": "user@example.com",
  "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

NameTypeRequiredConstraintsDisplay NameDescription
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

NameTypeRequiredConstraintsDisplay NameDescription
team_idResourceSpaceIdfalsenonePublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
user_product_idsanytruenoneArray of user package IDs. A comma-separated string is also accepted.

oneOf

NameTypeRequiredConstraintsDisplay NameDescription
» anonymous[integer]falsenonenone

xor

NameTypeRequiredConstraintsDisplay NameDescription
» anonymousstringfalsenonenone

continued

NameTypeRequiredConstraintsDisplay NameDescription
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

NameTypeRequiredConstraintsDisplay NameDescription
idintegertruenoneInvitation ID
team_idTeamPublicIdtruenonePublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
inviter_user_idintegertruenoneInviter's user ID
invitee_user_idintegertruenoneInvitee's user ID; 0 if no registered user has been matched.
invite_typeintegertruenoneInvitation type: 1=registered user, 2=email, 3=phone number.
invite_country_codeintegertruenonePhone country/region dialing code; 0 for invitations not sent to a phone number.
invite_targetstringtruenoneNormalized invitation target; user:{user_id} for a registered user.
delivery_typeintegertruenoneOriginal delivery channel: 1=registered user, 2=email, 3=phone number. The original channel is retained even if an email address or phone number matches a registered user.
roleintegertruenoneTarget role: 2=administrator, 3=regular member.
statusintegertruenoneInvitation status: 0=pending, 1=accepted, 2=rejected, 3=canceled, 4=expired.
accepted_by_user_idintegertruenoneUser ID of the person who accepted the invitation; 0 if it has not been accepted.
expired_atstringtruenoneExpiration time, in YYYY-MM-DD HH:mm:ss format.
accepted_atstring¦nulltruenoneAcceptance time
rejected_atstring¦nulltruenoneRejection time
cancelled_atstring¦nulltruenoneCancellation time
created_atstringtruenoneCreation time, in YYYY-MM-DD HH:mm:ss format.

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

NameTypeRequiredConstraintsDisplay NameDescription
team_member_idintegertruenoneMembership ID
team_idTeamPublicIdtruenonePublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
user_idintegertruenoneMember's user ID
roleintegertruenoneRole: 1=super administrator, 2=administrator, 3=regular member, 4=finance member.
statusintegertruenoneMember status: 0=disabled, 1=active, 2=left, 3=removed.
joined_atstring¦nulltruenoneTime joined, in YYYY-MM-DD HH:mm:ss format.
nicknamestringtruenoneMember's nickname
usernamestringtruenoneMember's 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

NameTypeRequiredConstraintsDisplay NameDescription
record_typestringtruenoneRecord type: member for an active member, invitation for a pending invitation.
record_idintegertruenoneMembership ID or invitation ID
team_idTeamPublicIdtruenonePublic team identifier. The first character must be an ASCII letter, and subsequent characters must be ASCII letters or digits. Internal numeric database IDs are not exposed.
user_idintegertruenoneUser ID; 0 for an unregistered invitee.
inviter_user_idintegertruenoneInviter's user ID; 0 for member records.
invite_typeintegertruenoneInvitation type; 0 for member records.
invite_country_codeintegertruenonePhone country/region dialing code; 0 for member records.
invite_targetstringtruenoneInvitation target; an empty string for member records.
delivery_typeintegertruenoneOriginal delivery channel; 0 for member records.
roleintegertruenoneRole: 1=super administrator, 2=administrator, 3=regular member, 4=finance member.
statusintegertruenoneAlways 1 for member records and 0 for invitation records.
display_namestringtruenoneUnified display name, selected in this order: nickname, username, email address, phone number. Contact details are masked when viewed by regular members.
nicknamestringtruenoneNickname of the member or registered invitee
usernamestringtruenoneUsername of the member or registered invitee
emailstringtruenoneEmail address. Super administrators and administrators receive the full value; regular members receive a value masked with asterisks.
phonestringtruenonePhone number. Super administrators and administrators receive the full value; regular members receive a value masked with asterisks.
joined_atstring¦nulltruenoneTime the member joined; null for invitation records.
expired_atstring¦nulltruenoneInvitation expiration time; null for member records.
created_atstringtruenoneRecord creation time, in YYYY-MM-DD HH:mm:ss format.

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

NameTypeRequiredConstraintsDisplay NameDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredConstraintsDisplay NameDescription
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

NameTypeRequiredConstraintsDisplay NameDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredConstraintsDisplay NameDescription
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

NameTypeRequiredConstraintsDisplay NameDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredConstraintsDisplay NameDescription
anonymousobjectfalsenonenone
» dataobjectfalsenonenone
»» invitationTeamInvitationtruenonenone
»» invitation_tokenstringtruenonePlaintext invitation token, retained only for compatibility with existing clients. New clients should use invitation_url directly.
»» invitation_urlstring(uri)truenoneFrontend URL containing the invitation token
»» notification_channelsTeamInvitationNotificationChannelstruenonenone

TeamInvitationNotificationChannels

{
  "email": "queued",
  "sms": "queued",
  "site_inner_message": "created"
}

Properties

NameTypeRequiredConstraintsDisplay NameDescription
emailstringfalsenoneEmail delivery result
smsstringfalsenoneSMS delivery result
site_inner_messagestringfalsenoneIn-site message delivery result

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

NameTypeRequiredConstraintsDisplay NameDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredConstraintsDisplay NameDescription
anonymousobjectfalsenonenone
» dataobjectfalsenonenone
»» team_namestringtruenoneTeam name
»» roleintegertruenoneTarget role
»» statusintegertruenoneInvitation status
»» expired_atstringtruenoneExpiration time, in YYYY-MM-DD HH:mm:ss format.

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

NameTypeRequiredConstraintsDisplay NameDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredConstraintsDisplay NameDescription
anonymousobjectfalsenonenone
» dataobjectfalsenonenone
»» invitationTeamInvitationtruenonenone
»» invitation_urlstring(uri)truenoneNew invitation URL. The old URL is no longer valid.
»» notification_channelsTeamInvitationNotificationChannelstruenonenone

TeamInvitationListResponse

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "list": [
      {
        "id": 1,
        "team_id": "A1b2C3d4E5f6",
        "inviter_user_id": 1,
        "invitee_user_id": 0,
        "invite_type": "[",
        "invite_country_code": 999,
        "invite_target": "string",
        "delivery_type": "[",
        "role": "[",
        "status": "[",
        "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

NameTypeRequiredConstraintsDisplay NameDescription
anonymousWebV1SuccessResponsefalsenonenone

and

NameTypeRequiredConstraintsDisplay NameDescription
anonymousobjectfalsenonenone
» dataobjectfalsenonenone
»» list[TeamInvitation]truenonenone
»» totalintegertruenoneTotal number of invitations
»» pageintegertruenoneCurrent page number
»» page_sizeintegertruenoneActual number of items per page

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": "user@example.com",
    "role_type": 0,
    "vat_id": "string",
    "address_country": "string",
    "address_city": "string",
    "address_line1": "string",
    "address_line2": "string",
    "address_postal_code": "string"
  }
}

Properties

NameTypeRequiredConstraintsDisplay NameDescription
idintegerfalsenoneOrder ID
trade_nostringfalsenoneInternal order number
out_trade_nostringfalsenoneExternal order number
product_idintegerfalsenonePackage ID
product_typeintegerfalsenonePackage type. See the product type enumeration.
amountintegerfalsenonePurchase quantity
unit_pricenumber(float)falsenoneUnit price
total_feenumber(float)falsenoneOrder total before discounts, including processing fees.
goods_feenumber(float)falsenoneProduct price after discounts, excluding processing fees.
pay_feenumber(float)falsenoneAmount paid after discounts, including processing fees.
discount_feenumber(float)falsenoneDiscount amount
handling_feenumber(float)falsenoneProcessing fee
refund_feenumber(float)falsenoneRefund amount
pm_idintegerfalsenonePayment method ID (from /developers/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_statusintegerfalsenonePayment amount status: 0=exact payment, 1=overpaid, 2=underpaid.
invoiceobjectfalsenoneInvoice information (available only for orders paid online).
» namestringfalsenoneFull name
» org_namestringfalsenoneCompany name
» first_namestringfalsenonenone
» last_namestringfalsenonenone
» phonestringfalsenonenone
» emailstring(email)falsenonenone
» role_typeintegerfalsenone1=individual, 2=company
» vat_idstringfalsenoneTax ID
» 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 validation result

Properties

NameTypeRequiredConstraintsDisplay NameDescription
product_idintegerfalsenonePackage ID
amountintegerfalsenoneCount
discount_feenumber(float)falsenoneDiscount amount
total_feenumber(float)falsenoneOrder total
pay_feenumber(float)falsenoneAmount paid
product_typeintegerfalsenonePackage type
titlestringfalsenonePackage title
detailstringfalsenonePackage description
ip_result[object]falsenoneBatch IP renewal results (returned only for IP renewals).
» ipstringfalsenonenone
» pricenumber(float)falsenonenone
» country_codestringfalsenonenone
» current_timestring(date-time)falsenonenone
» renewal_timestring(date-time)falsenonenone
» countryobjectfalsenonenone
»» name_zh_cnstringfalsenonenone
»» flagstringfalsenoneCircular flag image URL
»» square_flagstringfalsenoneSquare flag image 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

NameTypeRequiredConstraintsDisplay NameDescription
idintegerfalsenonePackage ID
titlestringfalsenoneMain package title
typeintegerfalsenonePackage type
show_typeintegerfalsenoneDisplay type: 1=standard, 2=recommended for large purchases, 3=not available for direct purchase (customization required), 4=trial.
statusintegerfalsenoneAvailability: 1=listed, 0=unlisted.
pricenumber(float)falsenonePrice in CNY
usd_pricenumber(float)falsenonePrice in USD
price_hkdnumber(float)falsenonePrice in HKD
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, based on preferred_currency.
local_original_pricenumber(float)falsenoneLocalized original price, based on preferred_currency.
preferred_currencystringfalsenoneRecommended display currency, such as usd / cny / hkd.
support_currenciesstringfalsenoneComma-separated list of supported currencies, such as usd,cny.
flow_valuenumber(float)falsenoneDefault traffic allowance for traffic packages (GB).
flow_givenumber(float)falsenoneBonus traffic (GB).
balance_givenumber(float)falsenoneBonus amount for balance top-ups
balance_valuenumber(float)falsenoneTop-up amount
time_validitynumber(float)falsenoneDefault validity duration for quantity-based packages
time_pricenumber(float)falsenonePrice per IP for quantity-based packages
time_daysintegerfalsenoneValidity period in days, such as 30/90/180/365.
tip1stringfalsenoneLabel description 1
tip2stringfalsenoneLabel description 2
introduce[string]falsenoneList of text descriptions
region_list_idintegerfalsenoneRegion ID
renew_product_liststringfalsenoneComma-separated list of renewable package IDs.
parent_product_typeintegerfalsenoneParent package type (applies when type=19): 14 or 25.
total_countintegerfalsenoneTotal inventory; 0 means unlimited.
remain_countintegerfalsenoneRemaining inventory
extension_of_time_days[integer]falsenoneList of duration multipliers. An empty list or a list containing only 1 indicates that duration multipliers are not supported.
time_days_price_ratenumber(float)falsenoneDuration price factor: price x (1 + (multiplier - 1) x rate).
descobjectfalsenonePackage description details
» 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
skuobjectfalsenonePackage options (returned when type=11).
» bandwidth_list[object]falsenoneBandwidth option list
»» idintegerfalsenonenone
»» valueintegerfalsenoneBandwidth (Mbps)
»» pricenumber(float)falsenonenone
»» price_usdnumber(float)falsenonenone
»» price_hkdnumber(float)falsenonenone
» duration_list[object]falsenoneDuration option list
»» idintegerfalsenonenone
»» valueintegerfalsenoneDuration (days)
»» pricenumber(float)falsenonenone
»» price_usdnumber(float)falsenonenone
»» price_hkdnumber(float)falsenonenone
» concurrency_list[object]falsenoneConcurrency option list
»» idintegerfalsenonenone
»» valueintegerfalsenoneConcurrency
»» pricenumber(float)falsenonenone
»» price_usdnumber(float)falsenonenone
»» price_hkdnumber(float)falsenonenone

Pagination

{
  "total": 0,
  "page_no": 0,
  "page_size": 0,
  "total_pages": 0
}

Properties

NameTypeRequiredConstraintsDisplay NameDescription
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"
}

Snapshot of the automatic renewal configuration for a single package.

Properties

NameTypeRequiredConstraintsDisplay NameDescription
idintegerfalsenonenone
user_idintegerfalsenonenone
team_idResourceSpaceIdfalsenonePublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
team_user_idintegerfalsenonenone
product_typeintegerfalsenonenone
left_trafficintegerfalsenoneDeprecated field
left_daysintegerfalsenoneDeprecated field
user_product_idintegerfalsenonenone
product_idintegerfalsenoneDeprecated field
statusintegerfalsenone0=disabled, 1=enabled
currencystringfalsenonenone
agreed_pricenumberfalsenoneAgreed total price
agreed_bandwidth_pricenumberfalsenoneAgreed bandwidth unit price for package type 11
agreed_concurrency_pricenumberfalsenoneAgreed concurrency unit price for package type 11
bandwidth_idintegerfalsenonenone
concurrency_idintegerfalsenonenone
durationintegerfalsenoneRenewal duration, in days.
renew_product_idintegerfalsenonenone
days_before_expireintegerfalsenonenone
traffic_thresholdintegerfalsenoneTraffic threshold. The database value is in 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

NameTypeRequiredConstraintsDisplay NameDescription
idintegertruenonenone
user_idintegertruenonenone
team_idResourceSpaceIdtruenonePublic resource space identifier. For personal space, omit team_id or pass an empty string in requests; responses use an empty string. The number 0 and the string "0" are both invalid. Team space uses a 6-12 character public team identifier.
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

NameTypeRequiredConstraintsDisplay NameDescription
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

NameTypeRequiredConstraintsDisplay NameDescription
idintegerfalsenoneHistorical bill item 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_mbspnumberfalsenoneConverted bandwidth value
concurrencyintegerfalsenonenone
ipstringfalsenoneReturned for static IP packages.
country_codestringfalsenoneReturned for static IP packages.
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

NameTypeRequiredConstraintsDisplay NameDescription
idintegertruenonenone
invoice_nostringtruenonenone
invoice_amountnumbertruenonenone
invoice_download_urlstringtruenonenone
statusintegertruenonenone
remarkstringtruenonenone
order_ids[integer]truenonenone
created_atintegertruenoneUnix timestamp
invoice_infoanytruenonenone

oneOf

NameTypeRequiredConstraintsDisplay NameDescription
» anonymousobjectfalsenonenone
»» invoice_codestringtruenonenone
»» namestringtruenonenone
»» org_namestringtruenonenone
»» role_typeintegertruenonenone
»» invoice_typeintegertruenonenone

xor

NameTypeRequiredConstraintsDisplay NameDescription
» 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

NameTypeRequiredConstraintsDisplay NameDescription
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

NameTypeRequiredConstraintsDisplay NameDescription
» anonymousobjectfalsenonenone
»» idintegertruenonenone
»» typeintegertruenonenone
»» titlestringtruenonenone
»» groupstringtruenonenone
»» handling_ratenumbertruenonenone
»» handling_feenumbertruenonenone
»» handling_fee_currencystringtruenonenone
»» handling_fee_convertednumbertruenonenone

xor

NameTypeRequiredConstraintsDisplay NameDescription
» anonymousnullfalsenonenone

continued

NameTypeRequiredConstraintsDisplay NameDescription
originobjecttruenonenone
» pm_idintegertruenonenone
» pay_methodintegertruenonenone
» goods_feenumbertruenonenone
» discount_feenumbertruenonenone
» handling_feenumbertruenonenone
» pay_feenumbertruenonenone
» total_feenumbertruenonenone
Last Updated:: 9/29/26, 6:02 PM