x402 Resources
x402 payment-gated AI endpoints on Solana. Pay per request with USDC.
Connect your wallet and hold $XONA to get free access
FLUX.2 flex
image generationx402 v2
$0.06
Max-quality image generation and editing with support for reference images.
POST/image/flux-2-flex
FLUX.2 max
image generationx402 v2
$0.08
The highest fidelity image model from Black Forest Labs.
POST/image/flux-2-max
FLUX.2 pro
image generationx402 v2
$0.05
High-quality image generation and editing with support for reference images.
POST/image/flux-2-pro
Grok Imagine
image generationx402 v2
$0.04
AI image generation using Grok Imagine model. Takes your prompt and generates a high-quality image using xAI's Grok Imagine API.
POST/image/grok-imagine
Nano Banana
image generationx402 v2
$0.1
AI image generation using nano-banana model. Takes your prompt and generates a high-quality image directly without style blending.
POST/image/nano-banana
Nano Banana 2
image generationx402 v2
$0.06-$0.15
AI image generation using nano-banana-2 model with resolution-based pricing. Dynamic pricing: 1K=$0.06, 2K=$0.10, 4K=$0.15.
POST/image/nano-banana-2
Nano Banana Pro
image generationx402 v2
$0.2
AI image generation using nano-banana-pro model. Takes your prompt and generates a high-quality image directly without style blending.
POST/image/nano-banana-pro
Qwen Image
image generationx402 v2
$0.05
AI image generation using qwen/qwen-image model. Generate high-quality images with advanced AI capabilities using Dexter x402 v2 middleware.
POST/image-model/qwen-image
Seedream 4.5
image generationx402 v2
$0.08
AI image generation using ByteDance Seedream-4.5 model. Generate high-quality images with advanced AI capabilities using Dexter x402 v2 middleware.
POST/image-model/seedream-4.5
Grok Video Short
videox402 v2
$0.5
AI short video generation using Grok Imagine Video model. Takes your prompt and generates a 10-second high-quality video using xAI's Grok Video API.
POST/video/short-generation
ElevenLabs Music
audiox402 v2
$1/120s (max $1.50)
AI music generation using ElevenLabs Music (via Replicate). Dynamic pricing: $1 per 120 seconds, max 3 minutes.
POST/audio/elevenlabs-music
Speech-to-Text
audiox402 v2
$0.02
Transcribe audio from an HTTPS URL using OpenAI GPT-4o Transcribe (via Replicate).
POST/audio/speech-to-text
X Text-to-Speech
audiox402 v2
$0.0001
X.AI text-to-speech: convert text to speech (MP3).
POST/audio/x-text-to-speech
Creative Director
aix402 v2
$0.03
AI-powered creative research and prompt refinement using X and Google. Analyzes trends, and transforms your idea into an optimized generation plan.
POST/image/creative-director
Designer
aix402 v2
$0.08
AI image generation with intelligent style blending. Takes your prompt and style keywords, refines them together, and generates a high-quality image.
POST/image/designer
X News
aix402 v2
$0.5
Extract latest news from X (Twitter) username, generate draft tweet and banner with Xona.
POST/ai/x-news
X Persona
aix402 v2
$0.05
Extract structured persona from X (Twitter) username. Analyzes posts, profile, and communication style to generate persona, style profile, content patterns, and avatar prompt.
POST/ai/x-persona
Asset Detail
tokens xyzx402 v2
$0.0001
Complete asset details — metadata, variants, market stats. Optionally include profile, risk, OHLCV, or DEX markets.
POST/tokens-api/asset-detail
Asset Profile
tokens xyzx402 v2
$0.0001
Get the asset profile — aggregated statistics, metadata, and external provider data.
POST/tokens-api/asset-profile
Asset Risk Details
tokens xyzx402 v2
$0.0001
Comprehensive risk analysis with detailed scoring inputs for a specific asset variant.
POST/tokens-api/asset-risk-details
Asset Risk Summary
tokens xyzx402 v2
$0.0001
Risk score summary for a specific asset variant — score, grade, and trust flags.
POST/tokens-api/asset-risk-summary
Asset Variants
tokens xyzx402 v2
$0.0001
List all token variants (native, wrapped, bridged, etc.) for a canonical asset with per-variant market data.
POST/tokens-api/asset-variants
Bulk Market Snapshots
tokens xyzx402 v2
$0.0001
Bulk lookup cached market snapshots for up to 250 Solana mints in one call.
POST/tokens-api/market-snapshots
Curated Assets
tokens xyzx402 v2
$0.0001
Retrieve curated/pre-assembled asset collections with market data.
POST/tokens-api/curated
DEX Markets
tokens xyzx402 v2
$0.0001
List DEX market pools for a specific mint of an asset — liquidity, volume, and protocol tokens.
POST/tokens-api/asset-markets
Exchange Tickers
tokens xyzx402 v2
$0.0001
Get exchange ticker listings for an asset — shows where it trades and at what volume.
POST/tokens-api/asset-tickers
OHLCV Candles
tokens xyzx402 v2
$0.0001
Get OHLCV (candlestick) price data for a specific mint — configurable interval and time range.
POST/tokens-api/asset-ohlcv
Price Chart
tokens xyzx402 v2
$0.0001
Get canonical price history chart for an asset — uses external provider data when available, otherwise falls back to on-chain OHLCV.
POST/tokens-api/asset-price-chart
Token Description
tokens xyzx402 v2
$0.0001
Get a cached description summary for a specific mint of an asset.
POST/tokens-api/asset-description
Token Resolve
tokens xyzx402 v2
$0.0001
Resolve a Solana mint address or asset reference to its canonical asset ID and variant details.
POST/tokens-api/resolve
Token Risk Summary
tokens xyzx402 v2
$0.0001
Quick risk/quality assessment for a Solana mint — score, grade, label, and trust flags.
POST/tokens-api/risk-summary
Token Search
tokens xyzx402 v2
$0.0001
Search assets by text query — returns canonical assets plus singleton Solana tokens with market stats via Tokens API.
POST/tokens-api/search
Variant Market
tokens xyzx402 v2
$0.0001
Get the cached market snapshot for a single variant (specific mint) of an asset.
POST/tokens-api/asset-variant-market
Variant Markets
tokens xyzx402 v2
$0.0001
Batch lookup per-mint variant market snapshots for up to 50 mints.
POST/tokens-api/variant-markets
PumpFun Movers
blockchainx402 v2
$0.1
Get movers PumpFun tokens with AI-powered analysis including dominant meta summary, fresh token suggestions, and detailed token information with price changes and icon descriptions.
GET/token/pumpfun-movers
PumpFun Trending
blockchainx402 v2
$0.1
Get trending PumpFun tokens with AI-powered analysis including dominant meta summary, fresh token suggestions, and detailed token information with price changes and icon descriptions.
GET/token/pumpfun-trending
Solana Discovery
blockchainx402 v2
$0.0001
Discover trending tokens on Solana via OKX Onchain OS — hot tokens, top movers, smart money signals, and top traders. Multi-chain market intelligence powered by 500+ DEXs.
POST/token/solana-discovery
Solana Market
blockchainx402 v2
$0.0001
Deep token analysis on Solana via OKX Onchain OS — price overview, holder analysis, candlesticks, and whale trades.
POST/token/solana-market
Token News
blockchainx402 v2
$0.5
Fetch token information from Jupiter via Corbits, get curated news from Syra, and generate banner and social content with Xona.
POST/token/news
Token Signal
blockchainx402 v2
$0.02
AI-powered market sentiment analysis for any crypto ticker. Returns sentiment score, 7-day price target, top 3 market signals, risk level, and a one-sentence agent-ready summary.
POST/token/signal
Token Starter Kit
blockchainx402 v2
$0.2
Generate token logo and banner automatically from a prompt. Extracts token information, generates logo, then creates a matching banner. Optionally uses a reference token CA to extract logo style.
POST/token/starter-kit
X Layer Discovery
blockchainx402 v2
$0.01
Discover trending tokens on X Layer via OKX Onchain OS — hot tokens, top movers, and token search. Powered by Onchain OS with zero gas fees.
POST/token/xlayer-discovery
X Layer Market
blockchainx402 v2
$0.01
Deep token analysis on X Layer via OKX Onchain OS — price overview, holder analysis, candlesticks, and whale trades.
POST/token/xlayer-market
💳
Powered by x402
These endpoints use the x402 HTTP payment protocol. When you make a request, you'll receive a 402 Payment Required response with payment instructions. Complete the Solana payment, then retry your request with the payment proof header. Your request will be processed automatically.