GET https://api.veriko.mx/v1/status/banxico/timeseries

Banxico health time series (public view)

Audience
public
Auth
API key

Returns data points bucketed by time interval for the requested metric and window. The public view only exposes safe metrics (probe_latency and verdict); values outside the enums do not cause 422 — they silently fall back to defaults (probe_latency, 24h). The response is cached 60 s on the client. Requires API key authentication with no specific permission.

Parameters
Parameter In Type Required Description
metric query string optional

Metric to fetch. `probe_latency` returns latency in milliseconds; `verdict` returns the categorical Banxico verdict per bucket.

Default: probe_latency

window query string optional

Time window covered by the series.

Default: 24h

Request
curl -X GET 'https://api.veriko.mx/v1/status/banxico/timeseries' \
  -H 'Authorization: Bearer mxcep_••••'

Python example — coming soon.

JavaScript example — coming soon.

PHP example — coming soon.

Response 200 BanxicoPublicTimeseriesResponse — Time-series data points.
Field Type Description
type * string

JSON:API resource type.

id * string

Identifier derived from the metric/window pair (`<metric>_<window>`).

attributes * object

Time-series of Banxico CEP service health metrics in time buckets. Returned by `GET /v1/banxico/timeseries`.

metric string

Reported metric: `probe_latency` — health probe latency in milliseconds; `verdict` — Banxico verdict distribution per bucket.

window string

Total time window covered by the series (`1h`, `8h`, `12h`, `24h`, or `7d`).

unit string

Unit of measurement for values: `ms` for `probe_latency`, `verdict` (integer 0/1/2) for `verdict`.

bucket_size_minutes integer

Size of each time bucket in minutes.

points array

Data points in chronological order. Each point contains `ts` (bucket start timestamp) and `value` (integer in ms for `probe_latency`, verdict integer 0/1/2 for `verdict`).

Response status codes GET /v1/status/banxico/timeseries
Status Class Description Body
200 2xx Time-series data points. BanxicoPublicTimeseriesResponse
401 4xx Authentication is required or the provided credentials are invalid. ErrorResponse
Response headers 200
Header Type Description
Cache-Control string Public-view cache TTL.
Vary string Origin-based variation (CORS).
Errors from GET /v1/status/banxico/timeseries
Status Code Detail
401 unauthorized

Invalid or missing authentication credentials.

Envelope
meta.request_id
c4d5e6f7a8b9