Market Data · x402

The US macro backdrop in one call: the federal funds rate, CPI and PCE inflation, the l…

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…

by x402stock.xyz · discovered, not yet claimed by its owner · updated 2026-10-09

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

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

Tags: bazaar

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/39924.json for the price and payment options.
  3. Pay. Call GET https://x402stock.xyz/api/v1/macro. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.05 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Calls (30d)
7 · 3 unique payers (third-party data from the public x402 Bazaar)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.050x3070Fbb3803819fB5BdfE9286fdc6325A877fA85300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "50000",
    "amountUsd": 0.05,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "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"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "as_of": "string",
    "cpi": null,
    "fed_funds": null,
    "gdp": null,
    "labor": null,
    "pce": null,
    "sections": {},
    "source": "string",
    "treasury_yields": null
  },
  "type": "string"
}

Examples

curl
curl "https://x402stock.xyz/api/v1/macro"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402stock.xyz/api/v1/macro");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://x402stock.xyz/api/v1/macro")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
x402stock.xyz
Endpoint
https://x402stock.xyz/api/v1/macro
Machine-readable
/resources/39924.json