1. Static Buy
Ip2up Proxy API
  • Accounts
    • Get Account Balance
      GET
    • Get Orders
      POST
  • Dynamic Proxies
    • Get Dynamic Package Details
      POST
    • Get Dynamic Proxy Endpoints
      GET
    • Generate Dynamic Auth Proxy
      POST
    • Generate Dynamic API Proxy
      GET
  • Static Buy
    • Get Static Commodities
      POST
    • Get Static Duration
      POST
    • Buy Static Proxy
      POST
    • Renew Static Proxy
      POST
  • Static Proxies
    • Get Static Proxy List
      POST
  • Unlimited Proxies
    • Get Unlimited Package Details
      POST
    • Get Unlimited Proxy Endpoints
      GET
    • Generate Unlimited Proxy Connection
      POST
  • API Whitelist
    • Get API Whitelist
      POST
    • Add API Whitelist
      POST
    • Remove API Whitelist
      POST
  • Proxy Sub-Accounts
    • Get Proxy Sub-Account List
      POST
    • Create Proxy Sub-Account
      POST
    • Update Proxy Sub-Account
      POST
    • Delete Proxy Sub-Account
      POST
  1. Static Buy

Get Static Duration

POST
/v1/static/durationtype

请求参数

Authorization
在 header 添加参数
AppKey
示例:
AppKey: ********************
Body 参数application/json必填

示例
{
    "type_id": 2
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'https://www.ip2up.com/api/v1/static/durationtype' \
--header 'AppKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "type_id": 2
}'

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
{
    "code": 0,
    "msg": "operate success",
    "data": {
        "duration_types": [
            {
                "day": 30,
                "discount": 1,
                "id": 21,
                "multiplying_power": 1,
                "name": "Single month package",
                "time": "30DAY",
            }
        ]
    }
}
修改于 2026-11-18 10:18:16
上一页
Get Static Commodities
下一页
Buy Static Proxy
Built with