agentapi-hub
bởi gizmo-dev
Browser & AutomationTóm tắt
Browse and search the AgentAPI directory - a curated database of APIs designed for AI agents.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
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
Yêu cầu
- Base wallet funded with USDC (for x402 pay-per-use billing)
Cài đặt
clawhub install gizmo-dev/agentapi-hubChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.