Crypto market sentiment analysis via x402 micropayment on Base, $0.02 per call.
What it does
The `/api/market-mood` endpoint on httpay.xyz returns a current crypto market sentiment analysis as JSON. It is part of a larger marketplace of 307+ pay-per-call API endpoints that accept x402 micropayments in USDC on Base (chain ID 8453). No API keys or subscriptions are required — callers pay per request.
The endpoint accepts HTTP GET requests with no query parameters. Payment is 20,000 base units of USDC (6 decimals), which equals $0.02 per call. Payment can be made via the x402 protocol (X-PAYMENT header with a signed USDC authorization on Base) or via MPP using pathUSD on Tempo blockchain at $0.02. A free demo mode is available by appending `?demo=true` to the URL (limited to 10 calls per IP per hour).
The response is JSON (`application/json`), but the exact output schema is not documented beyond a generic description field. The provider's site lists this endpoint in the "Premium" tier alongside AI models, image generation, and sentiment endpoints. An MCP server (`npx @httpay/mcp`) is also available for integration with Claude Desktop or Cursor, handling payments automatically.
Capabilities
Use cases
- —Automated trading bots checking market sentiment before executing trades
- —AI agents incorporating real-time crypto mood into research summaries
- —Dashboard widgets displaying current market sentiment
- —Portfolio management tools adjusting risk based on sentiment signals
Fit
Best for
- —AI agents that can pay per call via x402 or MPP without managing API keys
- —Developers wanting quick crypto sentiment data without subscription commitments
- —MCP-compatible tools like Claude Desktop or Cursor needing live market context
Not for
- —Users needing historical sentiment time-series data (endpoint appears to return current snapshot only)
- —Applications requiring detailed methodology or sourcing transparency for sentiment scores
- —High-frequency polling use cases where per-call costs would accumulate quickly
Quick start
# Free demo (10 calls/IP/hour):
curl "https://httpay.xyz/api/market-mood?demo=true"
# With x402 payment (Node.js):
import { withPayment } from "x402-fetch";
const res = await withPayment(
fetch("https://httpay.xyz/api/market-mood"),
wallet
);Example
Response
{
"description": "Current crypto market sentiment analysis"
}Endpoint
Quality
The endpoint is live (402 challenge captured) with clear pricing ($0.02 USDC on Base), but the output schema is essentially undocumented — only a placeholder description field is shown. No /docs page exists, no OpenAPI spec was retrievable for this specific endpoint, and no real example response is available. The actual structure and fields of the sentiment analysis response are unknown.
Warnings
- —Output schema is effectively undocumented; the only example field is a generic 'description' string — actual response structure is unknown.
- —No dedicated docs page exists (/docs returns 404).
- —robots.txt disallows /api/ crawling, so automated discovery of endpoint behavior is limited.
- —The example_response_json shown is the placeholder from the outputSchema, not a confirmed real response.
Citations
- —The endpoint costs 20,000 base units of USDC (6 decimals) = $0.02 per call on Base chain ID 8453https://httpay.xyz/api/market-mood
- —MPP settlement is also available at $0.02 via pathUSD on Tempo blockchainhttps://httpay.xyz/api/market-mood
- —Free demo mode available with ?demo=true, limited to 10 calls/IP/hourhttps://httpay.xyz/api/market-mood
- —httpay.xyz hosts 307+ pay-per-call endpoints on Base with prices from $0.001 to $0.05https://httpay.xyz
- —MCP server available via npx @httpay/mcp for Claude Desktop and Cursor integrationhttps://httpay.xyz
- —Premium tier endpoints ($0.05) include AI models, image gen, and sentimenthttps://httpay.xyz