{
  "x402Version": 2,
  "id": 5253,
  "slug": "5253",
  "resource": "https://x402stock.xyz/api/v1/macro",
  "description": "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",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {},
          "type": "http"
        },
        "output": {
          "example": {
            "as_of": "2026-06-04T12:00:00.000Z",
            "cpi": {
              "as_of": "2026-04-01T00:00:00.000Z",
              "core": {
                "latest_index": 326.18,
                "latest_month": "2026-04",
                "yoy_percent": 3.1
              },
              "headline": {
                "latest_index": 320.32,
                "latest_month": "2026-04",
                "yoy_percent": 2.7
              },
              "history": [
                {
                  "date": "2026-04",
                  "period_name": "April",
                  "value": 320.32
                }
              ],
              "series": "cpi_u_us_city_average",
              "source": "us_bls",
              "unit": "index_1982_84=100"
            },
            "fed_funds": {
              "as_of": "2026-05-01T00:00:00.000Z",
              "change": 0,
              "change_percent": 0,
              "frequency": "monthly",
              "history": [
                {
                  "date": "2026-05-01",
                  "value": 4.33
                }
              ],
              "latest": {
                "date": "2026-05-01",
                "value": 4.33
              },
              "prior": {
                "date": "2026-04-01",
                "value": 4.33
              },
              "series_id": "FEDFUNDS",
              "source": "fred",
              "title": "Effective Federal Funds Rate",
              "unit": "percent",
              "yoy_percent": -2.8
            },
            "gdp": {
              "as_of": "2026-01-01T00:00:00.000Z",
              "change": 122.3,
              "change_percent": 0.52,
              "frequency": "quarterly",
              "history": [
                {
                  "date": "2026-01-01",
                  "value": 23512.4
                }
              ],
              "latest": {
                "date": "2026-01-01",
                "value": 23512.4
              },
              "prior": {
                "date": "2025-10-01",
                "value": 23390.1
              },
              "series_id": "GDPC1",
              "source": "fred",
              "title": "Real Gross Domestic Product",
              "unit": "billions_of_chained_2017_usd_saar",
              "yoy_percent": 2.4
            },
            "labor": {
              "as_of": "2026-04-01T00:00:00.000Z",
              "metrics": [
                {
                  "change": -0.1,
                  "latest_month": "2026-04",
                  "latest_value": 4.1,
                  "metric": "unemployment_rate",
                  "prior_value": 4.2,
                  "unit": "percent"
                }
              ],
              "series": "us_labor_market_headline",
              "source": "us_bls"
            },
            "pce": {
              "as_of": "2026-04-01T00:00:00.000Z",
              "core": {
                "latest_index": 128.9,
                "latest_month": "2026-04-01",
                "series_id": "PCEPILFE",
                "yoy_percent": 2.6
              },
              "headline": {
                "latest_index": 127.4,
                "latest_month": "2026-04-01",
                "series_id": "PCEPI",
                "yoy_percent": 2.3
              },
              "history": [
                {
                  "date": "2026-04-01",
                  "value": 127.4
                }
              ],
              "series": "pce_price_index",
              "source": "fred",
              "unit": "index_2017=100"
            },
            "sections": {
              "cpi": "ok",
              "fed_funds": "ok",
              "gdp": "ok",
              "labor": "ok",
              "pce": "ok",
              "treasury_yields": "ok"
            },
            "source": "x402stock",
            "treasury_yields": {
              "as_of": "2026-05-29T00:00:00.000Z",
              "count": 1,
              "maturities": [
                "1mo",
                "1.5mo",
                "2mo",
                "3mo",
                "4mo",
                "6mo",
                "1yr",
                "2yr",
                "3yr",
                "5yr",
                "7yr",
                "10yr",
                "20yr",
                "30yr"
              ],
              "rates": [
                {
                  "date": "2026-05-29",
                  "rates": {
                    "1.5mo": 3.71,
                    "10yr": 4.19,
                    "1mo": 3.72,
                    "1yr": 3.47,
                    "20yr": 4.81,
                    "2mo": 3.66,
                    "2yr": 3.47,
                    "30yr": 4.86,
                    "3mo": 3.65,
                    "3yr": 3.55,
                    "4mo": 3.62,
                    "5yr": 3.74,
                    "6mo": 3.58,
                    "7yr": 3.95
                  }
                }
              ],
              "series": "daily_treasury_par_yield_curve",
              "source": "us_treasury",
              "unit": "percent"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {},
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "as_of": {
                    "type": "string"
                  },
                  "cpi": {
                    "anyOf": [
                      {
                        "additionalProperties": false,
                        "properties": {
                          "as_of": {
                            "type": "string"
                          },
                          "core": {
                            "additionalProperties": false,
                            "properties": {
                              "latest_index": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "latest_month": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "yoy_percent": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "latest_index",
                              "latest_month",
                              "yoy_percent"
                            ],
                            "type": "object"
                          },
                          "headline": {
                            "additionalProperties": false,
                            "properties": {
                              "latest_index": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "latest_month": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "yoy_percent": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "latest_index",
                              "latest_month",
                              "yoy_percent"
                            ],
                            "type": "object"
                          },
                          "history": {
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "period_name": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "number"
                                }
                              },
                              "required": [
                                "date",
                                "period_name",
                                "value"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          "series": {
                            "type": "string"
                          },
                          "source": {
                            "const": "us_bls",
                            "type": "string"
                          },
                          "unit": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "source",
                          "as_of",
                          "series",
                          "unit",
                          "headline",
                          "core",
                          "history"
                        ],
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fed_funds": {
                    "anyOf": [
                      {
                        "additionalProperties": false,
                        "properties": {
                          "as_of": {
                            "type": "string"
                          },
                          "change": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "change_percent": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "frequency": {
                            "type": "string"
                          },
                          "history": {
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "number"
                                }
                              },
                              "required": [
                                "date",
                                "value"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          "latest": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "date": {
                                    "type": "string"
                                  },
                                  "value": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "date",
                                  "value"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "prior": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "date": {
                                    "type": "string"
                                  },
                                  "value": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "date",
                                  "value"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "series_id": {
                            "type": "string"
                          },
                          "source": {
                            "const": "fred",
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string"
                          },
                          "yoy_percent": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "source",
                          "as_of",
                          "series_id",
                          "title",
                          "unit",
                          "frequency",
                          "latest",
                          "prior",
                          "change",
                          "change_percent",
                          "yoy_percent",
                          "history"
                        ],
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "gdp": {
                    "anyOf": [
                      {
                        "additionalProperties": false,
                        "properties": {
                          "as_of": {
                            "type": "string"
                          },
                          "change": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "change_percent": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "frequency": {
                            "type": "string"
                          },
                          "history": {
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "number"
                                }
                              },
                              "required": [
                                "date",
                                "value"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          "latest": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "date": {
                                    "type": "string"
                                  },
                                  "value": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "date",
                                  "value"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "prior": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "date": {
                                    "type": "string"
                                  },
                                  "value": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "date",
                                  "value"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "series_id": {
                            "type": "string"
                          },
                          "source": {
                            "const": "fred",
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "unit": {
                            "type": "string"
                          },
                          "yoy_percent": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "source",
                          "as_of",
                          "series_id",
                          "title",
                          "unit",
                          "frequency",
                          "latest",
                          "prior",
                          "change",
                          "change_percent",
                          "yoy_percent",
                          "history"
                        ],
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "labor": {
                    "anyOf": [
                      {
                        "additionalProperties": false,
                        "properties": {
                          "as_of": {
                            "type": "string"
                          },
                          "metrics": {
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "change": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "latest_month": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "latest_value": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "metric": {
                                  "type": "string"
                                },
                                "prior_value": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "unit": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "metric",
                                "unit",
                                "latest_value",
                                "latest_month",
                                "prior_value",
                                "change"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          "series": {
                            "type": "string"
                          },
                          "source": {
                            "const": "us_bls",
                            "type": "string"
                          }
                        },
                        "required": [
                          "source",
                          "as_of",
                          "series",
                          "metrics"
                        ],
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "pce": {
                    "anyOf": [
                      {
                        "additionalProperties": false,
                        "properties": {
                          "as_of": {
                            "type": "string"
                          },
                          "core": {
                            "additionalProperties": false,
                            "properties": {
                              "latest_index": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "latest_month": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "series_id": {
                                "type": "string"
                              },
                              "yoy_percent": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "series_id",
                              "latest_index",
                              "latest_month",
                              "yoy_percent"
                            ],
                            "type": "object"
                          },
                          "headline": {
                            "additionalProperties": false,
                            "properties": {
                              "latest_index": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "latest_month": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "series_id": {
                                "type": "string"
                              },
                              "yoy_percent": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "series_id",
                              "latest_index",
                              "latest_month",
                              "yoy_percent"
                            ],
                            "type": "object"
                          },
                          "history": {
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "number"
                                }
                              },
                              "required": [
                                "date",
                                "value"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          "series": {
                            "type": "string"
                          },
                          "source": {
                            "const": "fred",
                            "type": "string"
                          },
                          "unit": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "source",
                          "as_of",
                          "series",
                          "unit",
                          "headline",
                          "core",
                          "history"
                        ],
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "sections": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "propertyNames": {
                      "type": "string"
                    },
                    "type": "object"
                  },
                  "source": {
                    "const": "x402stock",
                    "type": "string"
                  },
                  "treasury_yields": {
                    "anyOf": [
                      {
                        "additionalProperties": false,
                        "properties": {
                          "as_of": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "count": {
                            "type": "number"
                          },
                          "maturities": {
                            "items": {
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "rates": {
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "rates": {
                                  "additionalProperties": {
                                    "anyOf": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "type": "object"
                                }
                              },
                              "required": [
                                "date",
                                "rates"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          "series": {
                            "type": "string"
                          },
                          "source": {
                            "const": "us_treasury",
                            "type": "string"
                          },
                          "unit": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "source",
                          "as_of",
                          "series",
                          "unit",
                          "maturities",
                          "count",
                          "rates"
                        ],
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "source",
                  "as_of",
                  "sections",
                  "fed_funds",
                  "cpi",
                  "pce",
                  "labor",
                  "gdp",
                  "treasury_yields"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402stock.xyz",
  "lastUpdated": "2026-09-14T19:09:10.812Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-09-14T19:09:10.551Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402stock.xyz",
    "manifest_name": "x402stock.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}