# Blockrun US Stock Realtime Price - SBUX

> Blockrun US Stock Realtime Price - SBUX 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 real-time price data for Starbucks (SBUX) US stock sourced from Pyth Network, with optional pre/post market session support

## Facts

- Endpoint: GET https://blockrun-web-vbsbhh7lea-uc.a.run.app/api/v1/stocks/us/price/SBUX
- 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-realtime-price-sbux-2fae3b61
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IDTgq418wqnlNakG6LpRh

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-realtime-price-sbux-2fae3b61
```

Example prompt: What is Starbucks (SBUX) trading at right now, including the pre-market session price and how confident the data feed is?

## When to prefer this

Use this endpoint when you need real-time Starbucks (SBUX) stock price data with a confidence score, sourced from the Pyth Network oracle. Prefer this over traditional market data APIs when operating in a crypto-native or x402 micropayment environment, or when you need pre/post-market session prices with on-chain verifiable data provenance via Pyth feed IDs.

## Known failure modes

- Invalid or unsupported ticker symbol returns an error (only SBUX is valid for this endpoint)
- Invalid session enum value (anything other than 'pre', 'post', or 'on') may return a 400 error
- Stale or unavailable Pyth feed may result in outdated publishTime or missing data
- Payment failure (x402) if USDC micropayment of $0.003 is not processed correctly
- Service unavailability returns 5xx errors from Google Cloud Run

## How this service works

US Stock realtime price for SBUX

## Output

Returns a JSON object with the current SBUX stock price (numeric), confidence interval, ISO-8601 timestamp, Unix publishTime, Pyth Hermes feed ID (0x-prefixed hex), asset type ('equity'), and symbol confirmation. Data is sourced from Pyth Network's oracle feed.

## 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-us-stock-realtime-price-sbux-2fae3b61/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)
