Unnamed service
GET x402stock.xyz/api/v1/macro
Why an agent can trust this route.
Sonar evidence is advisory. Paid delivery is shown as verified only when paid probes are available; otherwise route estimates use the unpaid handshake as a clearly labeled proxy.
Observed outcomes
The US macro backdrop in one call: the federal funds rate, CPI and PCE inflation, the labor market (unemployment, payrolls, wages), real GDP, and the Treasury yield curve. No ticker needed. Replaces six macro calls (fed-funds + inflation + pce + labor-market + gdp + treasury-yields) at a lower combined price. Spans FRED, BLS, Treasury; sections degrade independently. From x402stock
Resource: x402stock.xyz/api/v1/macro
Network: eip155:8453 · Asset: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 · Pay to: 0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85
Payment methods: — · Last validation: 2026-09-14 08:14:18.223+00
{
"input": {
"type": "object",
"required": [
"type",
"method"
],
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"type": "object",
"properties": {}
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"source",
"as_of",
"sections",
"fed_funds",
"cpi",
"pce",
"labor",
"gdp",
"treasury_yields"
],
"properties": {
"cpi": {
"anyOf": [
{
"type": "object",
"required": [
"source",
"as_of",
"series",
"unit",
"headline",
"core",
"history"
],
"properties": {
"core": {
"type": "object",
"required": [
"latest_index",
"latest_month",
"yoy_percent"
],
"properties": {
"yoy_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"latest_index": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"latest_month": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"unit": {
"type": "string"
},
"as_of": {
"type": "string"
},
"series": {
"type": "string"
},
"source": {
"type": "string",
"const": "us_bls"
},
"history": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"period_name",
"value"
],
"properties": {
"date": {
"type": "string"
},
"value": {
"type": "number"
},
"period_name": {
"type": "string"
}
},
"additionalProperties": false
}
},
"headline": {
"type": "object",
"required": [
"latest_index",
"latest_month",
"yoy_percent"
],
"properties": {
"yoy_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"latest_index": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"latest_month": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"gdp": {
"anyOf": [
{
"type": "object",
"required": [
"source",
"as_of",
"series_id",
"title",
"unit",
"frequency",
"latest",
"prior",
"change",
"change_percent",
"yoy_percent",
"history"
],
"properties": {
"unit": {
"type": "string"
},
"as_of": {
"type": "string"
},
"prior": {
"anyOf": [
{
"type": "object",
"required": [
"date",
"value"
],
"properties": {
"date": {
"type": "string"
},
"value": {
"type": "number"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"change": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"latest": {
"anyOf": [
{
"type": "object",
"required": [
"date",
"value"
],
"properties": {
"date": {
"type": "string"
},
"value": {
"type": "number"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"source": {
"type": "string",
"const": "fred"
},
"history": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"value"
],
"properties": {
"date": {
"type": "string"
},
"value": {
"type": "number"
}
},
"additionalProperties": false
}
},
"frequency": {
"type": "string"
},
"series_id": {
"type": "string"
},
"yoy_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"change_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"pce": {
"anyOf": [
{
"type": "object",
"required": [
"source",
"as_of",
"series",
"unit",
"headline",
"core",
"history"
],
"properties": {
"core": {
"type": "object",
"required": [
"series_id",
"latest_index",
"latest_month",
"yoy_percent"
],
"properties": {
"series_id": {
"type": "string"
},
"yoy_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"latest_index": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"latest_month": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"unit": {
"type": "string"
},
"as_of": {
"type": "string"
},
"series": {
"type": "string"
},
"source": {
"type": "string",
"const": "fred"
},
"history": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"value"
],
"properties": {
"date": {
"type": "string"
},
"value": {
"type": "number"
}
},
"additionalProperties": false
}
},
"headline": {
"type": "object",
"required": [
"series_id",
"latest_index",
"latest_month",
"yoy_percent"
],
"properties": {
"series_id": {
"type": "string"
},
"yoy_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"latest_index": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"latest_month": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"as_of": {
"type": "string"
},
"labor": {
"anyOf": [
{
"type": "object",
"required": [
"source",
"as_of",
"series",
"metrics"
],
"properties": {
"as_of": {
"type": "string"
},
"series": {
"type": "string"
},
"source": {
"type": "string",
"const": "us_bls"
},
"metrics": {
"type": "array",
"items": {
"type": "object",
"required": [
"metric",
"unit",
"latest_value",
"latest_month",
"prior_value",
"change"
],
"properties": {
"unit": {
"type": "string"
},
"change": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"metric": {
"type": "string"
},
"prior_value": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"latest_month": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"latest_value": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"source": {
"type": "string",
"const": "x402stock"
},
"sections": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"fed_funds": {
"anyOf": [
{
"type": "object",
"required": [
"source",
"as_of",
"series_id",
"title",
"unit",
"frequency",
"latest",
"prior",
"change",
"change_percent",
"yoy_percent",
"history"
],
"properties": {
"unit": {
"type": "string"
},
"as_of": {
"type": "string"
},
"prior": {
"anyOf": [
{
"type": "object",
"required": [
"date",
"value"
],
"properties": {
"date": {
"type": "string"
},
"value": {
"type": "number"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"change": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"latest": {
"anyOf": [
{
"type": "object",
"required": [
"date",
"value"
],
"properties": {
"date": {
"type": "string"
},
"value": {
"type": "number"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"source": {
"type": "string",
"const": "fred"
},
"history": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"value"
],
"properties": {
"date": {
"type": "string"
},
"value": {
"type": "number"
}
},
"additionalProperties": false
}
},
"frequency": {
"type": "string"
},
"series_id": {
"type": "string"
},
"yoy_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"change_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"treasury_yields": {
"anyOf": [
{
"type": "object",
"required": [
"source",
"as_of",
"series",
"unit",
"maturities",
"count",
"rates"
],
"properties": {
"unit": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"count": {
"type": "number"
},
"rates": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"rates"
],
"properties": {
"date": {
"type": "string"
},
"rates": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
}
},
"additionalProperties": false
}
},
"series": {
"type": "string"
},
"source": {
"type": "string",
"const": "us_treasury"
},
"maturities": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
}
},
"paymentRequirements": [
{
"raw": {
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85",
"amount": "50000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 300
},
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85",
"scheme": "exact",
"network": "eip155:8453",
"amountAtomic": "50000"
}
]
}Source catalog records are retained separately from live endpoint observations. Sonar score, uptime, and latency are advisory metrics. CDP indexing is not inferred from validation.