月度燃油价格比较 API

API ID 12769

通过我们的逐月油价比较API,轻松比较南非的月度油价

API 文档

端点

请求
返回当前月份所有类型燃料和两个区域的官方燃料价格。价格来自DMRE并会自动每月更新 不需要任何参数。返回内陆和沿海地区93号汽油95号汽油和50ppm柴油的价格以ZAR每升计算
Endpoint ID: 24949
GET https://zylalabs.com/api/12769/month+to+month+fuel+price+comparison+api/24949/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/12769/month+to+month+fuel+price+comparison+api/24949/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: 24950
GET https://zylalabs.com/api/12769/month+to+month+fuel+price+comparison+api/24950/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/12769/month+to+month+fuel+price+comparison+api/24950/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(可选):按地区进行过滤。接受的值:inland,coastal。示例:inland。

Endpoint ID: 24951
GET https://zylalabs.com/api/12769/month+to+month+fuel+price+comparison+api/24951/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/12769/month+to+month+fuel+price+comparison+api/24951/get+price+history?fuel_type=petrol_95®ion=inland' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回特定月份和年份的所有燃料价格 如果在请求的期间内不存在数据,则返回404 这些数据可用从2008年1月到现在 URL参数: - 年(必填):要检索价格的年份 必须是一个4位数的年份,介于2008年和当前年份之间 例如2024 - 月(必填):要检索价格的月份 必须是1到12之间的数字 例如3
Endpoint ID: 24952
GET https://zylalabs.com/api/12769/month+to+month+fuel+price+comparison+api/24952/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/12769/month+to+month+fuel+price+comparison+api/24952/get+price+by+month&year=Required&/=Required&month=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回最近的N个月的价格,适用于单一燃料类型和地区,最新的在前。每条记录包括以ZAR为单位的按月价格变动及其百分比。非常适合图表、仪表板和趋势分析 查询参数: - 燃料类型(必填):要获取趋势数据的燃料类型。接受的值:汽油_93,汽油_95,柴油_50ppm,煤油。例子:汽油_95 - 地区(必填):要获取趋势数据的地区。接受的值:内陆,海岸。例子:内陆 - 月数(可选):要返回的月份数量。必须在1到60之间。如果未提供,默认为12。例子:12
Endpoint ID: 24953
GET https://zylalabs.com/api/12769/month+to+month+fuel+price+comparison+api/24953/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/12769/month+to+month+fuel+price+comparison+api/24953/get+price+trend?fuel_type=petrol_95®ion=inland&months=12' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求

比较两个月份之间某一燃料类型和地区的价格 返回这两个时间点的价格以及以南非兰特(ZAR)和百分比表示的变化 对于成本分析 预算报告 和财务规划非常有用 查询参数: - 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: 24954
GET https://zylalabs.com/api/12769/month+to+month+fuel+price+comparison+api/24954/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/12769/month+to+month+fuel+price+comparison+api/24954/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: 24955
GET https://zylalabs.com/api/12769/month+to+month+fuel+price+comparison+api/24955/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/12769/month+to+month+fuel+price+comparison+api/24955/get+next+update+date' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回API的当前运行状态和服务器时间戳。使用此端点在进行其他请求之前确认API在线,或集成到您自己的正常运行时间监控中 不需要参数。当API正常运行时返回200状态和ok
Endpoint ID: 24956
GET https://zylalabs.com/api/12769/month+to+month+fuel+price+comparison+api/24956/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/12769/month+to+month+fuel+price+comparison+api/24956/health+check' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 月度燃油价格比较 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

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

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

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

🚀 企业版套餐

起价
$ 10,000/年


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

概览

来自矿产资源和石油部(DMRE)的官方南非燃油泵价格。返回内陆和沿海地区的93号无铅汽油、95号无铅汽油和50ppm柴油的当前和历史价格。历史数据可追溯至2008年1月至今。价格在每周三08:00 SAST自动更新。

月度燃油价格比较 API FAQs

价格每周三上午08:00 SAST更新 DMRE在每个月的第一个星期三公布新的油价 如果由于石油价格或汇率波动发生月中调整 这将在下一个星期三反映出来

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

汽油93 ULP 汽油95 ULP 和柴油50ppm适用于内陆和沿海地区 照明石油栏目在结构中存在但目前为空 因为来自源的数据不可用

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

所有价格以南非兰特每升返回

数据集中缺少五个月的数据由于源数据存在间断:2011年7月 2014年12月 2015年2月 2015年7月 和 2021年9月 通过 /month/:year/:month 请求这些月份将返回404

/latest 返回所有燃料类型和两个区域的嵌套响应 — 当你需要完整价格列表时非常有用 /latest/:fuel_type/:region 返回特定燃料类型和区域的单一价格 — 当你的应用只需要一个值并且想要更小、更快的响应时非常有用

使用 /compare 端点 传递您的燃料类型 区域 起始月份和结束月份(格式为YYYY-MM) API将返回这两个时间点的价格以及以南非兰特和百分比表示的变化 示例:/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 端点提供所有燃料类型和地区的当前价格,而 /price_history 返回历史价格。/compare 端点显示两个月之间的价格变化,包括 ZAR 值和百分比变化

关键字段包括“年”、“月”、“价格”和“生效日期”。例如,在/latest响应中,“价格”包含每种燃料类型的嵌套对象,详细说明沿海和内陆价格。“元数据”部分提供来源和更新信息

参数因端点而异。例如 /latest/:fuel_type/:region 需要“fuel_type”和“region”参数,而 /compare 需要“fuel_type”“region”“from”和“to”参数。接受的值包括 petrol_93 petrol_95 diesel_50ppm 以及 inland 和 coastal 等地区

响应数据采用JSON格式结构,其中“success”字段指示请求状态。数据嵌套在“data”下,包含相关的价格信息,而“meta”提供额外的上下文,如来源和下次更新日期

数据来源于南非矿产资源与石油部(DMRE)这确保了燃料价格是官方的并反映了当前可用的最新信息

典型的使用案例包括财务分析、预算编制和趋势监测。用户可以跟踪价格随时间的变化,比较历史价格,或分析特定燃料类型和地区的趋势,帮助消费者和企业的决策

用户可以通过指定燃料类型、地区和时间段等参数来自定义请求。例如,通过使用 /price_history 端点,用户可以按“燃料类型”和“地区”过滤结果,以检索与他们需求相关的特定数据

如果请求没有返回数据,比如因缺失月份,API 将会响应 404 状态 用户应该实现错误处理以优雅地管理这些情况 确保他们的应用程序在数据不可用时能够做出适当响应

一般常见问题

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


您可能还喜欢