SA燃油价格 API

API ID 12761

返回内陆和沿海地区的93号无铅汽油、95号无铅汽油和50ppm柴油的当前和历史价格 历史数据从2008年1月到现在可用 价格每周三上午08:00南非标准时间自动更新

132 ms 平均响应

API 文档

端点

请求
返回当前月份所有燃料类型和两个地区的官方加油站价格 价格来源于DMRE并每月自动更新 不需要参数 返回内陆和沿海地区的93号汽油 95号汽油和50ppm柴油价格 以每升ZAR计
Endpoint ID: 24855
GET https://zylalabs.com/api/12761/sa+fuel+price+api/24855/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/12761/sa+fuel+price+api/24855/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: 24856
GET https://zylalabs.com/api/12761/sa+fuel+price+api/24856/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/12761/sa+fuel+price+api/24856/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: 24857
GET https://zylalabs.com/api/12761/sa+fuel+price+api/24857/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/12761/sa+fuel+price+api/24857/get+price+history?fuel_type=petrol_95®ion=inland' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回特定月份和年份的所有燃料价格。如果请求的时间段没有数据,则返回404。数据可从2008年1月到现在获取 URL参数: - 年(必填):要检索价格的年份。必须是2008到当前年份之间的4位数年份。例如:2024 - 月(必填):要检索价格的月份。必须是1到12之间的数字。例如:3
Endpoint ID: 24858
GET https://zylalabs.com/api/12761/sa+fuel+price+api/24858/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/12761/sa+fuel+price+api/24858/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: 24859
GET https://zylalabs.com/api/12761/sa+fuel+price+api/24859/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/12761/sa+fuel+price+api/24859/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: 24860
GET https://zylalabs.com/api/12761/sa+fuel+price+api/24860/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/12761/sa+fuel+price+api/24860/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: 24861
GET https://zylalabs.com/api/12761/sa+fuel+price+api/24861/get+next+update+date
输入参数

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

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

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

curl --location --request GET 'https://zylalabs.com/api/12761/sa+fuel+price+api/24861/get+next+update+date' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 API 当前的操作状态和服务器时间戳 使用此端点在进行其他请求之前验证 API 是否在线,或集成到您自己的正常运行时间监控中 无需参数 当 API 处于工作状态时返回状态 200 和 ok
Endpoint ID: 24862
GET https://zylalabs.com/api/12761/sa+fuel+price+api/24862/health+check
输入参数

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

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

API 示例响应
JSON
{"success":true,"data":{"status":"ok","timestamp":"2026-06-22T15:05:37.201Z"}}
健康检查 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12761/sa+fuel+price+api/24862/health+check' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

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

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

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

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

🚀 企业版套餐

起价
$ 10,000/年


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

概览

返回内陆和沿海地区的93号无铅汽油、95号无铅汽油和50ppm柴油的当前和历史价格历史数据从2008年1月到现在可用价格每周三上午08:00南非标准时间自动更新

SA燃油价格 API FAQs

价格每周三早上08:00南非标准时间更新 DMRE在每个月的第一个周三宣布新的油泵价格 如果由于油价或汇率波动发生月中调整 将在下一个周三反映

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

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

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

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

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

/最新 返回所有燃料类型和两个地区的嵌套响应 - 当您需要完整的价格榜时非常有用 /最新/:燃料类型/:地区 返回一个特定燃料类型和地区的单一价格 - 当您的应用程序只需要一个值并且您想要更小、更快的响应时非常有用

使用/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) 用于没有数据的月份

每个端点返回与南非燃油价格相关的JSON数据数据包括当前价格历史记录价格趋势比较和下次更新时间具体取决于使用的端点

主要字段包括“成功”(布尔值)“数据”(包含相关价格信息的对象)“目标”(来源和更新的细节)以及特定字段如“价格_zar”“有效日期”和“变化_pct”用于趋势分析

响应数据采用JSON格式构建,包含一个最上层的“success”字段,后面是一个“data”对象,包含相关的价格详细信息,以及一个“meta”对象,用于源和更新信息

参数因端点而异。例如,/latest/:fuel_type/:region 端点需要 "fuel_type"(例如,petrol_95)和 "region"(例如,inland) /compare 端点需要 YYYY-MM格式的 "from" 和 "to" 日期

每个端点提供特定信息:最新价格历史价格记录价格趋势比较两个月的价格以及下一次燃油价格更新的日期

用户可以通过指定参数,如燃料类型、地区、年份和月份,来自定义请求。例如,要获取沿海地区的93号汽油历史数据,请使用/history?fuel_type=petrol_93&region=coastal

数据来源于南非矿物资源和石油部(DMRE),确保信息的官方性和可靠性

典型的用例包括燃料价格监测 财务分析 燃料开支预算以及依赖燃料成本的公司的趋势分析

一般常见问题

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


您可能还喜欢