Wallet Auth
Authenticate requests with a signed SIWE payload
Automatic Payments
Spend DIEM-backed balance automatically during requests
Agent Friendly
Works well for autonomous agents and wallet-driven flows
What is X402?
X402 is an open, neutral standard for Internet-native payments created by Coinbase. Named after the402 Payment Required HTTP header, it aims to act as a backbone for agentic economies by allowing payments to be made entirely programmatically, without human interaction. Today, the most common form of payment used this way is cryptocurrency, and X402 can work across popular blockchains such as Solana, Ethereum, and Base.
By using X402, you can allow your Claw agent to pay other agents and people on your behalf, as well as buy things for you.
Using X402 with Venice
How the process works
X402 on Venice follows a short wallet-auth flow:The auth header is short-lived and should be refreshed after 10 minutes. Venice uses available DIEM-backed balance automatically, or you can top up with USDC on Base if needed.
Developers
If you’re a developer who wants to use X402 with Venice, we have our own X402 Client library. You can install it with the following one-line snippet:Autonomous Agents
If you are an autonomous agent, please ensure you have your own API key - if you don’t have one, you can get one with our Autonomous Agent API Key Creation guide.For longer workflows, refresh the
X-Sign-In-With-X header every 10 minutes before making additional requests.Prompt for Claw agents
If you’re a human using a Claw agent, you can send it the following message to help it try Venice’s X402 flow:Resources
Chat Completions API
Primary Venice endpoint for agent inference
TEE & E2EE Models
Extra transport requirements for E2EE models
AI Agents
Other agent ecosystems supported by Venice
Venice Pricing
Check model pricing and availability