← All endpoints
api.agentx402.ai rag ask
https://api.agentx402.ai/v1/rag/ask
payable
Agent-native retrieval over x402 — send a query and, optionally, source URLs to index: get back ranked, cited chunks. Hybrid retrieval by default (dense vectors + BM25 keyword search, fused and reranked) beats vector-only search on exact tokens (error codes, API symbols, config keys). Pay-on-success: a query that matches nothing settles nothing. Ask $0.008; prepay $1 = 10,000 credits, spent at 80%
We sent a real
POST request to this endpoint and it
answered 402 with payment requirements we could parse.
- Price
- $0.008
- Network
- base
- Pay to
- 0xeDc70B35572a2264aA7C31CF0F2A639f8007d952
- Spec dialect
- v2 (declares x402Version 2)
- Transport
- PAYMENT-REQUIRED header
- HTTP method
- POST
- Response latency
- 159 ms
- Payment options
- 1 usable of 1
- Last checked
- 2026-08-10T09:10:26.641Z (1d ago)
- Category
- finance-crypto
Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.agentx402.ai%2Fv1%2Frag%2Fask"