AI agent that identifies top-gaining tokens and markets across crypto platforms via x402 micropayment.
What it does
This Questflow x402 endpoint exposes an AI swarm agent that finds top gainers across onchain markets. You send a natural-language message (e.g., "find the top gainers") via a POST request and receive a text response from the agent. Payment is handled through the x402 protocol on the Base network using USDC, with a maximum charge of 0.50 USDC per request (the asset has 6 decimals, so maxAmountRequired is 500000).
Questflow's platform aggregates data from multiple crypto and prediction markets including Polymarket, Pump.fun, OKX, and Opinion Labs. The agent scans these sources to detect patterns, sentiment shifts, and whale movements. The endpoint accepts a JSON body with a single required field — `input` (string) — and returns a JSON object with a `response` string. The maximum timeout is 1200 seconds (20 minutes), reflecting that the agent may perform multi-step research before replying.
Documentation is minimal: there is no OpenAPI spec, no dedicated docs page, and no detailed API reference beyond the x402 challenge metadata. The output schema is inferred entirely from the x402 accepts block. Actual response quality, coverage of markets, and freshness of data cannot be independently verified from the available material.
Capabilities
Use cases
- —Query for the highest-gaining tokens across multiple crypto exchanges and DEXs
- —Scan prediction markets and meme coin platforms for trending opportunities
- —Integrate real-time market alpha discovery into an autonomous trading agent pipeline
- —Pay-per-query market intelligence without API key management
Fit
Best for
- —Agents or bots that need on-demand crypto market intelligence via a single API call
- —Developers building x402-native workflows on the Base network
- —Users who want aggregated top-gainer data across Polymarket, Pump.fun, OKX, and more
Not for
- —Low-latency trading systems (max timeout is 20 minutes)
- —Users who need structured, machine-readable price feeds rather than natural-language responses
- —Free-tier or high-volume bulk data extraction
Quick start
curl -X POST https://api.questflow.ai/x402/swarm/qrn:swarm:68fc3d8f16687e1a9673d8b4 \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <x402_payment_token>" \
-d '{"input": "find the top gainers"}'Example
Request
{
"input": "find the top gainers"
}Response
{
"response": "Here are today's top gainers across monitored markets: ..."
}Endpoint
Quality
No OpenAPI spec, no docs page, no example responses, and no pricing page exist. All schema information is inferred from the x402 challenge metadata. The response format and actual agent capabilities are unverified.
Warnings
- —No OpenAPI or dedicated API documentation available — schema inferred entirely from x402 challenge block
- —Response content and accuracy cannot be independently verified
- —Maximum timeout of 1200 seconds suggests potentially long response times
- —Output is natural-language text, not structured market data
- —Crypto/financial information — not investment advice; verify independently
Citations
- —Payment is on Base network using USDC (asset 0x8335…2913) with maxAmountRequired of 500000 and maxTimeoutSeconds of 1200https://api.questflow.ai/x402/swarm/qrn:swarm:68fc3d8f16687e1a9673d8b4
- —Questflow aggregates Polymarket, Pump.fun, Opinion Labs, OKX and other onchain marketshttps://api.questflow.ai
- —The endpoint accepts a POST with a required 'input' string field and returns a 'response' stringhttps://api.questflow.ai/x402/swarm/qrn:swarm:68fc3d8f16687e1a9673d8b4
- —Description from x402 challenge: 'find the top gainers | Powered by Questflow'https://api.questflow.ai/x402/swarm/qrn:swarm:68fc3d8f16687e1a9673d8b4