{
  "openapi": "3.1.0",
  "info": {
    "title": "AgentProperty",
    "version": "1.0.0",
    "description": "U.S. real estate intelligence \u2014 Zillow home price indices, FRED housing market indicators, and rental data. Pay-per-request via x402 protocol on Base mainnet.",
    "contact": {
      "name": "Ocean Digital Group",
      "url": "https://memoryapi.org"
    }
  },
  "servers": [
    {
      "url": "https://property.memoryapi.org",
      "description": "Production"
    }
  ],
  "paths": {
    "/x402/property/prices": {
      "get": {
        "summary": "Home price data",
        "description": "U.S. home price indices from Zillow ZHVI (by metro) and FRED MSPUS (national median). Returns current value, YoY change, and 12-month history.",
        "x-price": "$0.001 USDC",
        "parameters": [
          {
            "name": "metro",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Metro area name (e.g. 'New York, NY', 'Austin, TX')"
          },
          {
            "name": "state",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "2-letter state code for state-level data"
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 12
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Home price data with history"
          },
          "402": {
            "description": "Payment required"
          }
        }
      }
    },
    "/x402/property/rentals": {
      "get": {
        "summary": "Rental market data",
        "description": "U.S. rental market data \u2014 national rent CPI index (FRED) and median gross rent by state (Census ACS).",
        "x-price": "$0.001 USDC",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 12
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Rental market data"
          },
          "402": {
            "description": "Payment required"
          }
        }
      }
    },
    "/x402/property/market": {
      "get": {
        "summary": "Housing market indicators",
        "description": "5 key housing market indicators from FRED: housing starts, building permits, median home price, 30-year mortgage rate, and Case-Shiller index.",
        "x-price": "$0.001 USDC",
        "responses": {
          "200": {
            "description": "Housing market indicators with latest values and changes"
          },
          "402": {
            "description": "Payment required"
          }
        }
      }
    },
    "/mcp": {
      "post": {
        "summary": "MCP endpoint",
        "description": "Model Context Protocol endpoint. Tools: get_home_prices, get_rental_data, get_market_indicators",
        "responses": {
          "200": {
            "description": "MCP response"
          }
        },
        "security": []
      }
    }
  },
  "components": {
    "securitySchemes": {
      "x402": {
        "type": "http",
        "scheme": "bearer",
        "description": "x402 payment protocol \u2014 send USDC payment on Base mainnet"
      }
    }
  }
}