{
  "x402Version": 2,
  "id": 1541,
  "slug": "1541",
  "resource": "https://marketdata.use.x402atlas.com/prev-close",
  "description": "Previous trading day OHLC bar for stocks, crypto, forex and options — yesterday's open/high/low/close and volume by ticker.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x9D667BC76F166322df087b3B3927D4d83D44A5d0",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "15000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x9D667BC76F166322df087b3B3927D4d83D44A5d0",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "15000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0x9D667BC76F166322df087b3B3927D4d83D44A5d0",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "15000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "ASt6xvRyQ7ntERsmcYVMdLqZvz1GEN8Fzexzq62tXrNQ",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "15000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "category": "finance",
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "adjusted": true,
            "ticker": "AAPL"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "adjusted": true,
            "candle": {
              "close": 211.8,
              "high": 212.4,
              "low": 209.5,
              "open": 210.1,
              "time": "2026-07-02T00:00:00Z",
              "transactions": 480000,
              "volume": 51000000,
              "vwap": 211.2
            },
            "queried_at": "2026-07-06T12:00:00Z",
            "ticker": "AAPL"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "adjusted": {
                    "default": true,
                    "description": "Adjust for splits",
                    "type": "boolean"
                  },
                  "ticker": {
                    "description": "Asset-prefixed ticker, e.g. AAPL, X:BTCUSD, C:EURUSD",
                    "type": "string"
                  }
                },
                "required": [
                  "ticker"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "adjusted": {
                    "description": "Whether the price is split-adjusted.",
                    "type": "boolean"
                  },
                  "candle": {
                    "description": "Previous trading day's OHLCV bar.",
                    "properties": {
                      "close": {
                        "type": "number"
                      },
                      "high": {
                        "type": "number"
                      },
                      "low": {
                        "type": "number"
                      },
                      "open": {
                        "type": "number"
                      },
                      "time": {
                        "description": "Bar start timestamp.",
                        "format": "date-time",
                        "type": "string"
                      },
                      "transactions": {
                        "description": "Number of upstream transactions in the bar.",
                        "type": "integer"
                      },
                      "volume": {
                        "type": "number"
                      },
                      "vwap": {
                        "description": "Volume-weighted average price.",
                        "type": "number"
                      }
                    },
                    "required": [
                      "time",
                      "open",
                      "high",
                      "low",
                      "close",
                      "volume",
                      "vwap",
                      "transactions"
                    ],
                    "type": "object"
                  },
                  "queried_at": {
                    "description": "UTC timestamp when this bridge queried the upstream.",
                    "format": "date-time",
                    "type": "string"
                  },
                  "ticker": {
                    "description": "Echo of the requested ticker.",
                    "type": "string"
                  }
                },
                "required": [
                  "queried_at",
                  "ticker",
                  "adjusted",
                  "candle"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      },
      "tags": [
        "ohlc",
        "previous-close",
        "daily-bar",
        "stocks",
        "crypto",
        "forex",
        "market-data",
        "marketdata"
      ]
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "marketdata.use.x402atlas.com",
  "lastUpdated": "2026-09-15T06:31:21.607Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-15T06:31:21.507Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "marketdata.use.x402atlas.com",
    "manifest_name": "marketdata.use.x402atlas.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}