Unified report snapshot (granularity selector)
Changed onUnified convenience route (#4975) that consolidates the three singular report routes. Dispatches to the exact per-granularity cap (daily 50, weekly 100, monthly 200) and date window the legacy /api/v1/reports/{daily,weekly,monthly} routes use, so the response body is byte-identical to the matching legacy route for the same period. An ISO weekly period is a durable canonical snapshot; an explicit weekly from,to pair is an exact ephemeral range limited to 31 inclusive UTC days and never creates a persisted snapshot identity. A wider explicit range returns 400 invalid_query. The three legacy routes stay live. Also reachable via the MCP get_report selector.
Request
- Base URLhttps://api.0xinsider.com
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://0xinsider.com/oauth/authorizeToken URLhttps://api.0xinsider.com/oauth/tokenScopesread
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Report granularity selector.
Period token for the granularity. daily: UTC date YYYY-MM-DD. weekly: ISO week YYYY-WW for a durable canonical snapshot, or a from,to YYYY-MM-DD pair for an exact ephemeral range limited to 31 inclusive UTC days. A wider explicit range returns 400 invalid_query. monthly: UTC month YYYY-MM.
Headers
Opt into strict query-name validation. The default is compatible: unknown names are ignored and reported in X-Query-Ignored. With strict, an unknown name returns 400 bad_request with error.reason unknown_query_parameter before the handler runs, including when its percent escape is incomplete.
Response
Daily report snapshot
Changes
- warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- warning
- warning
added the new
export_expiredenum value to the/response property for the response status - warning
added the new
export_expiredenum value to the/response property for the response status - warning
added the new
export_expiredenum value to the/response property for the response status - warning
added the new
export_expiredenum value to the/response property for the response status - warning
added the new
export_expiredenum value to the/response property for the response status - warning
added the new
export_expiredenum value to the/response property for the response status - warning
added the new
export_expiredenum value to the/response property for the response status - warning
added the new
export_expiredenum value to the/response property for the response status - warning
added the new
export_expiredenum value to the/response property for the response status - info
added the optional property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- warning