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

# API reference

> Every Open Solid agent API route and MCP tool, with auth and purpose.

Base URL: `https://opensolid.ai/api/v1`. **Bearer** routes take an Open Solid API key: `Authorization: Bearer $OPENSOLID_API_KEY`. Keys start with `osk_`. See [Core concepts](https://docs.opensolid.ai/concepts.md#credentials).

## Signup

| Method | Path | Auth | Purpose |
| - | - | - | - |
| `POST` | `/api/v1/signup` | none | Start an account for a human to claim. Body `{agent_name}`. Returns `claim_url`, `poll_token`, `expires_at`. |
| `GET` | `/api/v1/signup-status?t=<poll_token>` | none | Poll a pending claim. `awaiting_human`, or `claimed` with `account_id` and `api_key` (delivered once). `410` when expired. |

## Account and wallet

| Method | Path | Auth | Purpose |
| - | - | - | - |
| `POST` | `/api/v1/announce` | Bearer | Tell the human the agent connected. Body `{agent_name, message}`. Returns `account_id`, `spend_limit_usd`, wallet addresses. |
| `GET` | `/api/v1/wallet` | Bearer | Base and Solana addresses, balances, `needs_funding` |
| `GET` | `/api/v1/spend-limit` | Bearer | Per-payment cap (`max_per_payment_usd`). Read-only. |
| `GET` | `/api/v1/activity` | Bearer | Payments and deposits (`events`) |
| `GET` | `/api/v1/pricing` | none | Live fees and limits |
| `GET` | `/api/v1/kyc` | Bearer | Owner's verification status and the next step |

## Banking, cards and recipients

| Method | Path | Auth | Purpose |
| - | - | - | - |
| `GET` | `/api/v1/banking` | Bearer | On-ramp and off-ramp accounts with routing and account numbers, plus transactions |
| `GET` | `/api/v1/cards` | Bearer | Reloadable cards |
| `GET` | `/api/v1/cards?card_id=...&card_type=...` | Bearer | One card's details, including number and CVV once `ready` |
| `GET` | `/api/v1/recipients?rail=venmo\|paypal\|bank` | Bearer | Saved recipients for a rail |

## Payments

| Method | Path | Auth | Purpose |
| - | - | - | - |
| `POST` | `/api/v1/pay` | Bearer | Every outbound payment. Send an `Idempotency-Key` header. |

`POST /api/v1/pay` takes `{type, amount, note, ...}`:

| `type` | Extra fields | Amount | Fee |
| - | - | - | - |
| `usa_card` | none; poll `/api/v1/cards?card_id=` | $5 to $1,000 | None |
| `gift_card` | `laso_server_id`, `country` | Per product | About 4.8% |
| `venmo` | `recipient_id` (10-digit phone) | $5 to $1,000 | 4.9%, \$1.50 minimum |
| `paypal` | `recipient_id` (email), `first_name`, `last_name` | $5 to $1,000 | 4.9%, \$1.50 minimum |
| `bank` | `destination_id` | $10 to $50,000 | 0.25%, \$1.50 minimum |
| `debit` | `currency` (`USD`, `EUR`, `GBP`); returns a redemption link | See pricing | 4.8%, \$1.50 minimum |
| `x402` | `url`, `max_usd`, optional `method` and `body`; no `amount` | The API's quote, up to `max_usd` and the spend limit | None from Open Solid |

Venmo and PayPal require the owner to be identity verified. Live figures are at `GET /api/v1/pricing`.

The response is `{replayed, result, activity, paid_usd}`.

| Status | Meaning |
| - | - |
| `402` | The wallet can't cover the payment. Nothing was charged. |
| `403` | Over the spend limit. `terminal: true`; don't retry or split. |

## Done by the human in the dashboard

These are not agent API calls. The agent sends the owner to the dashboard.

| Task | Where |
| - | - |
| Issue or revoke API keys | [opensolid.ai/dashboard/connect](https://opensolid.ai/dashboard/connect) |
| Identity check and bank account application | [opensolid.ai/dashboard/verified/banking](https://opensolid.ai/dashboard/verified/banking) |
| Create and top up reloadable cards | [opensolid.ai/dashboard/verified/card](https://opensolid.ai/dashboard/verified/card) |
| Set the spend limit | Dashboard |

## MCP tools

Server: `https://opensolid.ai/mcp` (streamable HTTP), header `Authorization: Bearer osk_...`. See [MCP server](https://docs.opensolid.ai/mcp.md).

| Tool | Equivalent |
| - | - |
| `announce_connection` | `POST /api/v1/announce` |
| `get_wallet` | `GET /api/v1/wallet` |
| `get_spend_limit` | `GET /api/v1/spend-limit` |
| `get_activity` | `GET /api/v1/activity` |
| `get_pricing` | `GET /api/v1/pricing` |
| `get_kyc_status` | `GET /api/v1/kyc` |
| `get_banking` | `GET /api/v1/banking` |
| `get_cards` | `GET /api/v1/cards` |
| `list_recipients` | `GET /api/v1/recipients` |
| `pay` | `POST /api/v1/pay` |

## Not yet available

* Webhooks. Poll `GET /api/v1/activity`.


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