AgentServices

to.agentservices由 agentservices.to 發布官方發布者v6.0.0更新於 Oct 24, 2026

52 paid x402 API endpoints for AI agents — crypto, data, DeFi, market intelligence.

已驗證Streamable HTTP可網頁執行金融資料與分析AI 與機器學習

概覽

AI 產生的概覽

遠端 MCP 伺服器,提供加密行情、DeFi、市場情報、AI 推論與 Hyperliquid 交易端點,多數依每次呼叫以 x402 USDC 微支付收費。

可以做什麼
取得免費加密市場資料:價格、熱門代幣、全球指標、恐懼貪婪指數、Gas、新聞、社群熱點、兌換報價與預測。取得付費資料與綜合分析:技術指標、DeFi 收益、鏈上分析、代幣風險、訊號、深度研究、投資組合與市場脈動報告。透過付費端點進行 AI 推論、影像生成與文字轉語音。提交與取消受策略約束的 Hyperliquid 訂單、查詢訂單狀態、設定執行策略,並執行模擬或評估訂單。使用策略範本處理爭議。
適用情境
適合需要加密或 DeFi 市場資料、鏈上分析、整合式研究報告,或希望不必自行管理 API 金鑰即可使用付費推論閘道的助理。也適合需要對 Hyperliquid 訂單做策略檢查後轉送或模擬交易評估的代理。
執行需求
遠端 Streamable HTTP 端點,不需本機執行環境或 API 金鑰。免費端點無需任何設定;付費端點需要支援 x402 的用戶端與 Base 上的 USDC 錢包。透過 ChatGPT 或 Claude 連接器的人工存取使用 Google OAuth 與 Stripe 預付餘額。Hyperliquid 交易需要本機簽章、經 approveAgent 授權的代理錢包。
安裝前請注意
多數端點依每次呼叫收費,約 0.002 至 0.25 美元 USDC(Base 網路),助理可能在沒有獨立金鑰的情況下直接花費。交易工具會轉送已簽章訂單,可能動用真實資金;使用前應檢查執行策略、名目金額上限與緊急停止開關。錢包簽章與付款授權由使用者自行完成。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 AgentServices,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/to.agentservices%2Fagentservices/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "agentservices": {
      "type": "http",
      "url": "https://agentservices.to/mcp"
    }
  }
}

README

AgentServices

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

Canonical project: https://github.com/vbkotecha/agentservices-api Official site: https://agentservices.to License: 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.

[Version] [Network] [Payment] [MCP] [Status]

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

What is this?

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

60+ endpoints across 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).

What's new in v6.0

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

Buyer path: discover → try → pay → retain

Use the buyer quickstart for the complete path. The exact next action is to run the no-credential discovery check:

bash
python3 examples/mcp_discovery_buyer_proof.py

Then follow the same buyer journey:

  1. Discover: confirm the hosted MCP server and free tool catalog with the MCP discovery proof.
  2. Try free: retrieve a real price result with the free SDK proof.
  3. Inspect the paid challenge: decode the live 402 terms with the paid SDK proof. It never signs or settles payment.
  4. Buy an outcome: pay the returned x402 terms, retry the same request, and retain the returned paid result. See the token-risk, market-pulse, and research-brief contracts for result limits and provenance.
  5. Retain evidence: run the existing receipt builder with 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, see Activation Metrics. To probe the live funnel, run python3 examples/check_activation_funnel.py.

Buyer path: discover → try → pay → retain

Use the buyer quickstart for the complete path. The exact next action is to run the no-credential discovery check:

bash
python3 examples/mcp_discovery_buyer_proof.py

Then follow the same buyer journey:

  1. Discover: confirm the hosted MCP server and free tool catalog with the MCP discovery proof.
  2. Try free: retrieve a real price result with the free SDK proof.
  3. Inspect the paid challenge: decode the live 402 terms with the paid SDK proof. It never signs or settles payment.
  4. Buy an outcome: pay the returned x402 terms, retry the same request, and retain the returned paid result. See the token-risk, market-pulse, and research-brief contracts for result limits and provenance.
  5. Retain evidence: run the existing receipt builder with 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.

Endpoints

Free (no payment required)

EndpointDescription
GET /v1/prices?symbols=BTC,ETHCurrent crypto prices (CoinGecko)
GET /v1/trendingTrending tokens by market activity
GET /v1/globalGlobal market cap, volume, BTC dominance
GET /v1/fear-greedCrypto Fear & Greed sentiment index
GET /v1/gasCurrent gas prices on Base/Ethereum
GET /v1/predictionsAI-generated market predictions
GET /v1/newsLatest crypto news headlines
GET /v1/social/trendingTrending social sentiment topics
GET /v1/geo?ip=1.2.3.4IP geolocation lookup
GET /v1/swap/quote?from=&to=&amount=DEX swap quote (0x integration)
GET /v1/policiesList dispute resolution policy templates
GET /v1/trade/hyperliquid/bootstrapHyperliquid agent-sign bootstrap (approveAgent flow)
POST /v1/trade/hyperliquid/orderForward agent-signed HL order (policy-gated)
POST /v1/trade/hyperliquid/cancelForward agent-signed HL cancel
GET /v1/trade/hyperliquid/orderHL order status (query: user, oid)
GET /v1/trade/hyperliquid/order/{id}HL order status (path param)
GET/PUT /v1/trade/hyperliquid/policyExecution leash (max notional, coin allowlist, kill switch)
POST /v1/trade/hyperliquid/paper/orderPaper/sim order for agent training
POST /v1/trade/hyperliquid/eval/orderPolicy pass/fail eval (training gym)
GET /healthAPI health check

Trade API — venue doors (FREE — not x402)

AgentServices is building venue trade doors under /v1/trade/{venue}/…. Hyperliquid ships first; more venues and a venue-neutral /v1/trade/execute router follow.

Each door is a policy leash + forward — not a smarter router. We do not claim better fills than the venue direct. Execution is free at the call (no x402 on the order path). Builder fees are omitted so routing through us is not more expensive than going direct.

We never collect venue API keys. Agents sign orders locally with an HL-approved agent wallet (approveAgent on the main wallet is the one human bootstrap step). AgentServices policy-checks (max notional, coin allowlist, kill switch) and forwards the signed payload.

Request bodies accept market_type: spot, perp, or future. Hyperliquid implements perp and spot today; unsupported types return a machine-readable market_type_not_supported error.

MCP toolHTTP equivalent
trade_hyperliquid_orderPOST /v1/trade/hyperliquid/order
trade_hyperliquid_cancelPOST /v1/trade/hyperliquid/cancel
trade_hyperliquid_order_statusGET /v1/trade/hyperliquid/order
trade_hyperliquid_get_policy / trade_hyperliquid_set_policyGET/PUT /v1/trade/hyperliquid/policy
trade_hyperliquid_paper_orderPOST /v1/trade/hyperliquid/paper/order
trade_hyperliquid_eval_orderPOST /v1/trade/hyperliquid/eval/order

Legacy hl_* MCP tool names remain as aliases. See GET /v1/trade/hyperliquid/bootstrap for the approveAgent signing model.

Roadmap: /v1/trade/{venue} for additional venues; /v1/trade/execute for venue-neutral routing later.

Paid — Data APIs (x402)

EndpointPriceDescription
GET /v1/indicators/BTC$0.02Technical indicators (RSI, MACD, Bollinger Bands, ATR, Support/Resistance)
GET /v1/yields$0.02Top DeFi yield pools by TVL
GET /v1/metadata?url=$0.01URL metadata extraction and unfurling
GET /v1/search?q=$0.01Web search for crypto/market information
GET /v1/onchain/:address$0.02On-chain analytics for any address
GET /v1/onchain/:address/tokens$0.03Token holdings for any address

Paid — Synthesis APIs (x402)

EndpointPriceDescription
GET /v1/token-risk/{token}$0.03Snapshot-based volatility, liquidity-proxy, and market-cap risk score
GET /v1/crypto-signals$0.04Aggregated buy/sell signals across multiple indicators
GET /v1/yield-comparison$0.03Compare yields across protocols with risk-adjusted returns
GET /v1/hn-sentiment$0.02Hacker News sentiment analysis for tech topics
GET /v1/npm-stats/:package$0.02NPM package download stats and trends
GET /v1/github-trending$0.02Trending GitHub repos by language/topic
GET /v1/marketing-intel$0.05Marketing intelligence: competitors, content gaps, ad copy

Paid — Bundled Intelligence (x402)

EndpointPriceDescription
GET /v1/research?q=$0.05Deep research: search + extract + synthesize in one call
GET /v1/portfolio?symbol=BTC$0.10Portfolio intelligence: price + signal + risk + sentiment + verdict
GET /v1/defi-strategy$0.25DeFi strategy report: top yields + TVL + comparison + risk flags
GET /v1/market-pulse$0.05Market pulse: fear-greed + trending + news + social + whales + global
GET /v1/onchain-overview$0.15On-chain overview: whales + exchange flows + stablecoin flows + correlation + DeFi TVL

Paid — AI Inference (x402)

EndpointPriceDescription
POST /v1/inference$0.03LLM inference (gpt-5.4/5.4-mini/5.5) — chat completions
POST /v1/complete$0.03Text completion (CodexSale proxy)

Paid — Dispute Resolution (x402)

EndpointPriceDescription
POST /v1/disputes$0.05AI-powered dispute resolution (7 policy templates)

Use Cases — What Agents Can Build

Portfolio Monitor

bash
# ALL-IN-ONE: Get portfolio intelligence in a single call ($0.10)# Returns: price + technical signal + risk score + market sentiment + verdictcurl "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

DeFi Yield Optimizer

bash
# ALL-IN-ONE: Get DeFi strategy report ($0.25)# Returns: top yields + protocol TVL + cross-chain comparison + risk flagscurl "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

Market Intelligence Agent

bash
# ALL-IN-ONE: Get market pulse report ($0.05)# Returns: fear-greed + trending + news + social + whales + global marketcurl "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"

Technical Analysis Bot

bash
# 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

Developer Research Agent

bash
# 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"

AI Chat / Inference

bash
# 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"}]}'

On-Chain Analytics

bash
# ALL-IN-ONE: Get full on-chain overview ($0.15)# Returns: whale movements + exchange flows + stablecoin flows + correlation matrix + DeFi TVLcurl "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

Quick Start

Using curl

bash
# Free — no payment neededcurl https://agentservices.to/v1/prices?symbols=BTC,ETH
# Paid — returns HTTP 402 with payment instructions in the headercurl -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.)

json
{  "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

Using with Python

python
import httpx
# Free endpointsresp = httpx.get("https://agentservices.to/v1/prices?symbols=BTC,ETH")prices = resp.json()
# Paid endpoints — use x402 client to handle paymentfrom x402.client import x402Clientclient = x402Client()result = client.get("https://agentservices.to/v1/indicators/BTC")# Client handles 402 → pays USDC → retries with payment proof → returns data

Using with JavaScript/TypeScript

typescript
// Free endpointsconst prices = await fetch("https://agentservices.to/v1/prices?symbols=BTC,ETH").then(r => r.json());
// Paid endpoints — use @x402/facilitatorimport { wrapFetchWithPayment } from "@x402/facilitator";const paidFetch = wrapFetchWithPayment(fetch);const indicators = await paidFetch("https://agentservices.to/v1/indicators/BTC").then(r => r.json());

Dispute Resolution Engine

AgentServices includes an AI-powered dispute resolution system with 7 policy templates:

PolicyUse Case
freelance-deliveryFreelancer vs client delivery disputes
milestone-paymentMilestone-based project payment disputes
sla-monitoringService level agreement violations
api-qualityAPI response quality / uptime disputes
bug-bountyBug bounty validity disputes
scope-disputeProject scope creep disputes
physical-commercePhysical goods transaction disputes

Human billing door (ChatGPT / Claude)

Wallet agents continue to pay via x402 on REST — unchanged. Humans connecting through ChatGPT Developer Mode or Claude custom connectors can use Google OAuth + Stripe prepaid credits on MCP.

RailWhoHow
x402Wallet agentsUnauthenticated REST → HTTP 402 → USDC on Base
CreditsLogged-in humansGoogle OAuth on MCP → deduct same USD price from prepaid balance

MCP URL for ChatGPT: https://agentservices.to/mcp

Environment variables

Copy .env.example. Required to enable the human door:

VariablePurpose
GOOGLE_CLIENT_IDGoogle OAuth client ID
GOOGLE_CLIENT_SECRETGoogle OAuth client secret
OAUTH_JWT_SECRETSigns MCP bearer tokens (or use SESSION_SECRET)
STRIPE_SECRET_KEYStripe API secret key
STRIPE_WEBHOOK_SECRETVerifies checkout.session.completed webhooks
STRIPE_PRICE_CREDITS_10Optional Stripe Price ID for $10 pack (otherwise hardcoded)
PUBLIC_BASE_URLCanonical host, e.g. https://agentservices.to

Prepaid credit balances are stored in Stripe Customer Balance (one Stripe Customer per Google sub). No Redis, Postgres, or other database is required.

Without Google/Stripe vars the API boots in x402-only mode.

Google Cloud Console redirect URIs

Add both hosts:

  • https://agentservices.to/oauth/google/callback
  • https://api.agentservices.to/oauth/google/callback

Stripe webhook

Point Stripe to:

  • https://agentservices.to/billing/webhook
  • https://api.agentservices.to/billing/webhook

Event: checkout.session.completed

Discovery & Listings

Tech Stack

  • FastAPI (Python 3.11+)
  • x402 v2 payment middleware (Coinbase CDP facilitator)
  • USDC on Base Mainnet (EIP-3009 gasless transfers)
  • Deployed on Vercel (agentservices.to + api.agentservices.to, auto-deploy from main)

Coinbase AgentKit Integration

AgentServices includes a built-in Coinbase AgentKit action provider (agentkit/ directory). This lets any AgentKit agent use AgentServices APIs with typed, documented actions:

python
from coinbase_agentkit import AgentKit, AgentKitConfigfrom agentkit import agentservices_action_provider
agent_kit = AgentKit(AgentKitConfig(    wallet_provider=wallet_provider,    action_providers=[agentservices_action_provider()]))

18 actions covering free (prices, fear-greed, trending, gas) and paid endpoints (indicators, DeFi yields, portfolio intelligence, research, onchain analytics, AI inference, and more). See agentkit/README.md for full documentation.

License

MIT — Build on it, fork it, integrate it.

Links

來源:README.md,提交 a9a5fd8

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v6.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分