We are excited to introduce a new feature to MetalPriceAPI: the /usage endpoint. This new addition is designed to help you easily monitor your API usage and manage your monthly quota effectively.
/usage
Endpoint?The /usage
endpoint provides a simple and efficient way to check your API usage statistics for the current month. With this endpoint, you can track how many requests you've made, how many you have left, and understand your current plan's limits. There is no increment to your quota by calling this endpoint.
/usage
EndpointTo access your usage data, make a GET request to the following URL:
https://api.metalpriceapi.com/v1/usage?api_key=[API_KEY]
[API_KEY]
with your actual key to authenticate your request.Upon a successful request, you will receive a response in JSON format, detailing your current usage statistics:
{
"success": true,
"result": {
"plan": "Business",
"used": 12,
"total": 100,
"remaining": 88
}
}
false
, please refer to our API Errors documentation for troubleshooting./usage
Endpoint?Monitoring your API usage is crucial for optimizing your operations and ensuring you stay within your plan's limits. The /usage
endpoint provides real-time insights into your API consumption, helping you plan and adjust your usage as needed.
To start using the /usage
endpoint, simply include your API key in the request URL and retrieve your usage data instantly. For more details on managing your API key and understanding your plan, visit our API documentation.
We hope this new feature enhances your experience with MetalPriceAPI. As always, we are here to support you. If you have any questions or need assistance, please contact our support team.