# Blockrun US Stock OHLC Bars - META

> Blockrun US Stock OHLC Bars - META is a paid API for AI agents from blockrun-web-vbsbhh7lea-uc.a.run.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns historical OHLC (Open, High, Low, Close, Volume) bar data for META (Meta Platforms) stock at configurable resolutions via a pay-per-call x402 API

## Facts

- Endpoint: GET https://blockrun-web-vbsbhh7lea-uc.a.run.app/api/v1/stocks/us/history/META
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockrun-us-stock-ohlc-bars-meta-d564c236
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tr8bKdTlkdbJs5Ss0SU7K

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability blockrun-us-stock-ohlc-bars-meta-d564c236
```

Example prompt: Can you pull the daily OHLC bars for META from January 1, 2024 to March 31, 2024? I want the open, high, low, close, and volume for each day.

## When to prefer this

Use this endpoint when you need historical OHLC candlestick data specifically for META (Meta Platforms) stock, sourced from Pyth Network, with flexible resolution (1min to monthly) and optional pre/post market session filtering. Prefer this over realtime price endpoints when you need a time-series of bars for backtesting, charting, or trend analysis over a date range.

## Known failure modes

- Invalid or unsupported ticker symbol returns an error
- from/to timestamps out of available data range returns empty bars array
- Malformed Unix timestamp values cause a 400 bad request
- Missing required query parameters (from, to) result in validation error
- Payment failure (x402) blocks access if USDC not provided
- Network timeout on the Cloud Run backend

## How this service works

US Stock OHLC bars for META @ D

## Output

An array of OHLC bar objects for META stock, each containing bar start timestamp (Unix seconds), open, high, low, close prices, and volume, along with the symbol, resolution, and data source (Pyth). Time window is bounded by from/to Unix timestamps.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "path": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "example": "AAPL",
       "description": "NYSE/Nasdaq/AMEX ticker (AAPL, TSLA, NVDA, CRCL, SPY, …)."
      }
     }
    },
    "query": {
     "type": "object",
     "required": [
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "integer",
       "description": "Window end (Unix seconds)."
      },
      "from": {
       "type": "integer",
       "description": "Window start (Unix seconds)."
      },
      "session": {
       "enum": [
        "pre",
        "post",
        "on"
       ],
       "type": "string",
       "description": "Optional US market session."
      },
      "resolution": {
       "enum": [
        "1",
        "5",
        "15",
        "60",
        "240",
        "D",
        "W",
        "M"
       ],
       "type": "string",
       "default": "D",
       "description": "Bar resolution (TradingView convention): 1/5/15/60/240 min, D day, W week, M month."
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "symbol",
    "resolution",
    "bars",
    "source"
   ],
   "properties": {
    "to": {
     "type": "integer"
    },
    "bars": {
     "type": "array",
     "items": {
      "type": "object",
      "required": [
       "t",
       "o",
       "h",
       "l",
       "c",
       "v"
      ],
      "properties": {
       "c": {
        "type": "number",
        "description": "Close"
       },
       "h": {
        "type": "number",
        "description": "High"
       },
       "l": {
        "type": "number",
        "description": "Low"
       },
       "o": {
        "type": "number",
        "description": "Open"
       },
       "t": {
        "type": "integer",
        "description": "Bar start (Unix seconds)"
       },
       "v": {
        "type": "number",
        "description": "Volume"
       }
      }
     }
    },
    "from": {
     "type": "integer"
    },
    "source": {
     "type": "string",
     "const": "pyth"
    },
    "symbol": {
     "type": "string",
     "example": "AAPL"
    },
    "resolution": {
     "type": "string",
     "example": "D"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockrun-us-stock-ohlc-bars-meta-d564c236/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from blockrun-web-vbsbhh7lea-uc.a.run.app](https://www.zero.xyz/host/blockrun-web-vbsbhh7lea-uc.a.run.app/llms.txt)
