# DopamineDesk Stock Quotes API

> DopamineDesk Stock Quotes API is a paid API for AI agents from ai-data-marketplace-1042299154756.us-central1.run.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Returns real-time US stock quote data including price, bid, ask, and timestamp for a given ticker symbol.

## Facts

- Endpoint: GET https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/stock_quotes
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dopaminedesk-stock-quotes-api-e48c8622
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_67dKRQsQj4f5mWf-TaquL

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 dopaminedesk-stock-quotes-api-e48c8622
```

Example prompt: What is the current stock price of MSFT, including the bid and ask?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-use real-time US stock quote with bid/ask data and no subscription required. Ideal for AI agents that need occasional price lookups without committing to a traditional financial data subscription. The x402 USDC micropayment model makes it cost-effective for low-frequency queries.

## Known failure modes

- Invalid or unrecognized ticker symbol returns an error response
- Market closed hours may return stale or unavailable data
- Payment failure via x402 results in a 402 response and no data returned
- Missing required 'symbol' query parameter causes a 400 bad request

## How this service works

Get current stock market data for one ticker, including the latest available quote, daily OHLC values, and volume from Yahoo Finance's chart feed.

## Output

Returns a JSON object with the ticker symbol, current price, bid price, ask price, and a Unix timestamp indicating when the quote was taken.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "US stock ticker symbol."
      }
     },
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "success",
      "source",
      "source_url",
      "fetched_at",
      "data",
      "marketplace_metadata"
     ],
     "properties": {
      "data": {
       "type": "string"
      },
      "source": {
       "type": "string"
      },
      "success": {
       "type": "boolean"
      },
      "fetched_at": {
       "type": "string"
      },
      "source_url": {
       "type": "string"
      },
      "marketplace_metadata": {
       "type": "string"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": "[object with keys: symbol, exchange, currency, price, previous_close, open; full example in /openapi.json]",
  "source": "Yahoo Finance chart API",
  "success": true,
  "fetched_at": "2026-08-07T07:32:28.971Z",
  "source_url": "https://finance.yahoo.com/quote/MSFT",
  "marketplace_metadata": "[object with keys: data_mode, billable, availability, source; full example in /openapi.json]"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dopaminedesk-stock-quotes-api-e48c8622/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ai-data-marketplace-1042299154756.us-central1.run.app](https://www.zero.xyz/host/ai-data-marketplace-1042299154756.us-central1.run.app/llms.txt)
