Skip to main content
GET
/
api
/
macro
{
  "macro": [
    {
      "date": "2025-02-01",
      "series_key": "SERIES_A",
      "value": 62.4
    },
    {
      "date": "2025-02-01",
      "series_key": "SERIES_B",
      "value": 97.8
    }
  ]
}

Authentication

Requires a valid JWT token in the Authorization header.
Authorization: Bearer <your-jwt-token>

Response

macro
array
Array of UK consumer macro observations.
cURL
curl "https://api.consumersignals.io/api/macro" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"
Python
import requests

response = requests.get(
    "https://api.consumersignals.io/api/macro",
    headers={"Authorization": "Bearer YOUR_JWT_TOKEN"}
)
data = response.json()
TypeScript
const response = await fetch(
  "https://api.consumersignals.io/api/macro",
  {
    headers: {
      Authorization: "Bearer YOUR_JWT_TOKEN",
    },
  }
);
const data = await response.json();
{
  "macro": [
    {
      "date": "2025-02-01",
      "series_key": "SERIES_A",
      "value": 62.4
    },
    {
      "date": "2025-02-01",
      "series_key": "SERIES_B",
      "value": 97.8
    }
  ]
}