cURL
curl --request GET \ --url https://api.mediapi.dev/v1/usage \ --header 'X-API-Key: <api-key>'
{ "plan": "pro", "billing_period": "2026-03-01", "gb_used": 5.234, "gb_included": 25, "gb_remaining": 19.766, "total_jobs": 123 }
Get your current billing period usage, plan details, and remaining quota.
Usage summary
"pro"
"2026-03-01"
5.234
25
19.766