# BlockRun AAPL US Stock Realtime Price

> BlockRun AAPL US Stock Realtime Price is a paid API for AI agents from blockrun-web-vbsbhh7lea-uc.a.run.app, paid per call via x402, $0.001/call, status down (last checked 2026-09-15, last successful call 2026-06-26).

Returns the real-time price of Apple Inc. (AAPL) stock sourced from Pyth Network, with optional pre/post/on-session filtering.

## Facts

- Endpoint: GET https://blockrun-web-vbsbhh7lea-uc.a.run.app/api/v1/stocks/us/price/AAPL
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Last successful call: 2026-06-26
- Success rate: 67% of calls made through Zero
- Activations on Zero: 15
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockrun-aapl-us-stock-realtime-price-087c7779
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UH5sL_qV3QSa_rF8YsGlM

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-aapl-us-stock-realtime-price-087c7779
```

Example prompt: What's the real-time price of AAPL right now during the regular session? I need the Pyth-sourced price along with the confidence interval.

## When to prefer this

Use this endpoint when you need a real-time, oracle-sourced (Pyth Network) price for AAPL specifically, with a confidence score and Pyth feed ID — especially in contexts where on-chain verifiability or micropayment-per-call (x402 protocol) is required, rather than a traditional REST API key subscription.

## Known failure modes

- Invalid or unsupported ticker symbol returns an error — only supported tickers (AAPL, TSLA, NVDA, etc.) are valid
- Invalid session enum value (not 'pre', 'post', or 'on') returns a validation error
- Payment failure (missing or insufficient x402 USDC payment) returns 402 Payment Required
- Pyth feed temporarily unavailable causes stale or missing data response
- Network timeout on the upstream Pyth Hermes feed

## How this service works

US Stock realtime price for AAPL

## Output

Returns a JSON object with the current AAPL stock price (e.g. 270.74), a confidence margin (e.g. 0.153), the Pyth Hermes feed ID (0x-prefixed hex), asset type ('equity'), ISO-8601 timestamp, and Unix publish time.

## Example request

```json
{
 "input": {
  "path": {
   "symbol": "AAPL"
  },
  "query": {
   "session": "on"
  }
 }
}
```

## 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",
     "properties": {
      "session": {
       "enum": [
        "pre",
        "post",
        "on"
       ],
       "type": "string",
       "description": "Optional US market session. Omit for regular hours."
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "symbol",
    "price",
    "confidence",
    "publishTime",
    "source"
   ],
   "properties": {
    "price": {
     "type": "number",
     "example": 273.1
    },
    "feedId": {
     "type": "string",
     "description": "Pyth Hermes feed ID (0x-prefixed hex)"
    },
    "source": {
     "type": "string",
     "const": "pyth"
    },
    "symbol": {
     "type": "string",
     "example": "AAPL"
    },
    "assetType": {
     "enum": [
      "equity",
      "crypto",
      "fx",
      "metal"
     ],
     "type": "string"
    },
    "timestamp": {
     "type": "string",
     "description": "ISO-8601 UTC"
    },
    "confidence": {
     "type": "number",
     "example": 0.15
    },
    "publishTime": {
     "type": "integer",
     "description": "Unix seconds"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockrun-aapl-us-stock-realtime-price-087c7779/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)
