agentapi-hub
由 gizmo-dev 提供
Browser & Automation简介
Browse and search the AgentAPI directory - a curated database of APIs designed for AI agents.
描述
该技能的功能
AgentAPI is a curated directory of 50+ MCP-compatible APIs built for AI agents, covering categories like search, AI/ML, communication, databases, and payments. It includes an x402 billing layer that lets agents pay per API call using USDC on Base, removing the need for pre-issued API keys.
The x402 protocol lets agents self-provision API access programmatically, eliminating the manual step of obtaining and rotating API keys across services.
何时使用
- Finding a web search API compatible with an MCP agent
- Browsing vector database options for a RAG pipeline
- Calling Gemini without managing an API key via x402 payment
- Comparing LLM inference providers by latency and pricing
- Discovering email or SMS APIs to add messaging to an agent
示例工作流
User asks: Call Gemini Flash through AgentAPI without an API key
- 1
Send POST request to /api/gemini/chat/completions on api.agentapihub.com
- 2
Receive 402 Payment Required response with price, wallet address, and paymentId
- 3
Send USDC payment on Base chain to the provided wallet address
- 4
Retry the original request with X-Payment-Proof header containing the transaction hash
- 5
Server verifies payment and proxies the request to Gemini
Gemini Flash response returned to the agent
前置要求
- Base wallet funded with USDC (for x402 pay-per-use billing)
安装
clawhub install gizmo-dev/agentapi-hub运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。