> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yehangshe.com/llms.txt
> Use this file to discover all available pages before exploring further.

# US macro indicator time series (on-demand materialization)



## OpenAPI

````yaml https://api.yehangshe.com/v1/openapi.json get /v1/macro/economy-indicator/{indicator}
openapi: 3.1.0
info:
  title: GEX Heatmap Data API
  version: 0.2.0-dealer-mvp-registry
  description: >-
    Dealer MVP scope. 数据集端点 paths 由 dataset registry 派生；Dealer GEX / Heatmap
    数据集随 P2 注册后自动出现。
servers:
  - url: https://api.yehangshe.com
    description: production
security: []
paths:
  /v1/macro/economy-indicator/{indicator}:
    get:
      summary: US macro indicator time series (on-demand materialization)
      parameters:
        - name: indicator
          in: path
          required: true
          schema:
            type: string
            enum:
              - gdp
              - gdp-per-capita
              - treasury-yield
              - fed-funds
              - cpi
              - inflation
              - retail-sales
              - durables
              - unemployment
              - payrolls
        - name: interval
          in: query
          required: false
          schema:
            type: string
            enum:
              - daily
              - weekly
              - monthly
              - quarterly
              - annual
              - semiannual
        - name: maturity
          in: query
          required: false
          schema:
            type: string
            enum:
              - 3month
              - 2year
              - 5year
              - 7year
              - 10year
              - 30year
      responses:
        '200':
          description: object payload
        '400':
          description: validation error
        '401':
          description: authentication error
        '402':
          description: subscription paused
        '403':
          description: scope insufficient
        '429':
          description: rate limited or quota exhausted
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key

````