AgentServices

by vbkotecha

Not rated
GitHub

About

Paid APIs for AI agents: MCP + REST with x402 settlement on Base.

Details

Author
vbkotecha
Categories
Finance, Other, AI, API

Setup

Install AgentServices in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/vbkotecha/agentservices-api

Follow the installation instructions in the repository README, then restart your MCP client.

The paid API layer for AI agents — data, intelligence, inference, and media via x402 micropayments

Canonical project:https://github.com/vbkotecha/agentservices-apiOfficial site:https://agentservices.toLicense:Apache-2.0

AgentServices is an independent project. It is not affiliated with, endorsed by, or a replacement for any other x402 market-data provider.

Live at:agentservices.to|MCP Server:https://agentservices.to/mcp(Streamable HTTP) |Discovery:/.well-known/x402

AgentServices is the monetized API layer for AI agents. No API keys, no subscriptions — agents pay per-request with USDC on Base using thex402 payment protocol.

60+ endpointsacross crypto data, market intelligence, DeFi analytics, on-chain analytics,400+ LLM models, image generation, text-to-speech, portfolio intelligence, and dispute resolution. 12 are free. 48+ are paid via x402 (from $0.002 to $0.25 per call).

- 400+ LLM modelsvia OpenAI-compatible/v1/chat/completions— GPT, Claude, Gemini, DeepSeek, Grok, Llama, and more
- Smart router— usemodel: "auto"and the gateway classifies your task and picks the cheapest model that handles it
- Image generation/v1/images/generationsvia gpt-image-2 ($0.05)
- Text-to-speech/v1/audio/speechwith natural voices ($0.05)
- 3 new MCP toolschat,generate_image,text_to_speech

Buyer path: discover → try → pay → retain

Use thebuyer quickstartfor the complete path. The exact next action is to run the no-credential discovery check:

python3 examples/mcp_discovery_buyer_proof.py

- Discover:confirm the hosted MCP server and free tool catalog with theMCP discovery proof.
- Try free:retrieve a real price result with the
free SDK proof.
- Inspect the paid challenge:decode the live 402 terms with the
paid SDK proof. It never signs or settles payment.
- Buy an outcome:pay the returned x402 terms, retry the same request, and retain the returned paid result. See the
token-risk,market-pulse, andresearch-briefcontracts for result limits and provenance.
- Retain evidence:run the existing
receipt builderwith the original challenge, paid response, and your wallet authorization or transaction reference.

The four proofs have different limits: discovery and free SDK verify no-spend access; the paid SDK proof verifies challenge shape only; the receipt builder hashes buyer-held evidence and does not verify settlement. None of them claims adoption, settlement, or revenue.

For activation measurement definitions, seeActivation Metrics. To probe the live funnel, runpython3 examples/check_activation_funnel.py.

# ALL-IN-ONE: Get portfolio intelligence in a single call ($0.10) # Returns: price + technical signal + risk score + market sentiment + verdict curl "https://agentservices.to/v1/portfolio?symbol=BTC" # Or build it yourself from individual endpoints: # Get current prices (FREE) curl https://agentservices.to/v1/prices?symbols=BTC,ETH,SOL # Get technical signals for entry/exit ($0.04) curl https://agentservices.to/v1/crypto-signals # Check snapshot-based token risk before buying ($0.03) # Use a CoinGecko-compatible identifier for portable direct HTTP calls. curl https://api.agentservices.to/v1/token-risk/pepe # Contract and payment-receipt guidance: docs/token-risk-outcome-contract.md
# ALL-IN-ONE: Get DeFi strategy report ($0.25) # Returns: top yields + protocol TVL + cross-chain comparison + risk flags curl "https://agentservices.to/v1/defi-strategy" # Get all yield pools ranked by TVL ($0.02) curl https://agentservices.to/v1/yields # Compare yields with risk-adjusted returns ($0.03) curl https://agentservices.to/v1/yield-comparison # Check on-chain position for any wallet ($0.02) curl https://agentservices.to/v1/onchain/0x9863aB6242663FCc84c33632741711dB78f8Fd15
# ALL-IN-ONE: Get market pulse report ($0.05) # Returns: fear-greed + trending + news + social + whales + global market curl "https://agentservices.to/v1/market-pulse" # Get market sentiment (FREE) curl https://agentservices.to/v1/fear-greed # Search for latest news on any topic ($0.01) curl "https://agentservices.to/v1/search?q=base+chain+ecosystem" # Get trending tokens (FREE) curl https://agentservices.to/v1/trending # Get marketing intelligence report ($0.05) curl "https://agentservices.to/v1/marketing-intel?competitor=blockrun&topic=x402"
# Full technical indicator suite ($0.02) curl https://agentservices.to/v1/indicators/BTC # Returns: RSI, MACD, Bollinger Bands, ATR, Support/Resistance levels # AI-generated market predictions (FREE) curl https://agentservices.to/v1/predictions # Combine with on-chain analytics ($0.03) curl https://agentservices.to/v1/onchain/0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045/tokens
# GitHub trending repos ($0.02) curl "https://agentservices.to/v1/github-trending?language=python&since=weekly" # NPM package stats ($0.02) curl https://agentservices.to/v1/npm-stats/react # Hacker News sentiment ($0.02) curl "https://agentservices.to/v1/hn-sentiment?q=AI+agents"
# Chat completions via x402 ($0.03) curl -X POST https://agentservices.to/v1/inference \ -H "Content-Type: application/json" \ -d '{"model":"gpt-5.4-mini","messages":[{"role":"user","content":"Explain x402 in 3 sentences"}]}'
# ALL-IN-ONE: Get full on-chain overview ($0.15) # Returns: whale movements + exchange flows + stablecoin flows + correlation matrix + DeFi TVL curl "https://agentservices.to/v1/onchain-overview" # On-chain analytics for any wallet ($0.02) curl https://agentservices.to/v1/onchain/0x9863aB6242663FCc84c33632741711dB78f8Fd15 # Token holdings for any wallet ($0.03) curl https://agentservices.to/v1/onchain/0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045/tokens
# Free — no payment needed curl https://agentservices.to/v1/prices?symbols=BTC,ETH # Paid — returns HTTP 402 with payment instructions in the header curl -i https://agentservices.to/v1/indicators/BTC # Response includes x402 payment envelope: network, amount, payTo address # Agent pays via x402 client, retries with X-Payment header, gets data

Using as MCP Server (Claude Desktop, Cursor, etc.)

{ "mcpServers": { "agentservices": { "url": "https://agentservices.to/mcp", "transport": "streamable-http" } } }

13+ MCP tools available:crypto_prices,trending_tokens,global_market,gas_prices,market_predictions,crypto_news,social_trending,technical_indicators,defi_yields,search_web,token_risk,crypto_signals,onchain_analytics,deep_research,portfolio_intelligence,defi_strategy,market_pulse,onchain_overview

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.