agentapi

TotalClaw 作者 gizmolab v1.0.7

浏览并搜索 AgentAPI 目录 - 专为 AI 代理设计的 API 精选数据库。查找适用于搜索、人工智能、通信、数据库、支付等的 MCP 兼容 API。包括免费目录访问和可选的 x402 按使用付费 API。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw skills install shop:totalclaw:totalclaw~gizmo-dev-agentapi
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~gizmo-dev-agentapi/file -o gizmo-dev-agentapi.md
# 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**:

```bash
# Browse all APIs (FREE)
curl https://agentapihub.com/api/v1/apis

# Search by capability (FREE)
curl "https://agentapihub.com/api/v1/apis?q=send+email&mcp=true"

# Filter by category (FREE)
curl "https://agentapihub.com/api/v1/apis?category=ai"
```

## 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 | `/api/gemini/chat/completions` | ~$0.001/req |
| Gemini Embeddings | `/api/gemini/embeddings` | ~$0.0005/req |

### How x402 Works

1. Call the API endpoint
2. Receive `402 Payment Required` with price details
3. Send USDC payment on Base chain
4. Retry request with payment proof
5. 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

```json
{
  "id": "resend",
  "name": "Resend",
  "description": "Modern email API for developers",
  "category": "communication",
  "provider": "Resend",
  "docs": "https://resend.com/docs",
  "auth": "api_key",
  "pricing": "freemium",
  "pricingDetails": "3,000 free/mo, then $20/mo",
  "rateLimit": "10 req/sec",
  "mcpCompatible": true,
  "x402Enabled": false,
  "tags": ["email", "transactional", "notifications"]
}
```

## 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

```markdown
# Find an API for sending emails
Search AgentAPI for "email" → Returns Resend, SendGrid, Twilio

# Find vector databases for RAG
Search AgentAPI for "vector embeddings" → Returns Pinecone, Qdrant, Weaviate

# Find fast LLM inference
Search AgentAPI for category "ai" + filter by latency → Returns Groq, Gemini Flash
```

## Contributing

Submit new APIs at https://agentapihub.com (Submit API link in footer).

## Built By

GizmoLab ([@gizmolab_](https://twitter.com/gizmolab_)) — [gizmolab.io](https://gizmolab.io)

---

## 中文说明

# AgentAPI

专为 AI 代理设计的 API 精选目录。机器可读。MCP 兼容。代理可访问。

**网站:** https://agentapihub.com  
**文档:** https://api.agentapihub.com/api/docs

## 免费功能

目录和搜索功能**完全免费**:

```bash
# Browse all APIs (FREE)
curl https://agentapihub.com/api/v1/apis

# Search by capability (FREE)
curl "https://agentapihub.com/api/v1/apis?q=send+email&mcp=true"

# Filter by category (FREE)
curl "https://agentapihub.com/api/v1/apis?category=ai"
```

## x402 按使用付费 API

部分 API 可通过 **x402** 使用——这是一种在 Base 链上使用 USDC 的按使用付费协议。

### 可用的 x402 API

| API | 端点 | 大致价格 |
|-----|----------|---------------|
| Gemini Chat | `/api/gemini/chat/completions` | ~$0.001/req |
| Gemini Embeddings | `/api/gemini/embeddings` | ~$0.0005/req |

### x402 的工作原理

1. 调用 API 端点
2. 收到带有价格详情的 `402 Payment Required`
3. 在 Base 链上发送 USDC 付款
4. 携带付款凭证重试请求
5. 收到 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、向量、KV 存储 |
| 支付 | 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": "Modern email API for developers",
  "category": "communication",
  "provider": "Resend",
  "docs": "https://resend.com/docs",
  "auth": "api_key",
  "pricing": "freemium",
  "pricingDetails": "3,000 free/mo, then $20/mo",
  "rateLimit": "10 req/sec",
  "mcpCompatible": true,
  "x402Enabled": false,
  "tags": ["email", "transactional", "notifications"]
}
```

## 各类别热门 API

### 搜索
- **Brave Search** - 注重隐私,每月免费 2k
- **Exa** - 面向 AI 的神经/语义搜索
- **Tavily** - 专为 AI 代理而构建

### AI 与机器学习
- **OpenAI** - GPT-4、DALL-E、Whisper
- **Anthropic Claude** - 最适合推理/编码
- **Groq** - 最快的推理(500+ tok/sec)

### 通信
- **Resend** - 简单的电子邮件 API,每月免费 3k
- **Twilio** - 短信/语音,行业标准
- **Slack/Discord/Telegram** - 团队消息

### 数据库
- **Supabase** - Postgres + 身份验证 + 存储
- **Pinecone/Qdrant** - 用于 RAG 的向量数据库
- **Upstash** - 无服务器 Redis

## 使用示例

```markdown
# Find an API for sending emails
Search AgentAPI for "email" → Returns Resend, SendGrid, Twilio

# Find vector databases for RAG
Search AgentAPI for "vector embeddings" → Returns Pinecone, Qdrant, Weaviate

# Find fast LLM inference
Search AgentAPI for category "ai" + filter by latency → Returns Groq, Gemini Flash
```

## 贡献

在 https://agentapihub.com 提交新的 API(页脚的 Submit API 链接)。

## 构建者

GizmoLab ([@gizmolab_](https://twitter.com/gizmolab_)) — [gizmolab.io](https://gizmolab.io)