---
name: php186-skill-77473
description: "在Base主网上付费的x402 HTTP-402端点，让代理为网络搜索、AI分析、加密货币和股票市场数据、SEC文件、公司情报、新闻、情感评分和宏观仪表板支付每次调用的USDC费用。25个端点定价为$0.001-$0.15/调用，返回JSON格式。该代理前端支持本地LLM推理和公共数据API，因此代理可以在无需API密钥的情况下获取基于事实的市场、文件和新闻数据，并通过x402促进者协议收取微支付费用。"
---

# JMT x402 代理工具

## JMT x402 代理工具

 

JMT x402 Agent Tools exposes 25 paid HTTP endpoints on Base mainnet that use the x402 payment protocol (HTTP 402) to bill agents per call in USDC. Prices range from $0.001 to $0.15 per request, settled on-chain through the x402 facilitator. Each endpoint returns structured JSON, so an agent can ground its answers in real data without managing its own API keys or subscriptions.

 

The service fronts local LLM inference plus public data providers, packaging them into a single paid interface:

 

- **Web search** — query the open web and receive ranked JSON results.
- **AI analysis** — summarization, extraction, and reasoning over supplied text or fetched content, powered by a local LLM.
- **Crypto and stock data** — current quotes, historical series, and market statistics for tickers and on-chain assets.
- **SEC filings** — retrieve and search EDGAR filings (10-K, 10-Q, 8-K) by company and form type.
- **Company intelligence** — fundamentals, sector, and business profile data.
- **News and sentiment** — news search plus sentiment scoring per article or query.
- **Macro dashboard** — a consolidated cross-market snapshot of rates, FX, indices, and commodity data.

 

Because payment is handled per request via the x402 facilitator, agents only need a funded wallet on Base mainnet; there is no signup, billing account, or shared API key to manage. The endpoint responds ` 402 Payment Required ` with a payment challenge, the agent pays, and the proxy returns the result JSON.

 

## Installation

 

### Direct endpoint usage

 

Point your agent at the proxy root and call any endpoint. A typical request flow:

 

```
# 1. Request the endpoint — receive a 402 payment challenge
curl -i https://jmt-x402-proxy.jmthomasofficial.workers.dev/search?q=base+chain+tvl

# 2. Pay the quoted USDC amount on Base mainnet via the x402 facilitator
#    (use your x402 client library, e.g. x402-fetch)

# 3. Re-request with the payment header — receive JSON results
curl -H "X-PAYMENT: <payment-header>" 
     https://jmt-x402-proxy.jmthomasofficial.workers.dev/search?q=base+chain+tvl
```

 

### x402 client libraries

 

Use any x402-compatible client to handle the payment handshake automatically:

 

```
npm install x402-fetch      # browser/Node fetch wrapper
pip install x402-requests   # Python requests wrapper
```

 

Then make paid calls as if they were ordinary HTTP requests; the library intercepts the ` 402 ` response, pays via the facilitator, and retries.

 

## Source

 

- Proxy endpoint: https://jmt-x402-proxy.jmthomasofficial.workers.dev
- x402 protocol: https://x402.org
