搜索

PythonReactSEOPDF
OpenClaw

agentapi

Browse and search the AgentAPI directory - a curated database of APIs designed for AI agents. Find MCP-compatible APIs for search, AI, communication, databases, payments, and more. Includes x402 pay-per-use billing with USDC on Base.

gizmo-dev0 来源安装数☆ 0 仓库 Starsv1.0.3

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install gizmo-dev/agentapi-hub

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

AgentAPI

A curated directory of APIs designed for AI agents. Machine-readable. MCP-compatible. Agent-accessible.

Website: https://agentapihub.com
Billing API: https://api.agentapihub.com
Docs: https://api.agentapihub.com/api/docs

x402 Pay-Per-Use Billing

AgentAPI supports x402 — a payment protocol that lets AI agents pay for API calls with USDC on Base. No API keys required.

How It Works
  1. Agent calls API endpoint (e.g., /api/gemini/chat/completions)
  2. Server returns 402 Payment Required with price + wallet address
  3. Agent sends USDC payment on Base chain
  4. Agent retries with payment proof in header
  5. Server verifies payment, proxies request, returns response
Example Flow
# 1. Initial request returns 402
curl https://api.agentapihub.com/api/gemini/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"gemini-2.0-flash","messages":[{"role":"user","content":"Hello"}]}'

# Response: 402 Payment Required
# {
#   "price": "0.001",
#   "currency": "USDC",
#   "chain": "base",
#   "recipient": "0xcCb92A101347406ed140b18C4Ed27276844CD9D7",
#   "paymentId": "pay_abc123"
# }

# 2. Agent pays on Base, retries with proof
curl https://api.agentapihub.com/api/gemini/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-Payment-Proof: 0x..." \
  -d '{"model":"gemini-2.0-flash","messages":[{"role":"user","content":"Hello"}]}'
Available x402 APIs
API Endpoint Price
Gemini Chat /api/gemini/chat/completions ~$0.001/req
Gemini Embeddings /api/gemini/embeddings ~$0.0005/req
Why x402?
  • No API keys — Agents self-provision access
  • Pay-per-use — No subscriptions, no minimums
  • Crypto-native — USDC on Base (fast, cheap txns)
  • Agent-friendly — Programmatic payments without human bottleneck

Quick Search

By Category
Category APIs Example
Search Brave, Serper, Exa, T...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/gizmo-dev/agentapi-hub
Version
1.0.3
Commit
bc19ee4977d87942c43696927f98298801108aec
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# AgentAPI

A curated directory of APIs designed for AI agents. Machine-readable. MCP-compatible. Agent-accessible.

**Website:** https://agentapihub.com  
**Billing API:** https://api.agentapihub.com  
**Docs:** https://api.agentapihub.com/api/docs

## x402 Pay-Per-Use Billing

AgentAPI supports **x402** — a payment protocol that lets AI agents pay for API calls with USDC on Base. No API keys required.

### How It Works

1. Agent calls API endpoint (e.g., `/api/gemini/chat/completions`)
2. Server returns `402 Payment Required` with price + wallet address
3. Agent sends USDC payment on Base chain
4. Agent retries with payment proof in header
5. Server verifies payment, proxies request, returns response

### Example Flow

```bash
# 1. Initial request returns 402
curl https://api.agentapihub.com/api/gemini/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"gemini-2.0-flash","messages":[{"role":"user","content":"Hello"}]}'

# Response: 402 Payment Required
# {
#   "price": "0.001",
#   "currency": "USDC",
#   "chain": "base",
#   "recipient": "0xcCb92A101347406ed140b18C4Ed27276844CD9D7",
#   "paymentId": "pay_abc123"
# }

# 2. Agent pays on Base, retries with proof
curl https://api.agentapihub.com/api/gemini/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-Payment-Proof: 0x..." \
  -d '{"model":"gemini-2.0-flash","messages":[{"role":"user","content":"Hello"}]}'
```

### Available x402 APIs

| API | Endpoint | Price |
|-----|----------|-------|
| Gemini Chat | `/api/gemini/chat/completions` | ~$0.001/req |
| Gemini Embeddings | `/api/gemini/embeddings` | ~$0.0005/req |

### Why x402?

- **No API keys** — Agents self-provision access
- **Pay-per-use** — No subscriptions, no minimums
- **Crypto-native** — USDC on Base (fast, cheap txns)
- **Agent-friendly** — Programmatic payments without human bottleneck

## Quick Search

### By Category

| Category | APIs | Example |
|----------|------|---------|
| Search | Brave, Serper, Exa, T...

相关技能

OpenClaw

laborany

laborany

基于 Claude Code 的桌面 AI 工作力平台 — 支持飞书/QQ 远程调度、技能创建、定时任务。OpenClaw 的桌面实现,零代码养好你的 AI 🦞 Desktop AI workforce platform built on Claude Code. Feishu/QQ bot integration, skill c...

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...