Integrations
Claude Code
Point Claude Code at Spoof with two environment variables.
Claude Code talks to the Messages API, so you can route it through Spoof by setting the base URL and your key as environment variables.
bash · 2 lines
Then run claude as usual. Requests are billed per call from your wallet.
Bill a specific chain
To settle a session on a particular chain, set a custom header:
bash · 1 lines
Valid values are base, arbitrum, solana, and robinhood. See Billing chains.
Verify it works
Start Claude Code and ask it a simple question. If you get a reply, you are connected. Check your usage in the dashboard.