# Robinhood Chain Tokenized Stock Basis (RH Basis)

> Robinhood Chain Tokenized Stock Basis (RH Basis) is a paid API for AI agents from x402-services-production.up.railway.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Returns the real-time price dislocation (basis) between a tokenized stock on Robinhood Chain and the underlying equity, enabling arbitrage and gap detection for AI trading agents.

## Facts

- Endpoint: POST https://x402-services-production.up.railway.app/api/rh/basis
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/robinhood-chain-tokenized-stock-basis-rh-basis-3262b634
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M4DPmHH32KVF2ECYHCD4r

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 robinhood-chain-tokenized-stock-basis-rh-basis-3262b634 -d '<json body>'
```

Example prompt: What's the current basis — the price gap between the tokenized AAPL on Robinhood Chain and the real Apple stock equity price — and is there an arbitrage opportunity right now?

## When to prefer this

Use this endpoint when you specifically need the price dislocation between a tokenized equity on Robinhood Chain and its real-world counterpart — not for generic crypto token prices, perp funding rates, or DeFi lending. Ideal for arbitrage bots, gap-radar strategies, or pre-trade sanity checks on tokenized stocks. Choose this over generic price feeds when Robinhood Chain onchain-vs-offchain spread is the core signal needed.

## Known failure modes

- Invalid or unrecognized ticker symbol returns an error or empty result
- Market closed / after-hours may produce stale or missing reference equity price
- Robinhood Chain oracle outage can cause deviation data to be unavailable
- Payment failure in USDC/stablecoin prevents call from completing
- Network timeout on Railway-hosted service during high load

## How this service works

Three-way basis for a tokenized stock: Lighter perp mark vs canonical onchain spot (Robinhood Chain DEX) vs last real-equity close, with each pairwise spread %. Send { ticker }. The cash-and-carry / basis-trade signal across perp, spot, and the underlying share.

## Output

Returns the real-time basis (price spread or percentage dislocation) between the tokenized version of the requested stock or ETF on Robinhood Chain and the underlying real-world equity price, enabling agents to identify arbitrage gaps, oracle deviations, and timing signals.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/robinhood-chain-tokenized-stock-basis-rh-basis-3262b634/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-services-production.up.railway.app](https://www.zero.xyz/host/x402-services-production.up.railway.app/llms.txt)
