物流运输预算工具 API

API ID 12772

使用我们物流运输预算工具API的强大预算工具有效规划您的物流运输预算

API 文档

端点

请求
返回当前月份所有类型燃料和两个地区的官方燃料价格 价格来自DMRE并每月自动更新 不需要任何参数 返回内陆和沿海地区的93号汽油 95号汽油和50ppm柴油的价格 单位为每升ZAR
Endpoint ID: 24965
GET https://zylalabs.com/api/12772/logistics+transport+budgeting+tools+api/24965/get+latest+prices
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
JSON
{"success":true,"data":{"year":2026,"month":6,"prices":{"diesel_50ppm":{"coastal":28,"inland":29.26},"petrol_93":{"coastal":27.16,"inland":27.95},"petrol_95":{"coastal":27.19,"inland":28.06}}},"meta":{"effective_date":"2026-06-03","next_update":"2026-07-01","cached":false}}
获取最新价格 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12772/logistics+transport+budgeting+tools+api/24965/get+latest+prices' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回当前月份某种燃料类型和地区的价格 当您的应用只需要一个特定燃料价格而不是完整数据集时 请使用此端点 URL 参数: - fuel_type(必需):要检索的燃料类型 接受的值:petrol_93,petrol_95,diesel_50ppm,paraffin 示例:petrol_95 - region(必需):要检索价格的地区 接受的值:inland,coastal 示例:inland
Endpoint ID: 24966
GET https://zylalabs.com/api/12772/logistics+transport+budgeting+tools+api/24966/get+latest+price+-+single+fuel+type
输入参数

剩余免费测试请求:3 / 3。

API 示例响应
JSON
{"success":true,"data":{"year":2026,"month":6,"fuel_type":"petrol_95","region":"inland","price_zar":28.06,"effective_date":"2026-06-03"},"meta":{"next_update":"2026-07-01","cached":false}}
获取最新价格 - 单一燃料类型 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12772/logistics+transport+budgeting+tools+api/24966/get+latest+price+-+single+fuel+type&fuel_type=Required&/=Required®ion=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求

返回从2008年1月到现在的完整历史价格记录,最新的在前。使用可选查询参数按燃料类型和地区进行过滤。如果没有应用过滤器,则返回所有燃料类型和两个地区。查询参数:- fuel_type(可选):按燃料类型过滤。接受的值:petrol_93,petrol_95,diesel_50ppm,paraffin。示例:petrol_95。- region(可选):按地区过滤。接受的值:内陆,沿海。示例:内陆。

Endpoint ID: 24967
GET https://zylalabs.com/api/12772/logistics+transport+budgeting+tools+api/24967/get+price+history
输入参数

获取价格历史 — 端点功能

对象 描述
fuel_type 可选 Optional. Filter by fuel type. Accepted values: petrol_93, petrol_95, diesel_50ppm, paraffin.
region 可选 Optional. Filter by region. Accepted values: inland, coastal.

剩余免费测试请求:3 / 3。


输入参数

fuel_type
region
API 示例响应
JSON
{
  "success": true,
  "data": [
    {
      "year": 2026,
      "month": 6,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 28.06,
      "effective_date": "2026-06-03"
    },
    {
      "year": 2026,
      "month": 5,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 26.63,
      "effective_date": "2026-05-06"
    },
    {
      "year": 2026,
      "month": 4,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 23.36,
      "effective_date": "2026-04-01"
    },
    {
      "year": 2026,
      "month": 3,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 20.3,
      "effective_date": "2026-03-04"
    },
    {
      "year": 2026,
      "month": 2,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 20.1,
      "effective_date": "2026-02-04"
    },
    {
      "year": 2026,
      "month": 1,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 20.75,
      "effective_date": "2026-01-07"
    },
    {
      "year": 2025,
      "month": 12,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 21.41,
      "effective_date": "2025-12-03"
    },
    {
      "year": 2025,
      "month": 11,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 21.12,
      "effective_date": "2025-11-05"
    },
    {
      "year": 2025,
      "month": 10,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 21.63,
      "effective_date": "2025-10-01"
    },
    {
      "year": 2025,
      "month": 9,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 21.55,
      "effective_date": "2025-09-03"
    },
    {
      "year": 2025,
      "month": 8,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 21.59,
      "effective_date": "2025-08-06"
    },
    {
      "year": 2025,
      "month": 7,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 21.87,
      "effective_date": "2025-07-02"
    },
    {
      "year": 2025,
      "month": 6,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 21.35,
      "effective_date": "2025-06-04"
    },
    {
      "year": 2025,
      "month": 5,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 21.4,
      "effective_date": "2025-05-07"
    },
    {
      "year": 2025,
      "month": 4,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 21.62,
      "effective_date": "2025-04-02"
    },
    {
      "year": 2025,
      "month": 3,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 22.34,
      "effective_date": "2025-03-05"
    },
    {
      "year": 2025,
      "month": 2,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 22.41,
      "effective_date": "2025-02-05"
    },
    {
      "year": 2025,
      "month": 1,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 21.59,
      "effective_date": "2025-01-01"
    },
    {
      "year": 2024,
      "month": 12,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 21.47,
      "effective_date": "2024-12-04"
    },
    {
      "year": 2024,
      "month": 11,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 21.3,
      "effective_date": "2024-11-06"
    },
    {
      "year": 2024,
      "month": 10,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 21.05,
      "effective_date": "2024-10-02"
    },
    {
      "year": 2024,
      "month": 9,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 22.19,
      "effective_date": "2024-09-04"
    },
    {
      "year": 2024,
      "month": 8,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 23.11,
      "effective_date": "2024-08-07"
    },
    {
      "year": 2024,
      "month": 7,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 23.26,
      "effective_date": "2024-07-03"
    },
    {
      "year": 2024,
      "month": 6,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 24.25,
      "effective_date": "2024-06-05"
    },
    {
      "year": 2024,
      "month": 5,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 25.49,
      "effective_date": "2024-05-01"
    },
    {
      "year": 2024,
      "month": 4,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 25.12,
      "effective_date": "2024-04-03"
    },
    {
      "year": 2024,
      "month": 3,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 24.45,
      "effective_date": "2024-03-06"
    },
    {
      "year": 2024,
      "month": 2,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 23.24,
      "effective_date": "2024-02-07"
    },
    {
      "year": 2024,
      "month": 1,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 22.49,
      "effective_date": "2024-01-03"
    },
    {
      "year": 2023,
      "month": 12,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 23.25,
      "effective_date": "2023-12-06"
    },
    {
      "year": 2023,
      "month": 11,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 23.9,
      "effective_date": "2023-11-01"
    },
    {
      "year": 2023,
      "month": 10,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 25.68,
      "effective_date": "2023-10-04"
    },
    {
      "year": 2023,
      "month": 9,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 24.54,
      "effective_date": "2023-09-06"
    },
    {
      "year": 2023,
      "month": 8,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 22.83,
      "effective_date": "2023-08-02"
    },
    {
      "year": 2023,
      "month": 7,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 22.46,
      "effective_date": "2023-07-06"
    },
    {
      "year": 2023,
      "month": 6,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 22.63,
      "effective_date": "2023-06-07"
    },
    {
      "year": 2023,
      "month": 5,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 23.34,
      "effective_date": "2023-05-03"
    },
    {
      "year": 2023,
      "month": 4,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 22.97,
      "effective_date": "2023-04-05"
    },
    {
      "year": 2023,
      "month": 3,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 22.95,
      "effective_date": "2023-03-01"
    },
    {
      "year": 2023,
      "month": 2,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 21.68,
      "effective_date": "2023-02-01"
    },
    {
      "year": 2023,
      "month": 1,
      "fuel_type": "petrol_95",
      "region": "inland",
      "price_zar": 21.4,
      "effective_date": "2023-01-04"
    }
],
  "meta": {
    "count": 217,
    "filters": {
      "fuel_type": "petrol_95",
      "region": "inland"
    },
    "next_update": "2026-07-01",
    "cached": false
  }
}
获取价格历史 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12772/logistics+transport+budgeting+tools+api/24967/get+price+history?fuel_type=petrol_95®ion=inland' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回特定月份和年份的所有燃油价格。如果请求的时间段没有数据,则返回404。数据可从2008年1月到现在。 URL参数: - year(必需):要检索价格的年份。必须是2008年至当前年份之间的四位数字年份。例如:2024。 - month(必需):要检索价格的月份。必须是1到12之间的数字。例如:3
Endpoint ID: 24968
GET https://zylalabs.com/api/12772/logistics+transport+budgeting+tools+api/24968/get+price+by+month
输入参数

剩余免费测试请求:3 / 3。

API 示例响应
JSON
{"success":true,"data":{"year":2024,"month":3,"prices":{"diesel_50ppm":{"coastal":21.93,"inland":22.62},"petrol_93":{"coastal":23.41,"inland":24.13},"petrol_95":{"coastal":23.73,"inland":24.45}}},"meta":{"effective_date":"2024-03-06","next_update":"2024-04-03","cached":false}}
按月获取价格 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12772/logistics+transport+budgeting+tools+api/24968/get+price+by+month&year=Required&/=Required&month=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求

返回最新的N个月的单一燃料类型和地区的价格,最新的在前。每条记录包括以南非兰特(ZAR)和百分比表示的环比价格变动。适合用于图表、仪表板和趋势分析。查询参数:- fuel_type(必填):要检索趋势数据的燃料类型。接受的值:petrol_93、petrol_95、diesel_50ppm、paraffin。示例:petrol_95。- region(必填):要检索趋势数据的地区。接受的值:inland、coastal。示例:inland。- months(可选):返回的月份数量。必须介于1到60之间。如果未提供,默认为12。示例:12。

Endpoint ID: 24969
GET https://zylalabs.com/api/12772/logistics+transport+budgeting+tools+api/24969/get+price+trend
输入参数

获取价格趋势 — 端点功能

对象 描述
fuel_type 必需 Required. The fuel type to retrieve trend data for. Accepted values: petrol_93, petrol_95, diesel_50ppm, paraffin.
region 必需 Required. The region to retrieve trend data for. Accepted values: inland, coastal.
months 必需 Optional. Number of months to return. Must be between 1 and 60. Defaults to 12.

剩余免费测试请求:3 / 3。


输入参数

fuel_type
region
months
API 示例响应
JSON
{"success":true,"data":[{"year":2026,"month":6,"price_zar":28.06,"effective_date":"2026-06-03","change_zar":1.43,"change_pct":5.37},{"year":2026,"month":5,"price_zar":26.63,"effective_date":"2026-05-06","change_zar":3.27,"change_pct":14},{"year":2026,"month":4,"price_zar":23.36,"effective_date":"2026-04-01","change_zar":3.06,"change_pct":15.07},{"year":2026,"month":3,"price_zar":20.3,"effective_date":"2026-03-04","change_zar":0.2,"change_pct":1},{"year":2026,"month":2,"price_zar":20.1,"effective_date":"2026-02-04","change_zar":-0.65,"change_pct":-3.13},{"year":2026,"month":1,"price_zar":20.75,"effective_date":"2026-01-07","change_zar":-0.66,"change_pct":-3.08},{"year":2025,"month":12,"price_zar":21.41,"effective_date":"2025-12-03","change_zar":0.29,"change_pct":1.37},{"year":2025,"month":11,"price_zar":21.12,"effective_date":"2025-11-05","change_zar":-0.51,"change_pct":-2.36},{"year":2025,"month":10,"price_zar":21.63,"effective_date":"2025-10-01","change_zar":0.08,"change_pct":0.37},{"year":2025,"month":9,"price_zar":21.55,"effective_date":"2025-09-03","change_zar":-0.04,"change_pct":-0.19},{"year":2025,"month":8,"price_zar":21.59,"effective_date":"2025-08-06","change_zar":-0.28,"change_pct":-1.28},{"year":2025,"month":7,"price_zar":21.87,"effective_date":"2025-07-02","change_zar":null,"change_pct":null}],"meta":{"fuel_type":"petrol_95","region":"inland","months":12,"cached":false}}
获取价格趋势 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12772/logistics+transport+budgeting+tools+api/24969/get+price+trend?fuel_type=petrol_95®ion=inland&months=12' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求

比较两个指定月份之间某种燃料类型和地区的价格 返回这两个时间点的价格以及以南非兰特和百分比表示的变化 对于成本分析 预算报告 和财务规划非常有用 查询参数: - fuel_type(必填):要比较的燃料类型 接受的值:petrol_93 petrol_95 diesel_50ppm paraffin 示例:petrol_95 - region(必填):要比较价格的地区 接受的值:inland coastal 示例:inland - from(必填):以YYYY-MM格式表示的比较开始月份 示例:2020-01 - to(必填):以YYYY-MM格式表示的比较结束月份 示例:2026-05

Endpoint ID: 24970
GET https://zylalabs.com/api/12772/logistics+transport+budgeting+tools+api/24970/compare+prices+between+two+months
输入参数

比较两个月之间的价格 — 端点功能

对象 描述
fuel_type 必需 Required. The fuel type to compare. Accepted values: petrol_93, petrol_95, diesel_50ppm, paraffin.
region 必需 Required. The region to compare prices for. Accepted values: inland, coastal.
from 必需 Required. Start month in YYYY-MM format. Example: 2020-01.
to 必需 Required. End month in YYYY-MM format. Example: 2026-05.

剩余免费测试请求:3 / 3。


输入参数

fuel_type
region
from
to
API 示例响应
JSON
{"success":true,"data":{"fuel_type":"petrol_95","region":"inland","from":{"year":2020,"month":1,"price_zar":16.16,"effective_date":"2020-01-01"},"to":{"year":2026,"month":5,"price_zar":26.63,"effective_date":"2026-05-06"},"change_zar":10.47,"change_pct":64.79},"meta":{"cached":false}}
比较两个月之间的价格 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12772/logistics+transport+budgeting+tools+api/24970/compare+prices+between+two+months?fuel_type=petrol_95®ion=inland&from=2020-01&to=2026-05' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回下一个预期的DMRE燃料价格公告日期和距离该日期剩余的天数 燃料价格由DMRE在每个月的第一个星期三公布 使用此端点在您的应用程序中显示倒计时器或安排刷新逻辑 不需要参数
Endpoint ID: 24971
GET https://zylalabs.com/api/12772/logistics+transport+budgeting+tools+api/24971/get+next+update+date
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
JSON
{"success":true,"data":{"next_update":"2026-07-01","days_until":19},"meta":{"cached":false}}
获取下一个更新日期 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12772/logistics+transport+budgeting+tools+api/24971/get+next+update+date' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回API的当前操作状态和服务器时间戳。在发出其他请求之前,使用该端点验证API是否在线,或将其集成到您自己的正常运行时间监控中 不需要参数。当API正常时返回200状态和ok
Endpoint ID: 24972
GET https://zylalabs.com/api/12772/logistics+transport+budgeting+tools+api/24972/health+check
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
JSON
{"success":true,"data":{"status":"ok","timestamp":"2026-06-12T00:30:17.006Z"}}
健康检查 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12772/logistics+transport+budgeting+tools+api/24972/health+check' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 物流运输预算工具 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

(年度计费可节省 2 个月 🎉)

🚀 企业版套餐

起价
$ 10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

来源于南非矿产资源和石油部的官方燃油泵价格 返回内陆和沿海地区的93号无铅汽油 95号无铅汽油和50ppm柴油的当前和历史价格 历史数据可从2008年1月起提供 价格每周三在南非标准时间08:00自动更新

物流运输预算工具 API FAQs

价格每周三上午08:00南非标准时间更新 矿产资源与能源部在每个月的第一个周三宣布新的油泵价格 如果由于油价或汇率变动而发生中期调整 将在下一个周三反映出来

从2008年1月到现在可以获取历史数据——超过18年的南非燃料价格记录

93号无铅汽油 95号无铅汽油 和 50ppm柴油适用于内陆和沿海地区 照明煤油栏目在架构中存在但目前为空因为源数据不可用

DMRE根据运输和物流成本差异为内陆和沿海地区设定不同的泵价。内陆价格(豪登省及周边省份)通常略高于沿海价格(西开普省、夸祖鲁-纳塔尔省、东开普省)

所有价格均以每升ZAR(南非兰特)返回

数据集中缺少五个月的记录,原因是源数据存在缺口:2011年7月、2014年12月、2015年2月、2015年7月和2021年9月 通过/month/:year/:month请求这些月份将返回404

/últimos 返回所有类型的燃料和两个地区的嵌套响应 — 当你需要整个价格表时非常有用 /últimos/:tipo_combustível/:região 返回特定燃料类型和地区的单一价格 — 当你的应用只需要一个值并且你想要更小更快速的响应时非常有用

使用 /compare 端点 传递你的燃料类型 区域 从月份和到月份以YYYY-MM格式 API将返回这两个时间点的价格以及以ZAR计的变化和百分比 例子:/compare?fuel_type=petrol_95&region=inland&from=2020-01&to=2026-05

所有错误返回一致的 JSON 结构: { "error": true, "code": "NOT_FOUND", "message": "未找到2007-01的燃油价格数据" } 常见错误代码为无效参数的 BAD_REQUEST(400)和没有数据的月份的 NOT_FOUND(404)

每个端点返回特定的燃料价格数据 `/latest` 端点提供所有燃料类型和地区的当前价格 `/latest/:fuel_type/:region` 返回单一价格 `/history` 端点提供历史价格 `/compare` 显示两个月之间的价格变化 每个响应包括相关的元数据,例如生效日期和来源信息

关键字段包括 `year` `month` `prices` (用于 `/latest`) `fuel_type` `region` `price_zar` `change_zar` 和 `change_pct` (用于 `/compare`) 每个响应也包含 `meta` 数据,提供来源和下次更新信息,确保用户对数据有上下文

响应数据采用 JSON 格式结构。例如,`/latest` 端点返回一个嵌套对象,其中包含 `success`、`data` 和 `meta` 字段。`data` 字段包含按燃料类型和地区组织的价格,而 `meta` 提供额外的背景信息,例如来源和生效日期

参数因端点而异。例如 `/latest/:fuel_type/:region` 需要 `fuel_type`(例如 petrol_95)和 `region`(例如 inland) `/history` 端点允许对 `fuel_type` 和 `region` 的可选过滤 而 `/compare` 则需要 `fuel_type` `region` 和两个日期参数(`from` 和 `to`)以 YYYY-MM 格式

每个端点提供不同的信息:`/latest` 提供当前价格 `/history` 提供历史数据 `/compare` 显示价格变化 `/trend` 呈现月度趋势 这使用户能够有效地分析当前和过去的燃料价格

数据直接来源于矿产资源和石油部(DMRE),确保高准确性 API根据官方公告自动更新价格,历史数据始终从同一来源获取,保持可靠性

典型的用例包括为物流预算、分析燃料价格趋势以进行财务规划以及比较历史价格以进行成本分析 用户可以利用这些数据进行报告、预测和基于燃料价格波动优化运输成本

用户可以通过将数据集成到应用程序中来实时监测燃油价格生成价格趋势报告或进行成本变化的分析结构化的JSON格式便于在各种数据可视化工具中解析和集成

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API