https://api.veriko.mx/v1/status/banxico/timeseries Banxico health time series (public view)
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.
| 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: |
window | query | string | optional | Time window covered by the series. Default: |
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.
| 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`). |
| Status | Class | Description | Body |
|---|---|---|---|
| 200 | 2xx | Time-series data points. | BanxicoPublicTimeseriesResponse |
| 401 | 4xx | Authentication is required or the provided credentials are invalid. | ErrorResponse |
| Header | Type | Description |
|---|---|---|
Cache-Control | string | Public-view cache TTL. |
Vary | string | Origin-based variation (CORS). |
| Status | Code | Detail |
|---|---|---|
| 401 | unauthorized | Invalid or missing authentication credentials. Envelope
|