Pay-per-query AI swarm agent for Base App — ask about web3 news, Questflow capabilities, and more.
What it does
This endpoint exposes a Questflow "Swarm" agent tailored for the Base App ecosystem via the x402 payment protocol. Callers send a POST request with a text message and receive a text response from the AI agent. Topics the swarm can handle include web3 news, information about Questflow's platform, and general questions relevant to the Base ecosystem.
Payment is handled through the x402 challenge-response flow on the Base network using USDC (asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913). The maximum amount required per call is 500,000 units (0.50 USDC given 6-decimal USDC), with a maximum timeout of 1,200 seconds. The endpoint accepts a single required field — `input` (string) — and returns a `response` (string) from the agent.
Questflow is a platform focused on autonomous AI agents ("Clones") that operate across onchain markets such as Polymarket, Pump.fun, OKX, and Opinion Labs. This particular swarm endpoint is one of their x402-enabled services, allowing programmatic, pay-per-use access to their AI agent infrastructure without subscriptions or API keys.
Capabilities
Use cases
- —Querying web3 news and market updates programmatically
- —Asking questions about Questflow platform capabilities
- —Integrating a pay-per-use AI assistant into Base App workflows
- —Agent-to-agent communication where one agent pays another for information
- —Building chatbot interfaces backed by an onchain-payable AI swarm
Fit
Best for
- —Developers building on Base who need a quick AI Q&A endpoint
- —Agents that need to pay for AI responses without API key management
- —Users wanting web3-focused conversational AI via x402
Not for
- —High-throughput batch processing (1200s max timeout per request)
- —Use cases requiring structured data output (returns free-text string only)
- —Applications needing non-crypto general-purpose LLM access
Quick start
curl -X POST https://api.questflow.ai/x402/swarm/qrn:swarm:68a6f6ed88ee7586a198b9fb \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <x402_payment_header>" \
-d '{"input": "What is the latest web3 news?"}'Example
Request
{
"input": "What is the latest web3 news?"
}Response
{
"response": "Here are some recent web3 highlights: Ethereum Layer 2 activity continues to surge on Base, with TVL crossing $10B. Polymarket saw record volumes on political prediction markets. Meanwhile, several new meme tokens launched on Pump.fun this week."
}Endpoint
Quality
The x402 challenge is live and includes a clear outputSchema with input/output field definitions. However, there is no OpenAPI spec, no dedicated documentation, no usage examples from the provider, and the response format is inferred from the schema alone. Pricing is derivable from the challenge but not explicitly documented.
Warnings
- —No OpenAPI or dedicated API documentation available from the provider
- —Response example is inferred from outputSchema — actual agent responses may vary
- —No rate limits or usage quotas documented
- —The swarm description is generic; exact knowledge scope is unclear
Citations
- —The endpoint returns a 402 challenge on Base network using USDC asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 with maxAmountRequired of 500000https://api.questflow.ai/x402/swarm/qrn:swarm:68a6f6ed88ee7586a198b9fb
- —The outputSchema specifies a POST method with an 'input' string field and a 'response' string fieldhttps://api.questflow.ai/x402/swarm/qrn:swarm:68a6f6ed88ee7586a198b9fb
- —Questflow aggregates markets including Polymarket, Pump.fun, OKX, and Opinion Labshttps://api.questflow.ai
- —maxTimeoutSeconds is 1200https://api.questflow.ai/x402/swarm/qrn:swarm:68a6f6ed88ee7586a198b9fb