Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我在 Bluemix 上使用 Alchemy API 服务时,我看到了这条daily-transaction-limit-exceeded消息。如何监控我的交易使用情况以确定何时接近限额?
daily-transaction-limit-exceeded
每个 API 调用通常等于许多事务。在 JSON 响应中,您应该会看到从服务器收到的每个 API 响应返回的事务计数。但是,您可以使用以下查询来确定每天剩余的交易数量: curl -i http://access.alchemyapi.com/calls/info/GetAPIKeyInfo?apikey=<api_key> 将<api_key>变量替换为您自己的 API 密钥。在返回的 XML 中,您将收到每日使用量加上交易限额的计数。
curl -i http://access.alchemyapi.com/calls/info/GetAPIKeyInfo?apikey=<api_key>
<api_key>