AgentAPI
A curated directory of APIs designed for AI agents. Machine-readable. MCP-compatible. Agent-accessible.
Website: https://agentapihub.com
Docs: https://api.agentapihub.com/api/docs
Free Features
The directory and search functionality is completely free:
CODEBLOCK0
x402 Pay-Per-Use APIs
Some APIs are available through x402 — a pay-per-use protocol using USDC on Base chain.
Available x402 APIs
| API | Endpoint | Approx. Price |
|---|
| Gemini Chat | INLINECODE0 | ~$0.001/req |
| Gemini Embeddings |
/api/gemini/embeddings | ~$0.0005/req |
How x402 Works
- 1. Call the API endpoint
- Receive
402 Payment Required with price details - Send USDC payment on Base chain
- Retry request with payment proof
- Receive API response
⚠️ Important Safety Notice
x402 payments require explicit setup and should not be automated without safeguards:
- - Wallet required: You must configure a wallet with USDC on Base
- User approval recommended: Implement confirmation flows before any payment
- Verify recipient: The payment recipient is
0xcCb92A101347406ed140b18C4Ed27276844CD9D7 (gizmolab.eth) - Set spending limits: Configure maximum per-request and daily limits
- This skill does not auto-execute payments — it provides documentation only
For implementation details, see: https://api.agentapihub.com/api/docs
Directory Categories
| Category | APIs | Example |
|---|
| Search | Brave, Serper, Exa, Tavily, Perplexity | Web search with AI summaries |
| AI & ML |
OpenAI, Claude, Gemini, Groq, Replicate | LLM inference, image gen |
| Communication | Resend, Twilio, Slack, Discord, Telegram | Email, SMS, messaging |
| Database | Supabase, Pinecone, Qdrant, Neon, Upstash | SQL, vectors, KV store |
| Payments | Stripe, Lemon Squeezy, PayPal | Payment processing |
| Scraping | Firecrawl, Browserbase, Apify | Web scraping, automation |
| Developer | GitHub, Vercel, Linear, Sentry | Code, deploy, issues |
| Productivity | Notion, Google Calendar, Todoist | Tasks, scheduling |
MCP-Compatible APIs
All 50+ APIs in the directory are MCP-compatible. Filter with ?mcp=true.
API Response Format
CODEBLOCK1
Top APIs by Category
Search
- - Brave Search - Privacy-focused, 2k free/mo
- Exa - Neural/semantic search for AI
- Tavily - Built specifically for AI agents
AI & ML
- - OpenAI - GPT-4, DALL-E, Whisper
- Anthropic Claude - Best for reasoning/coding
- Groq - Fastest inference (500+ tok/sec)
Communication
- - Resend - Simple email API, 3k free/mo
- Twilio - SMS/voice, industry standard
- Slack/Discord/Telegram - Team messaging
Database
- - Supabase - Postgres + auth + storage
- Pinecone/Qdrant - Vector DBs for RAG
- Upstash - Serverless Redis
Usage Examples
CODEBLOCK2
Contributing
Submit new APIs at https://agentapihub.com (Submit API link in footer).
Built By
GizmoLab (@gizmolab) — gizmolab.io
AgentAPI
一个专为AI代理设计的精选API目录。机器可读。兼容MCP。代理可访问。
网站: https://agentapihub.com
文档: https://api.agentapihub.com/api/docs
免费功能
目录和搜索功能完全免费:
bash
浏览所有API(免费)
curl https://agentapihub.com/api/v1/apis
按能力搜索(免费)
curl https://agentapihub.com/api/v1/apis?q=send+email&mcp=true
按类别筛选(免费)
curl https://agentapihub.com/api/v1/apis?category=ai
x402 按用量付费API
部分API可通过 x402 使用——这是一种基于Base链上USDC的按用量付费协议。
可用的x402 API
| API | 端点 | 大致价格 |
|---|
| Gemini 聊天 | /api/gemini/chat/completions | ~$0.001/次 |
| Gemini 嵌入 |
/api/gemini/embeddings | ~$0.0005/次 |
x402 工作原理
- 1. 调用API端点
- 收到 402 Payment Required 及价格详情
- 在Base链上发送USDC付款
- 携带付款证明重试请求
- 接收API响应
⚠️ 重要安全提示
x402付款需要明确设置,且在没有安全措施的情况下不应自动化:
- - 需要钱包: 您必须配置一个在Base上拥有USDC的钱包
- 建议用户批准: 在任何付款前实施确认流程
- 验证收款方: 付款收款方为 0xCcB92A101347406ed140b18C4Ed27276844CD9D7 (gizmolab.eth)
- 设置消费限额: 配置每次请求和每日的最大限额
- 此技能不会自动执行付款——它仅提供文档
有关实现细节,请参阅:https://api.agentapihub.com/api/docs
目录类别
| 类别 | API | 示例 |
|---|
| 搜索 | Brave, Serper, Exa, Tavily, Perplexity | 带AI摘要的网页搜索 |
| AI与机器学习 |
OpenAI, Claude, Gemini, Groq, Replicate | LLM推理、图像生成 |
| 通信 | Resend, Twilio, Slack, Discord, Telegram | 电子邮件、短信、消息 |
| 数据库 | Supabase, Pinecone, Qdrant, Neon, Upstash | SQL、向量、键值存储 |
| 支付 | Stripe, Lemon Squeezy, PayPal | 支付处理 |
| 爬取 | Firecrawl, Browserbase, Apify | 网页爬取、自动化 |
| 开发者 | GitHub, Vercel, Linear, Sentry | 代码、部署、问题追踪 |
| 生产力 | Notion, Google Calendar, Todoist | 任务、日程安排 |
兼容MCP的API
目录中所有50+个API均兼容MCP。使用 ?mcp=true 进行筛选。
API响应格式
json
{
id: resend,
name: Resend,
description: 面向开发者的现代电子邮件API,
category: communication,
provider: Resend,
docs: https://resend.com/docs,
auth: api_key,
pricing: freemium,
pricingDetails: 每月3000封免费,之后每月$20,
rateLimit: 10次请求/秒,
mcpCompatible: true,
x402Enabled: false,
tags: [email, transactional, notifications]
}
按类别划分的顶级API
搜索
- - Brave Search - 注重隐私,每月2000次免费
- Exa - 面向AI的神经/语义搜索
- Tavily - 专为AI代理构建
AI与机器学习
- - OpenAI - GPT-4、DALL-E、Whisper
- Anthropic Claude - 最适合推理/编码
- Groq - 最快推理(500+ token/秒)
通信
- - Resend - 简单的电子邮件API,每月3000封免费
- Twilio - 短信/语音,行业标准
- Slack/Discord/Telegram - 团队消息
数据库
- - Supabase - Postgres + 认证 + 存储
- Pinecone/Qdrant - 用于RAG的向量数据库
- Upstash - 无服务器Redis
使用示例
markdown
查找用于发送电子邮件的API
在AgentAPI中搜索email → 返回 Resend、SendGrid、Twilio
查找用于RAG的向量数据库
在AgentAPI中搜索vector embeddings → 返回 Pinecone、Qdrant、Weaviate
查找快速的LLM推理
在AgentAPI中搜索类别ai + 按延迟筛选 → 返回 Groq、Gemini Flash
贡献
在 https://agentapihub.com 提交新的API(页脚中的提交API链接)。
构建者
GizmoLab (@gizmolab) — gizmolab.io