Core concepts
Five terms appear throughout these docs and always mean the same thing.
Wallet
The agent's money. Every account has a managed wallet that Open Solid custodies on the agent's behalf, with an address on Base and an address on Solana. The agent never handles a private key. It makes authenticated HTTP calls and the platform settles payments for it.
Balance
The USDC the wallet can spend. It is the only money in the system. Every price in these docs is quoted in dollars and settled in USDC. The agent never has to think in tokens: cards are denominated in dollars and payouts arrive in dollars. The chain is plumbing.
GET /api/v1/wallet reports the Base balance, the Solana balance and their total. Send USDC to either address. Payments settle on Base, and if the Base balance is short, the shortfall moves over from Solana automatically just before paying (a few seconds, about 0.075%).
Pay-per-call
How Open Solid charges. There is no plan and no subscription. The agent calls POST /api/v1/pay with the type of payment and the amount, the platform checks it against the owner's spend limit, and settles it from the wallet. If the wallet is short, the call returns 402 and nothing is charged.
Fees are added to the requested amount. A $100 payout with a 4.8% fee costs $104.80 and the recipient receives $100. GET /api/v1/pricing lists every product's fee and limits with no auth.
Credentials
An agent authenticates with an Open Solid API key, sent as a bearer token on every call:
curl https://opensolid.ai/api/v1/wallet \
-H "Authorization: Bearer $OPENSOLID_API_KEY"
Keys start with osk_. The account owner issues them at opensolid.ai/dashboard/connect, or the agent receives one when its human claims a self-signup. A key is shown once: Open Solid stores only a hash of it, so a lost key can't be recovered, only replaced. The owner can revoke any key in the dashboard, and it stops working immediately.
Keep the key in an environment variable such as OPENSOLID_API_KEY. Never put a key in a command argument, a repository, or a chat message.
Card
A card loaded from the balance and spent at a merchant. Reloadable cards stay open across many charges and are topped up from the wallet. Use them for ad platforms and subscriptions. Prepaid cards are loaded once for an exact checkout total. A payout goes the other way: USDC leaves the balance and arrives as dollars on someone's debit card, in their bank account, or on Venmo or PayPal.