AI-powered crypto intelligence chat via x402 micropayment at $0.20 USDC per query
What it does
Ask Surf Chat is an x402-enabled endpoint from the Surf AI intelligence platform (asksurf.ai) that provides digital-asset insights through a simple chat interface. You send a natural-language query about cryptocurrency topics and receive an AI-generated answer. Payment is handled via the x402 protocol at $0.20 USDC per request, with support for multiple payment rails including EVM USDC, Solana USDC, and XRPL XRP.
The server exposes two main paid tools: `ask_surf_chat` for synchronous Q&A, and `ask_surf_research` for longer-running research jobs that return a `job_id` you can poll via the free `ask_surf_research_status` endpoint. The request schema is minimal — a single `user_query` string field — and the server assembles the necessary prompt context internally. The API is documented via an OpenAPI 3.1 spec served at `/openapi.json`, and x402 discovery metadata is available at `/.well-known/x402/discovery` as well as chain-specific discovery endpoints for Solana and XRPL.
The service is hosted on Railway. During probing the endpoint returned 422 (validation error) rather than the expected 402 payment challenge on an empty POST, which may indicate the x402 payment middleware requires a well-formed body before issuing the payment challenge, or that the payment gate was not active at probe time. The root page (HTTP 200) redirects to asksurf.ai's main chat UI.
Capabilities
Use cases
- —Ask natural-language questions about cryptocurrency markets, tokens, and events
- —Run deeper async research jobs on digital-asset topics and poll for results
- —Integrate crypto intelligence into agent workflows via x402 micropayments
- —Query upcoming TGEs, hot topics, and live crypto market feeds programmatically
Fit
Best for
- —AI agents needing on-demand crypto market intelligence
- —Developers building crypto-aware chatbots or dashboards
- —x402-native workflows that need pay-per-query digital-asset answers
Not for
- —Non-crypto general knowledge queries
- —Users who need free or subscription-based access without per-query payment
- —High-frequency trading requiring sub-second latency guarantees
Quick start
curl -X POST https://ask-surf-x402-production.up.railway.app/x402/tools/ask_surf_chat \
-H "Content-Type: application/json" \
-H "X-Payment: <x402_payment_token>" \
-d '{"user_query": "What is the current sentiment on Ethereum?"}'Example
Request
{
"user_query": "What are the top trending tokens in the last 24 hours?"
}Endpoint
Quality
Full OpenAPI 3.1 schema with clear request models and multiple chain-specific endpoints. However, the x402 challenge was not captured (422 instead of 402), no example responses are documented, and no pricing page or detailed docs exist beyond the auto-generated Swagger. Response schema is empty in the spec.
Warnings
- —x402 payment challenge was NOT returned during probing (got 422, not 402); the payment gate may require a valid body or may not be fully active
- —Response schema is undefined (empty) in the OpenAPI spec — actual response format is unknown
- —No example responses or detailed documentation beyond auto-generated Swagger UI
Citations
- —Surf is an AI intelligence platform for digital assets that delivers accurate, trusted insights through a simple chat interfacehttps://ask-surf-x402-production.up.railway.app/docs
- —ask_surf_chat price is $0.2 USDChttps://ask-surf-x402-production.up.railway.app/docs
- —ask_surf_research returns a job_id and the status endpoint is freehttps://ask-surf-x402-production.up.railway.app/docs
- —Solana USDC and XRPL XRP payment rails are availablehttps://ask-surf-x402-production.up.railway.app/docs
- —Request body requires a single user_query string fieldhttps://ask-surf-x402-production.up.railway.app/openapi.json