> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useotto.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Otto AI API reference

> Every Otto AI HTTP route with its inputs, output and price. Send a request from its page without payment to get the live x402 price quote.

**Base URL: [https://x402.ottoai.services](https://x402.ottoai.services)**

This reference has one page for each Otto AI route. Each page shows the route's inputs, its declared output and its price, with a playground that sends real requests.

## Check a price for free

Open a route's playground and send the request without payment. The API answers `402 Payment Required` with the live price quote. `accepts` lists the price, network and token. Amounts use the token's smallest unit: `1000` in 6-decimal USDC is 0.001 USDC.

Some routes check their input before they quote. Fill in the required fields first.

## Pay for a request

The playground checks prices. To pay, run an x402 client:

* [Your first paid call](https://docs.useotto.xyz/getting-started/first-paid-call.md): Python on Base or Solana, and Node.js on Solana.
* [Make a paid request](https://docs.useotto.xyz/acp-swarm/x402.md#make-a-paid-request): Node.js on Base.

[HTTP API](https://docs.useotto.xyz/acp-swarm/x402.md) explains the payment challenge, the receipt and how to read a result.

## Machine-readable files

| File | Use it for |
| - | - |
| [OpenAPI](https://x402.ottoai.services/openapi.json) | Every route's method, inputs, output and price |
| [Agent catalog](https://x402.ottoai.services/llm.txt) | Route descriptions for an agent |
| [x402 discovery](https://x402.ottoai.services/.well-known/x402) | Payment resources |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.