Support for accessing billing usage and cost data via API
Key point
Vercel has launched a feature that lets users programmatically check billing usage and cost data through the API and CLI.
Details
Vercel supports programmatic access to billing usage and cost data through the API and CLI. The new /billing/charges endpoint uses the FOCUS v1.3 open standard format, allowing cost data to be integrated into FinOps tools immediately without separate transformation logic.
The endpoint provides data at a daily level of granularity and supports a date range of up to 1 year. To efficiently handle large datasets, responses are streamed in JSONL (newline-delimited JSON) format.
In the CLI, the vercel usage command lets you quickly check billing usage for the current period or a specific date range, including credit usage and costs by service. Additionally, native integration with Vantage automatically syncs usage and cost data, enhancing cost visibility.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.