关于 registry
Frames Registry 是面向 AI Agent 的按次付费 API 网关,汇集搜索、社交、邮件、加密货币和生成式 AI 等服务。付费端点使用 x402 协议,支持自行签名或通过 AgentWallet 付款。
主要功能
- 01提供多类按次付费 API 服务
- 02支持 Twitter 数据查询
- 03提供搜索、邮件和加密货币端点
- 04提供图像、视频、音频与 3D 生成 API
- 05公开服务文档、价格与 OpenAPI 规范
适用场景
- 01按请求付费查询 Twitter 数据
- 02调用 Exa 搜索或提取网页内容
- 03为 Agent 创建邮箱并处理邮件
- 04调用生成模型或查询加密货币市场数据
安装
复制下面的命令,在终端中运行。
npx skills add https:/ / github.com/ frames-engineering/ skills --skill registry安装后在 Claude Code 中输入/registry确认已加载。
详细介绍
Frames Registry
面向 AI Agent 的按次付费 API 网关。通过 x402 支付协议提供 10 项服务。无需 API 密钥或订阅,只需使用加密货币按请求付费。
基础 URL
https://registry.frames.ag
前置条件
使用付费端点需要一个已充值 USDC 的加密钱包。有两种选择:
- AgentWallet(推荐用于 Agent) — 服务端钱包,可通过一次
POST /x402/fetch调用自动处理 402 检测、支付签名和重试。你无需管理私钥。 - 自行管理钱包 — 任意 EVM 钱包(Base)或持有 USDC 的 Solana 钱包。你需要直接对 x402 支付标头进行签名。
快速开始
- 设置钱包 — 创建 AgentWallet,或为自己的钱包充值 USDC
- 发现服务:
GET https://registry.frames.ag/api/services - 阅读服务文档:
GET https://registry.frames.ag/api/service/{slug}/skill.md - 查看价格:
GET https://registry.frames.ag/api/pricing - 发起付费请求 — 通过 AgentWallet 的
/x402/fetch,或直接使用 x402 标头(参见下方的支付协议)
服务(10 项)
| 服务 | Slug | 描述 | 端点 | 价格范围 |
|---|---|---|---|---|
| Twitter API | twitter | 通过 twitterapi.io 完整访问 Twitter API,包括用户、推文、搜索、社群、Spaces、趋势等 | 26 | $0.005 - $0.02 |
| AI Generation API | ai-gen | 运行 AI 模型,生成图像、视频、音频和 3D 内容 | 1 | $0.01 |
| x402 Test Service | test | 在 Base Sepolia(EVM)和 Solana Devnet 上测试 x402 支付流程。使用此服务验证你的 x402 客户端集成是否正常工作。 | 2 | $0.001 |
| Exa API | exa | 通过 Exa 进行语义网页搜索 | 4 | $0.002 - $0.01 |
| Wordspace Agent | wordspace | 采用沙盒执行环境和 OpenProse 技能的 AI Agent 循环 | 1 | $2 |
| OpenRouter | openrouter | 通过 300 多种模型(OpenAI、Anthropic、Google、Meta 等)生成文本 | 0 | 免费 |
| Jupiter API | jupiter | 通过 Jupiter 进行 Solana 代币兑换、价格查询、搜索和投资组合管理 | 4 | $0.002 - $0.01 |
| NEAR Intents API | near-intents | 通过 1Click 存款地址进行跨链代币兑换 | 1 | $0.01 |
| AgentMail API | agentmail | 面向 AI Agent 的电子邮件基础设施——创建收件箱、收发邮件、管理邮件会话 | 5 | $0.005 - $0.01 |
| CoinGecko API | coingecko | 加密货币价格数据、市场信息和代币搜索——查询价格、市值、热门代币,并搜索 10,000 多种加密货币 | 5 | $0.002 - $0.005 |
服务端点
每项服务均位于 https://registry.frames.ag/api/service/{slug},并提供以下端点:
| 端点 | 描述 |
|---|---|
GET / | 服务信息 |
GET /health | 健康检查 |
GET /docs | 交互式 API 文档 |
GET /openapi.json | OpenAPI 3.x 规范 |
GET /skill.md | 面向 Agent 的文档 |
价格详情
Twitter API (twitter)
Base: https://registry.frames.ag/api/service/twitter | Docs | OpenAPI | Skill
| Endpoint | Price | Description |
|---|---|---|
POST /api/user-info | $0.005 | Look up a Twitter user's profile by username — returns bio, follower/following counts, verification status, and profile metadata |
POST /api/user-tweets | $0.01 | Fetch a user's recent tweets by username or user ID, with optional reply inclusion and cursor pagination |
POST /api/user-followers | $0.01 | List accounts following a user, paginated up to 200 per page with cursor-based navigation |
POST /api/user-following | $0.01 | List accounts a user follows, paginated up to 200 per page with cursor-based navigation |
POST /api/verified-followers | $0.01 | List only verified (blue-check) accounts following a user, by user ID with cursor pagination |
POST /api/search-users | $0.01 | Search for Twitter users by keyword — matches against names, bios, and usernames |
POST /api/user-mentions | $0.01 | Fetch tweets that @mention a user, with optional time range filtering (sinceTime/untilTime unix timestamps) |
POST /api/check-follow | $0.005 | Check whether one user follows another — returns the follow relationship between two usernames |
POST /api/batch-users | $0.02 | Fetch multiple user profiles in one request by comma-separated user IDs |
POST /api/tweets-by-ids | $0.01 | Fetch full tweet data for multiple tweets by comma-separated tweet IDs |
POST /api/tweet-replies | $0.01 | Get replies to a specific tweet, sortable by Relevance, Latest, or Likes with cursor pagination |
POST /api/search-tweets | $0.01 | Advanced tweet search with operators — supports from:, to:, has:media, date ranges, engagement filters, and boolean logic |
POST /api/tweet-quotes | $0.01 | Get all quote tweets of a specific tweet, with optional time range and reply inclusion filters |
POST /api/tweet-retweeters | $0.01 | List users who retweeted a specific tweet, with cursor pagination |
POST /api/tweet-thread | $0.01 | Retrieve the full conversation thread for a tweet — parent tweets and replies in context |
POST /api/list-tweets | $0.01 | Fetch tweets from a Twitter List by list ID, with optional time range and reply filters |
POST /api/list-followers | $0.01 | List users who follow a specific Twitter List, with cursor pagination |
POST /api/list-members | $0.01 | List all members of a Twitter List, with cursor pagination |
POST /api/community-info | $0.005 | Get a Twitter Community's metadata — name, description, member count, rules, and creation date |
POST /api/community-members | $0.01 | List members of a Twitter Community, with cursor pagination |
POST /api/community-tweets | $0.01 | Fetch tweets posted in a Twitter Community, with cursor pagination |
POST /api/space-detail | $0.005 | Get details about a Twitter Space — title, host, participants, schedule, and state (live/scheduled/ended) |
POST /api/article | $0.01 | Retrieve a long-form Twitter Article (Notes) by the tweet ID that contains it |
POST /api/trends | $0.01 | Get trending topics for a location by WOEID (1=Worldwide, 23424977=US, 2459115=NYC) |
POST /api/invoke | $0.01 | Search tweets (legacy — use /api/search-tweets instead) |
POST /api/search | $0.01 | Search tweets (legacy — use /api/search-tweets instead) |
AI 生成 API (ai-gen)
Base: https://registry.frames.ag/api/service/ai-gen | 文档 | OpenAPI | Skill
| 端点 | 价格 | 描述 |
|---|---|---|
POST /api/invoke | $0.01 | 运行 AI 模型预测(价格因模型而异) |
x402 测试服务 (test)
Base: https://registry.frames.ag/api/service/test | 文档 | OpenAPI | Skill
| 端点 | 价格 | 描述 |
|---|---|---|
POST /api/invoke | $0.001 | 测试 x402 支付流程(Base Sepolia 和 Solana Devnet) |
POST /api/echo | $0.001 | 验证支付后回显数据 |
Exa API (exa)
Base: https://registry.frames.ag/api/service/exa | 文档 | OpenAPI | Skill
| 端点 | 价格 | 描述 |
|---|---|---|
POST /api/search | $0.01 | 语义网页搜索 |
POST /api/find-similar | $0.01 | 查找相似页面 |
POST /api/contents | $0.002 | 提取 URL 内容 |
POST /api/answer | $0.01 | AI 驱动的回答 |
Wordspace Agent (wordspace)
Base: https://registry.frames.ag/api/service/wordspace | 文档 | OpenAPI | Skill
| 端点 | 价格 | 描述 |
|---|---|---|
POST /api/invoke | $2 | 运行 wordspace AI Agent 循环 |
Jupiter API (jupiter)
Base: https://registry.frames.ag/api/service/jupiter | 文档 | OpenAPI | Skill
| 端点 | 价格 | 描述 |
|---|---|---|
POST /api/swap | $0.01 | 获取兑换报价和未签名交易 |
POST /api/price | $0.002 | 查询代币价格 |
POST /api/tokens | $0.002 | 搜索代币并获取元数据 |
POST /api/portfolio | $0.005 | 获取钱包投资组合持仓 |
NEAR Intents API (near-intents)
Base: https://registry.frames.ag/api/service/near-intents | 文档 | OpenAPI | Skill
| 端点 | 价格 | 描述 |
|---|---|---|
POST /api/quote | $0.01 | 获取跨链兑换报价和存款地址 |
AgentMail API (agentmail)
Base: https://registry.frames.ag/api/service/agentmail | 文档 | OpenAPI | Skill
| 端点 | 价格 | 描述 |
|---|---|---|
POST /api/inbox/create | $0.01 | 为 AI Agent 创建新的电子邮箱收件箱 |
POST /api/send | $0.01 | 从 Agent 收件箱发送电子邮件 |
POST /api/messages | $0.005 | 列出收件箱中的邮件 |
POST /api/message | $0.005 | 按 ID 获取特定邮件 |
POST /api/threads | $0.005 | 列出收件箱中的邮件会话 |
CoinGecko API(coingecko)
基础地址:https://registry.frames.ag/api/service/coingecko | 文档 | OpenAPI | 技能
| 端点 | 价格 | 描述 |
|---|---|---|
POST /api/price | $0.002 | 获取以任意法定货币/加密货币计价的代币价格 |
POST /api/token-info | $0.005 | 获取详细的代币信息和市场数据 |
POST /api/trending | $0.005 | 获取当前热门代币 |
POST /api/markets | $0.005 | 获取支持排序和分页的代币市场数据 |
POST /api/search | $0.003 | 按名称或符号搜索代币 |
AI 模型定价(ai-gen)
价格根据请求正文中的 model 字段动态设定。
图像模型:
| 模型 | 价格 |
|---|---|
flux/schnell | $0.004/张图像 |
flux/2-pro | $0.02 |
flux/kontext-pro | $0.05/张图像 |
bytedance/seedream-4 | $0.04/张图像 |
google/nano-banana | $0.05/张图像 |
google/nano-banana-2 | $0.09/张图像(1K),$0.13/张图像(2K),$0.19/张图像(4K) |
google/nano-banana-pro | $0.18/张图像 |
google/imagen-4-fast | $0.03/张图像 |
ideogram/v3-turbo | $0.04/张图像 |
prunaai/z-image-turbo | $0.006/张图像 |
prunaai/p-image | $0.006/张图像 |
fofr/sdxl-emoji | $0.01 |
qwen/qwen-image-edit-2511 | $0.04/张图像 |
openai/dall-e-3 | $0.15/张图像 |
nightmareai/real-esrgan | $0.003/张图像 |
视频模型:
| 模型 | 价格 |
|---|---|
google/veo-3 | $0.48/秒(含音频),$0.24/秒(无音频) |
google/veo-3-fast | $0.18/秒(含音频),$0.12/秒(无音频) |
google/veo-3.1 | $0.48/秒(含音频),$0.24/秒(无音频) |
google/veo-3.1-fast | $0.18/秒(含音频),$0.12/秒(无音频) |
openai/sora-2 | $0.12/秒 |
openai/sora-2-pro | $0.36/秒(720p),$0.60/秒(1080p) |
kwaivgi/kling-v2.5-turbo-pro | $0.09/秒 |
kwaivgi/kling-v2.6 | $0.09/秒 |
kwaivgi/kling-v2.6-motion-control | $0.09/秒(标准),$0.15/秒(专业) |
bytedance/seedance-1-pro | $0.04/秒(480p),$0.08/秒(720p),$0.18/秒(1080p) |
bytedance/seedance-1-lite | $0.03/秒(480p),$0.05/秒(720p),$0.09/秒(1080p) |
bytedance/seedance-1-pro-fast | $0.02/秒(480p),$0.03/秒(720p),$0.08/秒(1080p) |
bytedance/seedance-1.5-pro | $0.04/秒(720p),$0.07/秒(720p+音频) |
minimax/video-01 | $0.60 |
wan-video/wan-2.2-t2v-fast | $0.12 |
wan-video/wan-2.2-i2v-fast | $0.07 |
wan-video/wan-2.5-i2v-fast | $0.09/秒(720p),$0.13/秒(1080p) |
runwayml/gen4-turbo | $0.06/秒 |
runwayml/gen4-aleph | $0.22/秒 |
veed/fabric-1.0 | $0.10/秒(480p),$0.18/秒(768p) |
shreejalmaharjan-27/tiktok-short-captions | $0.002/秒 |
支付协议(x402)
所有付费端点均使用 x402 支付协议。无需 API 密钥。
流程:
- 不带支付标头调用任一付费端点
- 收到
402 Payment Required,其中包含PAYMENT-REQUIRED标头(含价格、网络和 payTo 地址的 Base64 JSON) - 在所选网络上为请求金额签署支付
- 使用
PAYMENT-SIGNATURE标头重试相同请求 - 收到响应以及
PAYMENT-RESPONSE确认标头
失败的请求会自动退款。
支持的网络:
| 网络 | ID | 类型 | 环境 |
|---|---|---|---|
| Base | eip155:8453 | EVM | 主网 |
| Base Sepolia | eip155:84532 | EVM | 测试网 |
| Solana | solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | Solana | 主网 |
| Solana Devnet | solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1 | Solana | 开发网 |
接受的代币: USDC、USDT、CASH(可用性因网络而异)
平台端点(免费)
| 端点 | 描述 |
|---|---|
GET https://registry.frames.ag/api | 平台信息和版本 |
GET https://registry.frames.ag/api/services | 列出所有服务及其元数据 |
GET https://registry.frames.ag/api/services/:slug | 单个服务的详情 |
GET https://registry.frames.ag/api/pricing | 所有定价策略 |
GET https://registry.frames.ag/api/networks | 支持的支付网络 |
GET https://registry.frames.ag/api/health | 健康检查 |
GET https://registry.frames.ag/api/packages | 技能/Agent 软件包目录 |
GET https://registry.frames.ag/api/packages/:slug/bundle | 下载软件包 |
GET https://registry.frames.ag/.well-known/x402 | x402 发现文档 |
GET https://registry.frames.ag/docs | 交互式文档(HTML) |
Agent 集成
使用 AgentWallet(推荐)
AgentWallet 是专为 AI Agent 提供的服务端钱包。它负责管理密钥、余额和 x402 支付签名,因此 Agent 无需直接处理加密货币。
- 使用 AgentWallet 进行身份验证(邮箱 OTP → API 令牌)
- 使用 Base 或 Solana 上的 USDC 为钱包充值
- 通过 AgentWallet 的代理调用任意 Frames Registry 端点:
POST https://frames.ag/x402/fetch
{
"url": "https://registry.frames.ag/api/service/twitter/api/search-tweets",
"method": "POST",
"body": { "query": "AI agents" }
}
AgentWallet 会检测 402 响应、签署支付并自动重试。
直接使用 x402(自行管理钱包)
需要拥有 USDC 的 EVM 或 Solana 钱包,并且能够签署 EIP-3009 或 SPL 转账。
- 向付费端点发送请求
- 从 402 响应中解析
PAYMENT-REQUIRED标头(包含价格、网络和 payTo 的 Base64 JSON) - 为确切金额签署付款授权
- 使用
PAYMENT-SIGNATURE标头重试