Skip to main content
All v2 endpoints return a consistent JSON envelope. This makes parsing predictable — every response has the same top-level structure regardless of success or failure.

Envelope Fields

Success Response

Error Response

Data Types

The type field tells you what shape the data object has:

Parsing Guidelines

  1. Check success first — determines whether data is populated or null
  2. Use errorCode for logic — never parse message for error handling. Messages are human-readable and may change without notice.
  3. data is always a single object — v2 chart endpoints return one chart per request, never an array

v1 Response Format

v1 endpoints return the chart data directly as a flat JSON object — no envelope. Field names use snake_case (e.g., channels_short, incarnation_cross). See the migration guide for differences.