Api Endpoint

MacroPulse API

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

Open interactive test console

Offering

Provider
x402stock.xyz
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Financial Analysis
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402stock.xyz/api/v1/macro
MIME type
application/json
First seen
2026-10-16T01:52:13.818Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.05 USDC
Atomic price: 50000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "50000",
    "payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85"
  }
]

Observed health

Status
Healthy
Latest latency
169 ms
Average latency
2013 ms
HTTP status
402
Last checked
Reachability
91.7% over 12 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "source": {
          "type": "string",
          "const": "x402stock"
        },
        "as_of": {
          "type": "string"
        },
        "sections": {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "type": "string"
          }
        },
        "fed_funds": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "source": {
                  "type": "string",
                  "const": "fred"
                },
                "as_of": {
                  "type": "string"
                },
                "series_id": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "unit": {
                  "type": "string"
                },
                "frequency": {
                  "type": "string"
                },
                "latest": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "date": {
                          "type": "string"
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "date",
                        "value"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "prior": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "date": {
                          "type": "string"
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "date",
                        "value"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "change": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "change_percent": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "yoy_percent": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "history": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "date": {
                        "type": "string"
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "date",
                      "value"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "source",
                "as_of",
                "series_id",
                "title",
                "unit",
                "frequency",
                "latest",
                "prior",
                "change",
                "change_percent",
                "yoy_percent",
                "history"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "cpi": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "source": {
                  "type": "string",
                  "const": "us_bls"
                },
                "as_of": {
                  "type": "string"
                },
                "series": {
                  "type": "string"
                },
                "unit": {
                  "type": "string"
                },
                "headline": {
                  "type": "object",
                  "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"
                  ],
                  "additionalProperties": false
                },
                "core": {
                  "type": "object",
                  "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"
                  ],
                  "additionalProperties": false
                },
                "history": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "date": {
                        "type": "string"
                      },
                      "period_name": {
                        "type": "string"
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "date",
                      "period_name",
                      "value"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "source",
                "as_of",
                "series",
                "unit",
                "headline",
                "core",
                "history"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "pce": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "source": {
                  "type": "string",
                  "const": "fred"
                },
                "as_of": {
                  "type": "string"
                },
                "series": {
                  "type": "string"
                },
                "unit": {
                  "type": "string"
                },
                "headline": {
                  "type": "object",
                  "properties": {
                    "series_id": {
                      "type": "string"
                    },
                    "latest_index": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "latest_month": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "yoy_percent": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "series_id",
                    "latest_index",
                    "latest_month",
                    "yoy_percent"
                  ],
                  "additionalProperties": false
                },
                "core": {
                  "type": "object",
                  "properties": {
                    "series_id": {
                      "type": "string"
                    },
                    "latest_index": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "latest_month": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "yoy_percent": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "series_id",
                    "latest_index",
                    "latest_month",
                    "yoy_percent"
                  ],
                  "additionalProperties": false
                },
                "history": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "date": {
                        "type": "string"
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "date",
                      "value"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "source",
                "as_of",
                "series",
                "unit",
                "headline",
                "core",
                "history"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "labor": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "source": {
                  "type": "string",
                  "const": "us_bls"
                },
                "as_of": {
                  "type": "string"
                },
                "series": {
                  "type": "string"
                },
                "metrics": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "metric": {
                        "type": "string"
                      },
                      "unit": {
                        "type": "string"
                      },
                      "latest_value": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "latest_month": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "prior_value": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "change": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "metric",
                      "unit",
                      "latest_value",
                      "latest_month",
                      "prior_value",
                      "change"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "source",
                "as_of",
                "series",
                "metrics"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "gdp": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "source": {
                  "type": "string",
                  "const": "fred"
                },
                "as_of": {
                  "type": "string"
                },
                "series_id": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "unit": {
                  "type": "string"
                },
                "frequency": {
                  "type": "string"
                },
                "latest": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "date": {
                          "type": "string"
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "date",
                        "value"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "prior": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "date": {
                          "type": "string"
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "date",
                        "value"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "change": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "change_percent": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "yoy_percent": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "history": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "date": {
                        "type": "string"
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "date",
                      "value"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "source",
                "as_of",
                "series_id",
                "title",
                "unit",
                "frequency",
                "latest",
                "prior",
                "change",
                "change_percent",
                "yoy_percent",
                "history"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "treasury_yields": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "source": {
                  "type": "string",
                  "const": "us_treasury"
                },
                "as_of": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "series": {
                  "type": "string"
                },
                "unit": {
                  "type": "string"
                },
                "maturities": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "count": {
                  "type": "number"
                },
                "rates": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "date": {
                        "type": "string"
                      },
                      "rates": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    },
                    "required": [
                      "date",
                      "rates"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "source",
                "as_of",
                "series",
                "unit",
                "maturities",
                "count",
                "rates"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "source",
        "as_of",
        "sections",
        "fed_funds",
        "cpi",
        "pce",
        "labor",
        "gdp",
        "treasury_yields"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type"
  ]
}