Roundlot is an MCP server and a REST API with the same four tools. Agents use it to price and plan trades in NVDA, SPY and TSLA xStocks, the tokenized equities on X Layer, without running their own indexing or market-hours logic.
| Tool | Price | What it returns |
|---|---|---|
catalog | free | Supported symbols, token and wrapper addresses, venues, parameters and prices |
session | $0.005 | Whether the US market is open and what that means for the token's price |
quote | $0.01 | The fill for a buy or sell against live Uniswap v3 liquidity, compared with the OKX spot book |
plan_trade | $0.02 | Ordered, unsigned transactions that execute the trade |
Payments settle on X Layer testnet in USD₮0, so trying Roundlot costs nothing real. Every price and every generated transaction is X Layer mainnet. Not investment advice.
Endpoints#
- MCP (streamable HTTP, stateless):
https://api.roundlot.0xo.in/mcp - REST:
https://api.roundlot.0xo.in/v1/<tool>, GET with query parameters or POST with a JSON body - Health:
https://api.roundlot.0xo.in/health
The full list is in Endpoints.
How paying works#
A paid call first answers with its price, as an x402 PaymentRequired object. The caller signs a USD₮0 transfer authorization and repeats the call; Roundlot verifies it, runs the tool and settles the payment only if the tool succeeds. The caller never needs gas. See How x402 payments work.
What Roundlot never does#
- It never holds your keys or funds, and never signs or sends a trade:
plan_tradereturns unsigned transactions. - It never charges for a call it refuses.
- It never uses mainnet money today: mainnet payments are configured and switched off.
Where to go next#
- Quickstart: connect an MCP client and make a first call.
- Try it in the browser: watch one paid call happen without a wallet.
- Build an agent that trades xStocks: the full flow, end to end.