Compare cryptocurrency prices via an x402-payable AI agent on Base
What it does
This Questflow endpoint provides an x402-protocol AI agent that compares prices of different cryptocurrencies. It accepts a natural-language prompt as input and returns a text response from the agent. Payment is handled via the x402 protocol on the Base network using USDC (asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913), with a maximum cost of 0.50 USDC per request (500000 in 6-decimal units).
The endpoint is a POST request that takes a JSON body with a single required field, `input` (string), containing your message to the agent. The agent responds with a `response` field (string). The maximum timeout is 1200 seconds, suggesting the agent may perform non-trivial lookups or aggregation before returning results.
Questflow is a platform that builds AI "clones" for onchain market scanning and trading across platforms like Polymarket, Pump.fun, OKX, and others. This particular swarm agent is focused on cryptocurrency price comparison. Documentation is minimal — there is no OpenAPI spec, no dedicated docs page, and no detailed usage guide beyond what the x402 challenge header provides.
Capabilities
Use cases
- —Comparing current prices of multiple cryptocurrencies in a single query
- —Getting a natural-language summary of crypto price differences
- —Agent-to-agent price lookups where payment is handled programmatically via x402
- —Quick spot-price comparisons without needing exchange API keys
Fit
Best for
- —Developers building x402-native agent workflows that need crypto price data
- —AI agents that need to pay-per-query for cryptocurrency price comparisons
- —Users who want natural-language crypto price comparisons without managing API keys
Not for
- —High-frequency trading requiring sub-second latency (max timeout is 1200s)
- —Historical price data or charting — this appears to return text responses only
- —Free-tier or bulk usage — every request costs up to 0.50 USDC
Quick start
curl -X POST https://api.questflow.ai/x402/swarm/qrn:swarm:68f6cf260ebd74a7912ce0cc \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <x402_payment_token>" \
-d '{"input": "Compare the prices of BTC, ETH, and SOL"}'Example
Request
{
"input": "Compare the prices of BTC, ETH, and SOL"
}Response
{
"response": "Current approximate prices: BTC ~$67,500, ETH ~$3,800, SOL ~$170. BTC is the most expensive per unit, followed by ETH and then SOL."
}Endpoint
Quality
No OpenAPI spec, no docs page, no usage examples, and no pricing page were found. The only structured information comes from the x402 challenge header, which provides the input/output schema, payment details, and a brief description. The example response is entirely inferred.
Warnings
- —No OpenAPI or dedicated documentation available — all schema info is inferred from the x402 challenge header
- —The example response is fabricated for illustration; actual agent output format is unknown
- —Max timeout of 1200 seconds suggests potentially long response times
- —No rate limits, SLA, or uptime guarantees documented
- —Regulated category: cryptocurrency financial data — verify accuracy independently
Citations
- —Payment is on Base network using USDC (asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) with maxAmountRequired of 500000https://api.questflow.ai/x402/swarm/qrn:swarm:68f6cf260ebd74a7912ce0cc
- —Endpoint accepts POST with a required 'input' string field and returns a 'response' string fieldhttps://api.questflow.ai/x402/swarm/qrn:swarm:68f6cf260ebd74a7912ce0cc
- —Maximum timeout is 1200 secondshttps://api.questflow.ai/x402/swarm/qrn:swarm:68f6cf260ebd74a7912ce0cc
- —Questflow aggregates markets including Polymarket, Pump.fun, OKX, and Opinion Labshttps://api.questflow.ai