# BlockRun AMZN US Stock Realtime Price

> BlockRun AMZN 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 unknown (last checked 2026-09-14).

Returns the current real-time price of Amazon (AMZN) stock sourced from Pyth Network, with confidence interval and publish timestamp

## Facts

- Endpoint: GET https://blockrun-web-vbsbhh7lea-uc.a.run.app/api/v1/stocks/us/price/AMZN
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockrun-amzn-us-stock-realtime-price-75d8115f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4Ec1Lk0lVdfZJRltZT5wL

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-amzn-us-stock-realtime-price-75d8115f
```

Example prompt: What's the current real-time price of Amazon (AMZN) stock right now during regular trading hours?

## When to prefer this

Use this endpoint when you need a real-time, oracle-sourced price for Amazon (AMZN) stock with a confidence interval, particularly in DeFi or blockchain-adjacent workflows where Pyth Network provenance and feed IDs are important. Prefer over traditional brokerage APIs when you need on-chain-compatible price data or are operating in a pay-per-call micro-payment (x402) environment.

## Known failure modes

- Invalid or unsupported ticker symbol returns an error (though AMZN is hardcoded in this URL path)
- Invalid session enum value returns a 400 bad request
- Market closed outside of session hours may return stale or unavailable data
- Payment not provided or insufficient USDC results in 402 Payment Required
- Pyth oracle feed unavailable returns a 503 or timeout

## How this service works

US Stock realtime price for AMZN

## Output

Returns a JSON object with AMZN's current price (number), a confidence margin, the Pyth Hermes feed ID (0x-prefixed hex), the data source ('pyth'), asset type ('equity'), the ticker symbol, an ISO-8601 UTC timestamp, and a Unix seconds publish time.

## Example request

```json
{
 "input": {
  "path": {
   "symbol": "AMZN"
  },
  "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-amzn-us-stock-realtime-price-75d8115f/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)
