How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Venice.ai X402 API

Wallet-based API access using the x402 protocol. No API key required — authenticate with an EVM or Solana wallet.**How it works:**1. **Authenticate** — Send a `SIGN-IN-WITH-X` header (base64-encoded signed SIWX payload) with any request. EVM wallets sign an EIP-4361 SIWE message; Solana wallets sign the Solana SIWX message with Ed25519. See the `siwx` security scheme for the exact format.2. **Top up** — `POST /x402/top-up` without a payment header returns an `accepts` array with Base and Solana USDC payment options. Choose one entry, sign it using the x402 SDK (`npm install x402`), and re-submit with the `PAYMENT-SIGNATURE` header (the legacy `X-402-Payment` and `X-PAYMENT` names are also accepted).3. **Use any endpoint** — All inference endpoints (chat, image, audio, video, embeddings) accept `siwx` as an alternative to `BearerAuth`. Charges are deducted from your USDC credit balance.4. **Monitor balance** — `GET /x402/balance/{walletAddress}` returns your current balance. The `X-Balance-Remaining` response header on inference calls also reports it.**Quick start (5 lines):**```import { VeniceClient } from '@venice-ai/x402-client'const venice = new VeniceClient(process.env.WALLET_KEY)await venice.topUp(10) // $10 USDC on a supported x402 railconst res = await venice.chat({ model: 'zai-org-glm-5-1', messages: [{ role: 'user', content: 'Hello!' }] })```**Payment:** USDC on Base (chain ID 8453) or Solana mainnet. Minimum top-up: $5. Alternatively, stake DIEM tokens for daily credits (1 DIEM = $1/day).

Venice.ai X402 API is one of 18 APIs that Venice.ai publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 6 JSON Schema definitions.

Tagged areas include x402. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 6 JSON Schemas.

This API exposes 3 operations across 3 paths, and defines 2 schemas. It is described by OpenAPI 3.2.0, at version 20261012.214344.

Requests are made against a single base URL, https://api.venice.ai/api/v1.

3 operations 3 paths 2 schemas 2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
20261012.214344
Base URL
https://api.venice.ai/api/v1
Authentication
HTTP Bearer, API Key
Terms of Service
Resource Areas
1

Authentication & Security 2

Venice.ai X402 API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (JWT) (BearerAuth). An API key is passed in the header as SIGN-IN-WITH-X (siwx). By default, every request must be authenticated.

  • siwx — Wallet-based authentication using the x402 protocol (Sign-In-With-X). Supports EVM SIWE signatures on Base and Ed25519 signatures on Solana mainnet. Header for…

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

X402 3

Wallet-based API access using the x402 protocol.

GET
/x402/balance/{walletAddress}
/api/v1/x402/balance/{walletAddress}
getX402Balance 2 params → 200400401403429500
POST
/x402/top-up
/api/v1/x402/top-up
topUpX402Balance 1 param body → 200400402429500
GET
/x402/transactions/{walletAddress}
/api/v1/x402/transactions/{walletAddress}
getX402Transactions 4 params → 200400401403429500

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are DetailedError (2 properties), StandardError (1 property). Each schema is shown below with its type and property counts.

DetailedError
object
2 properties 1 required
StandardError
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

venice-ai-x402-api-openapi.yml Raw ↑

Other APIs Venice.ai publishes across the network.

Venice.ai API Keys API
Venice.ai Audio API
Venice.ai Augment API
Venice.ai Billing API
Venice.ai Characters API
Venice.ai Crypto RPC API
Venice.ai Decisions API
Venice.ai Embeddings API
Venice.ai Image API
Venice.ai Models API
Venice.ai Preview API
Venice.ai Responses API
Where this information came from

This is an independent, third-party profile of Venice.ai X402 API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.