Get page statistics

Get CDN request count, bandwidth, cache hit rate, and country mix for one hosted page.

← All Pages endpoints · Capability overview

GET/v1/pages/{page_id}/statistics

https://api.vee3.io/v1/pages/{page_id}/statistics

10 tokens

Get CDN request count, bandwidth, cache hit rate, and country mix for one hosted page.

Authorization

Send your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

MCP

The same capability is available as an MCP tool on Vee3 hosted MCP.

Tool name

pages.statistics
Parameters3 fields
page_idstringRequired

Page id returned by pages.create.

date_fromstringOptional

Inclusive UTC start date (YYYY-MM-DD). Defaults to 6 days before date_to.

max length 10

date_tostringOptional

Inclusive UTC end date (YYYY-MM-DD). Defaults to today UTC.

max length 10

Response9 fields
page_idstring

Unique identifier for the page.

date_fromstring

Inclusive UTC start date actually used (YYYY-MM-DD).

date_tostring

Inclusive UTC end date actually used (YYYY-MM-DD).

request_countinteger

CDN requests served in the range, including HTML, CSS, images, and other files. Not unique visitors.

bandwidth_bytesinteger

Total bytes the CDN served in the range.

cache_hit_ratenumber

Fraction of requests served from cache, from 0 to 1.

traffic_by_countryarrayitems
2 fields

Bandwidth by country code, largest first. Omits countries with no traffic.

country_codestring

ISO 3166-1 alpha-2 country code.

bandwidth_bytesinteger

Bytes the CDN served to this country in the range.

HTTP errors: unauthorized, validation_error, insufficient_tokens, payment_required, pages_not_configured, pages_upstream_error, page_not_found