Pay-per-query CoinGecko crypto market data agent via x402 on Base
What it does
This endpoint exposes a CoinGecko-powered AI agent hosted on Questflow's platform, accessible via the x402 payment protocol. You send a natural-language message (e.g., "What is the current price of Bitcoin?") as a POST request, pay with USDC on Base, and receive a text response with real-time or historical crypto market data sourced from CoinGecko.
The agent accepts a single `input` string field and returns a `response` string. Payment is handled through the x402 protocol's `X-PAYMENT` header, with a maximum charge of 0.1 USDC per request (100000 in 6-decimal USDC units) paid to the specified address on the Base network. The timeout is set at 1200 seconds, suggesting the agent may perform non-trivial lookups or multi-step reasoning before responding.
Because there is no OpenAPI spec, no dedicated documentation page, and no usage examples beyond the x402 challenge metadata, the exact scope of supported queries is unclear. The description claims coverage of price feeds, trading volumes, market capitalization, metadata, and analytics for thousands of crypto assets, NFTs, and exchanges, but these capabilities are inferred from the listing title rather than verified documentation.
Capabilities
Use cases
- —Query real-time cryptocurrency prices by sending a natural-language question
- —Retrieve historical price data and market trends for crypto assets
- —Look up market capitalization and trading volume for specific tokens
- —Get metadata and analytics for NFTs and exchanges
- —Integrate pay-per-query crypto data into autonomous agent workflows
Fit
Best for
- —AI agents needing on-demand crypto market data without API key management
- —Developers prototyping x402 payment flows with a useful data endpoint
- —Quick natural-language lookups of CoinGecko data without a direct subscription
Not for
- —High-frequency trading requiring sub-second latency and bulk data
- —Applications needing structured, machine-readable JSON responses with guaranteed schemas
- —Free or high-volume data ingestion pipelines where per-query USDC cost is prohibitive
Quick start
curl -X POST https://api.questflow.ai/x402/agent/qrn:agent:68f8b2fbbd72982773f4b112 \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <x402_payment_token>" \
-d '{"input": "What is the current price of Bitcoin?"}'Example
Request
{
"input": "What is the current price of Bitcoin?"
}Response
{
"response": "The current price of Bitcoin (BTC) is $68,432.15 USD, with a 24h trading volume of $31.2B and a market cap of $1.35T."
}Endpoint
Quality
No OpenAPI spec, no documentation pages (all return 404), no usage examples, and the response format is inferred from the x402 challenge outputSchema. The only concrete data comes from the x402 challenge metadata. The example response is fabricated to illustrate the expected shape.
Warnings
- —No OpenAPI or dedicated documentation available; /docs, /api, /pricing, /README all return 404
- —Response content and format are entirely inferred from a minimal outputSchema — actual responses may differ
- —Example response JSON is illustrative, not sourced from real output
- —Maximum cost per request is 0.1 USDC but actual pricing behavior is unverified
- —Agent timeout of 1200 seconds suggests potentially slow responses
Citations
- —Payment is in USDC on Base with maxAmountRequired of 100000 (0.1 USDC) and maxTimeoutSeconds of 1200https://api.questflow.ai/x402/agent/qrn:agent:68f8b2fbbd72982773f4b112
- —Input schema accepts a string 'input' field and output returns a string 'response' fieldhttps://api.questflow.ai/x402/agent/qrn:agent:68f8b2fbbd72982773f4b112
- —Questflow platform aggregates markets and is trusted by CoinGecko among other partnershttps://api.questflow.ai