Skip to main content
Glama

AgentBridge Atlas - x402 M2M 微支付市场

AI 代理 → 链上签名与支付(0.005 USDC)→ 后端验证与结算 → 国家统计局 GDP 数据交付。M2M(机器对机器)微支付循环已上线。

快速事实

项目

API 基础地址

https://api.060504.shop

支付协议

x402 v2 (EIP-3009, USDC on Base)

钱包

0x1630c8E0833c367F39f0ca909b6b67f5159d7A00

Base (Chain ID 8453)

已结算交易

Block #49848412, 0.005 USDC

资产

96

MCP 工具

8 (4 免费 + 3 付费 + 1 支付)

API 路径

12

Related MCP server: hyperd-mcp

实时端点

端点

方法

价格

描述

/health

GET

免费

健康检查

/openapi.json

GET

免费

OpenAPI 规范(12 个路径)

/catalog.json

GET

免费

96 个资产目录

/llms.txt

GET

免费

LLM 可读的 API 文档

/.well-known/mcp/server-card.json

GET

免费

MCP 服务器身份卡

/v1/api/industry

POST

$0.005 USDC

中国国家统计局数据(GDP、CPI、PPI)

/v1/api/policy

POST

$0.005 USDC

中国政府政策搜索

/v1/api/company

POST

$0.003 USDC

中国企业信用信息

/v1/fetch/dynamic

POST

$0.008 USDC

动态网页内容抓取

/v1/assets/{id}

GET

$0.01-$9.99 USDC

资产交付

x402 支付如何工作

1. Agent calls POST /v1/api/industry (no payment header)
2. Server returns 402 Payment Required (x402 v2 challenge)
   - x402Version: 2
   - paymentRequirements: {scheme, network, asset, payTo, maxAmountRequired, ...}
3. Agent signs EIP-3009 TransferWithAuthorization (no gas needed)
4. Agent retries with X-Payment header
5. Server verifies signature → settles on-chain → returns 200 + data
6. On-chain: 0.005 USDC transferred to wallet

链上证明

  • 交易哈希0xef8d49e88cb58651e9bf30465597b50863dcc363f6e1f227779292149818ae28

  • 方法:Transfer With Authorization(EIP-3009,无 Gas)

  • 金额:0.005 USDC

  • 区块:#49848412

  • 代币:USDC(0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

  • 发送方0xc4217BD72b4dea480ed4879fcec530d92637C800

  • 接收方0x1630c8E0833c367F39f0ca909b6b67f5159d7A00

  • 方案:EIP-3009(无 Gas 转账授权)

在 Basescan(Base 主网)上验证:

Transaction: https://basescan.org/tx/0xef8d49e88cb58651e9bf30465597b50863dcc363f6e1f227779292149818ae28
Wallet: https://basescan.org/address/0x1630c8E0833c367F39f0ca909b6b67f5159d7A00

MCP 服务器

MCP 服务器为 AI 代理提供 8 个工具:

免费发现工具

  • discover_capabilities - 列出所有 API 端点

  • discover_china_data_apis - 列出中国数据 API 及定价

  • get_capability_info - 获取特定能力的详细信息

  • get_payment_instructions - 分步 x402 支付指南

付费数据工具(x402)

  • query_industry_statistics ($0.005) - 国家统计局数据

  • search_china_policies ($0.005) - 政府政策搜索

  • query_company_credit ($0.003) - 企业信用信息

支付工具

  • purchase_capability - 为任何端点发起 x402 支付

快速开始

使用 curl 测试

# 1. Discover the API (free)
curl https://api.060504.shop/health
curl https://api.060504.shop/openapi.json
curl https://api.060504.shop/llms.txt

# 2. Trigger 402 payment challenge
curl -X POST https://api.060504.shop/v1/api/industry \
  -H "Content-Type: application/json" \
  -d '{"keyword":"GDP"}'
# Returns 402 with x402 payment requirements

# 3. Sign EIP-3009 and retry with payment
# See examples/agent_client.py for full implementation

Python 示例

# See examples/agent_client.py for complete x402 payment client
python examples/agent_client.py

数据来源与合规

API

来源

合规

行业

data.stats.gov.cn

限速 3 秒/请求,遵守 robots.txt

政策

sousuo.www.gov.cn

限速 3 秒/请求,HTML 回退

企业

gsxt.gov.cn

不绕过验证码,仅提供官方链接

架构

AI Agent / User
    │
    ├── GitHub Pages (frontend catalog)
    │
    └── API Server (api.060504.shop)
            │
            ├── China Data APIs (3 endpoints)
            ├── x402 Payment (USDC on Base, EIP-3009)
            └── MCP Server (8 tools)

技术栈

  • 后端:FastAPI + Uvicorn(Python)

  • 服务:Windows NSSM(NETWORK SERVICE 账户)

  • 支付:x402 v2 协议,Base 上的 USDC

  • MCP:模型上下文协议(SSE 和 stdio)

  • 前端:GitHub Pages

  • 数据:中国政府公共平台

技术博客与开发日志

我们记录了构建 AgentBridge 的工程历程,探索 x402、MCP 和自主 M2M 商务。

在 Medium 上阅读深度文章:

🚀 构建自主 M2M 支付循环:AI 代理通过 x402 为数据付费)

🌉 AgentBridge:中国公共信息与全球 AI 代理之间的数据桥梁

🛡️ AI 代理如何合法访问中国公共数据:技术深度解析

在 Medium 上关注完整开发日志:

版本历史

  • v1.0 (2026-08-07):初始部署,76 个资产

  • v2.0 (2026-08-16):新增 5 个指南,清理,94 个资产

  • v3.0 (2026-08-16):中国数据 API + MCP 服务器,96 个资产

  • v3.1 (2026-08-17):x402 端到端支付已验证,0.005 USDC 已结算

许可证

商业用途。所有数据均来自公共政府平台。

🌐 生态系统与信任

AgentBridge 在 x402 和 MCP 生态系统中得到认可并被索引:

协议索引

  • x402scan — 活跃服务,过去 30 天内有 12+ 笔链上交易(搜索“AgentBridge”)

  • the402.ai — 已收录于 x402 生态系统目录(MCP 可访问目录)

  • x402 Discovery Index — 社区发现列表,PR 待合并 → github.com/x402-index/x402-discovery-index/pull/35

市场

MCP 生态系统

链上证明

链接

免责声明

此 API 提供的数据来源于公共宏观经济和教育统计数据。我们不托管或拥有这些数据。用户有责任遵守其当地的数据使用法规。

F
license - not found
Not graded
quality - not tested
A
maintenance

Maintenance

1Releases (12mo)
Commit activity
Issues opened vs closed

Related MCP Connectors

Related MCP Servers

View all related MCP servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tianzizhiming-svg/agentbridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server