API Overview
Base URL
/api/cpix, /api/signals).
API access requires an Enterprise plan. Contact sales@briefedmedia.com to get started.
Response Format
All responses return JSON. Successful responses and errors follow a consistent envelope structure.Success
Error
ok field is always present. On success, the response body is in data. On failure, a human-readable message is in error.
Standard Headers
The API sets the following headers on every response:| Header | Description |
|---|---|
X-Request-ID | Unique identifier for the request. Include this value when contacting support. |
Content-Type | Always application/json for JSON endpoints. |
Strict-Transport-Security | Enforces HTTPS connections. |
X-Content-Type-Options | Set to nosniff to prevent MIME-type sniffing. |
X-Frame-Options | Set to DENY to prevent clickjacking. |
X-XSS-Protection | Set to 1; mode=block. |
Referrer-Policy | Set to strict-origin-when-cross-origin. |
Geography Model
The API supports data for the United States and the United Kingdom. The US is the default geography when no geography parameter is specified. Where endpoints accept a geography parameter, use the ISO 3166-1 alpha-2 codes:| Code | Geography |
|---|---|
US | United States |
UK | United Kingdom |