# x402stock US Stocks Endpoint

> x402stock US Stocks Endpoint is a paid API for AI agents from agents.x402stock.xyz, paid per call via x402 or MPP, $0.04/call, status unknown (last checked 2026-10-29).

Retrieves US stock and ETF market data (quotes, prices, fundamentals) for AI agents via pay-per-request USDC payments

## Facts

- Endpoint: GET https://agents.x402stock.xyz/api/v1/xstocks?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-us-stocks-endpoint-4416abe1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YGwHMUNsgXYJ1HRUsnWCV

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 x402stock-us-stocks-endpoint-4416abe1
```

Example prompt: Can you pull the latest market data for NVDA from x402stock? I want to see current price and any available fundamentals.

## When to prefer this

Choose this endpoint when you need US stock or ETF market data without a long-term API subscription, especially in an agentic context where autonomous pay-per-request USDC payments via x402 are acceptable. Ideal for AI agents that need occasional equity lookups without account setup overhead.

## Known failure modes

- Invalid or unrecognized ticker symbol returns an error or empty result
- Insufficient USDC balance causes payment failure and request rejection
- Ticker not listed on a US exchange may not be supported
- Rate limiting or network issues may cause transient failures
- Malformed properties parameter may return unexpected data subsets

## How this service works

Tokenized-equity (xStocks) on-chain prices vs. underlyings, with premium.

## Output

Returns market data for the requested US stock or ETF ticker, including price, quote, and any available fundamental or descriptive fields, delivered as a JSON response after a per-request USDC payment via x402 protocol.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "source",
  "as_of",
  "venue",
  "protocol",
  "program",
  "note",
  "us_market_open",
  "sections",
  "count",
  "items"
 ],
 "properties": {
  "note": {
   "type": "string"
  },
  "as_of": {
   "type": "string"
  },
  "count": {
   "type": "number"
  },
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "symbol",
     "underlying",
     "pool",
     "mint",
     "xstock_price_usd",
     "pool_price_raw_unit",
     "multiplier",
     "liquidity",
     "tick_current",
     "underlying_price_usd",
     "underlying_change_percent",
     "underlying_market_status",
     "premium_percent"
    ],
    "properties": {
     "mint": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ]
     },
     "pool": {
      "type": "string"
     },
     "symbol": {
      "type": "string"
     },
     "liquidity": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "multiplier": {
      "type": "number"
     },
     "underlying": {
      "type": "string"
     },
     "tick_current": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "premium_percent": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "xstock_price_usd": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "pool_price_raw_unit": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "underlying_price_usd": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "underlying_market_status": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ]
     },
     "underlying_change_percent": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "additionalProperties": false
   }
  },
  "venue": {
   "type": "string",
   "const": "solana"
  },
  "source": {
   "type": "string",
   "const": "x402stock"
  },
  "program": {
   "type": "string"
  },
  "protocol": {
   "type": "string",
   "const": "raydium-clmm"
  },
  "sections": 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-us-stocks-endpoint-4416abe1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.x402stock.xyz](https://www.zero.xyz/host/agents.x402stock.xyz/llms.txt)
