Federal Debt to GDP

U.S. federal debt as a percentage of gross domestic product from FRED, tracking the size of public debt relative to economic output alongside Bitcoin price.

How to call

Request format

GET
curl -X GET "https://newhedge.io/api/v2/metrics/federal-debt-to-gdp/METRIC_NAME?api_token=YOUR_TOKEN"
Query params

api_token (required) — 24 character token.

Path params

:metric_name — one of the metric names listed below.

Responses

200 with JSON payload, 401 for missing/invalid token, 404 for missing resources.

Metrics

Each metric is fetched independently. Responses are trimmed samples to show structure.

0 metrics

No metrics are currently attached to this chart.