Quickstart

Connect an MCP client, make a first free call, then fund a wallet with testnet USD₮0 for the paid tools.

Connect an MCP client#

Roundlot speaks MCP over streamable HTTP at one URL: https://api.roundlot.0xo.in/mcp.

claude mcp add --transport http roundlot https://api.roundlot.0xo.in/mcp

tools/list returns catalog, quote, session and plan_trade. Only catalog is free.

Most MCP clients can't pay yet.

Clients that can't sign x402 payments still work: a paid tool answers with its price and the REST alternative instead of data. To pay from an agent, use the OKX Agentic Wallet, the OKX CLI or your own code.

Make a first call (free)#

Shell
curl -X POST https://api.roundlot.0xo.in/v1/catalog
curl "https://api.roundlot.0xo.in/v1/catalog?symbol=NVDA"

The catalog lists each tool's parameters and a working example request, so agents don't have to guess names.

Fund a wallet for the paid tools#

  1. Open the X Layer faucet and claim USDT on X Layer testnet to your address.
  2. The faucet's USDT is USD₮0 at 0x9e29b3aada05bf2d2c827af80bd28dc0b9b4fb0c (6 decimals), the token Roundlot is paid in.
  3. You don't need OKB: the facilitator pays the gas.

Pay for a call#

The repository's demo agent connects over MCP and pays for session, quote and plan_trade from a private key:

Shell
git clone https://github.com/Jagadeeshftw/roundlot && cd roundlot && npm ci
DEMO_BUYER_PRIVATE_KEY=0x... npm run demo -w service

Each paid call prints its settlement transaction on the X Layer testnet explorer. Add -- --step to pause before each step.

Last updated 25 Sep 2026

Roundlot

Pay-per-call market data and trade plans for tokenized equities on X Layer. Built for OKX Dev Day 2026.

Payments settle on X Layer testnet. Data and trade plans are X Layer mainnet. Not investment advice.