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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.