PHP Client for Cloudflare API
Billing

Usage

Usage endpoint reference.

Get

Returns cost and usage data for all accounts within an organization, aligned with the FinOps FOCUS v1.3 Cost and Usage dataset specification.

ParamTypeRequiredDefaultDescription
organizationIdstringYesOrganization identifier.
paramsarrayNo[]Array containing the necessary params, e.g. from, to.
php
$response = $client->organizations()->billing()->usage()->get('ORGANIZATION_ID', []);
View this operation on the Cloudflare API Reference
Copyright © 2026