这里 API 请求每秒限制
Here API Request Per Second limits
我正在测试此处 API 以进行地理编码。目前在评估期间,我的一些测试包括一次对多达 400 个地址进行地理编码(以后我可能很少达到 1000 个)。当我用 google 地图尝试这个时,他们会给我一个错误,表明我已经超过了速率限制,但我没有从这里 API 得到这样的错误,尽管没有限制我的速率请求(除了在发送下一个之前等待一个完成)。
但在 Developer FAQ 中,每秒请求数限制为:
Public Plans Business Plans
Basic 1 N/A
Starter 1 1
Standard 2 2
Pro 3 3
这看起来慢得离谱。每秒 1 个请求?最高计划每秒 3 个?这个图表是错字吗?如果是这样,实际限制是什么?如果不是,如果超过该限制,我应该期待什么样的错误?
他们的文档指出 RPS 表示 "for each Application the number of Requests per second to HERE Services calculated as an average (number of Requests during a period of 5 minutes) to all of the APIs used to access the features listed for each subscription plan"。*
他们在文档后面说配额是按月计算的:"When a usage record is loaded into our billing system that results in a plan crossing its monthly quota, the price applied to that usage record is pro-rated to account for the portion that is included in your monthly quota for free and the portion that is billable. Subsequent usage records above your monthly quota will show at the per transaction prices listed on this website."*
企业超额收费为 200/1 美元,Public 计划超额收费为 2000/1 美元。因此,对于 Pro 计划,如果您在任何给定月份使用超过 777.9 万 API 个请求,您将达到您的限制,超出此范围的任何使用都将按上述费率计费。
- 摘自上面链接的开发者常见问题解答。
我正在测试此处 API 以进行地理编码。目前在评估期间,我的一些测试包括一次对多达 400 个地址进行地理编码(以后我可能很少达到 1000 个)。当我用 google 地图尝试这个时,他们会给我一个错误,表明我已经超过了速率限制,但我没有从这里 API 得到这样的错误,尽管没有限制我的速率请求(除了在发送下一个之前等待一个完成)。
但在 Developer FAQ 中,每秒请求数限制为:
Public Plans Business Plans
Basic 1 N/A
Starter 1 1
Standard 2 2
Pro 3 3
这看起来慢得离谱。每秒 1 个请求?最高计划每秒 3 个?这个图表是错字吗?如果是这样,实际限制是什么?如果不是,如果超过该限制,我应该期待什么样的错误?
他们的文档指出 RPS 表示 "for each Application the number of Requests per second to HERE Services calculated as an average (number of Requests during a period of 5 minutes) to all of the APIs used to access the features listed for each subscription plan"。*
他们在文档后面说配额是按月计算的:"When a usage record is loaded into our billing system that results in a plan crossing its monthly quota, the price applied to that usage record is pro-rated to account for the portion that is included in your monthly quota for free and the portion that is billable. Subsequent usage records above your monthly quota will show at the per transaction prices listed on this website."*
企业超额收费为 200/1 美元,Public 计划超额收费为 2000/1 美元。因此,对于 Pro 计划,如果您在任何给定月份使用超过 777.9 万 API 个请求,您将达到您的限制,超出此范围的任何使用都将按上述费率计费。
- 摘自上面链接的开发者常见问题解答。