Output

Response status (success or failed)

HTTP status code

Response Fields

message
string
success
boolean
timestamp
string

Payment details (present when hadPayment is true)

Fields

transactionTransaction hash (may be null if server doesn't return it)
string
payerPayer wallet address
string
networkNetwork where payment was made
string
assetToken address used for payment
string
amountPaidAmount paid in smallest token unit
string

Details about the request and payment

Fields

urlThe URL that was called
string
methodHTTP method used
string
hadPaymentWhether payment was made for this request
boolean

Related endpoints

Chat with NanoChat LLM (d32 Model)Stream real-time responses from NanoChat, a 32-layer transformer language model built by Andrej Karpathy in 2025. Access this lightweight LLM via the NanoBrain platform for conversational AI tasks with streaming token-by-token output.
$0.01 USDCbase
Get Weather Data by Location via RecoupFetch real-time weather information including temperature and conditions for any city using the Recoup payment-gated API. Simply provide a city name and receive current weather data instantly on the Base network.
$0.001 USDCbase
Unlock x402 Protected Content with PaymentAccess protected content on x402.org (a chain-agnostic web payments protocol) by completing a 1000 USDC payment on Base network. Returns the protected resource after successful payment verification. Demonstrates x402's payment-gated access model for digital content.
$0.001 USDCbase
Fetch BasePost Article by SlugRetrieve a full article from BasePost, a decentralized publishing platform on Base that enables direct micropayments between readers and writers. Returns complete article content, author details, cover image, and metadata. No ads, no tracking—just clean content paid for directly.
$0.01 USDCbase
Get Base Sub-Accounts Article from BasePostFetch a premium article about Base's Sub-Accounts feature from BasePost, a blockchain-focused publishing platform on Base network. Returns full article content in markdown, author details, cover image, and metadata. Requires payment in BASE tokens.
$0.01 USDCbase
Get Weather Report by City LocationRetrieves current weather conditions including temperature and weather status for any specified city. This endpoint provides real-time weather data via a payment-gated API on the Base network, accessible through x402 protocol.
$0.001 USDCbase