Agent gets a wallet
Sign in to create a wallet and fund it for your agent.
Sign in
Your Wallet
Available Balance
$120.50
AgentRouter lets agents discover, pay, and execute APIs
770+
APIs
100+
Partners
$ I need to scrape a docs page and extract pricing tables. What are my options?
From the live web catalog I checked on April 9, 2026, the best fit is the web domain, split between web.scrape and web.extract.
Firecrawl 8 credits ($0.008), live now for both scrape and extract. Best fit when you want one provider to move from raw page capture to structured fields.
Diffbot 8 credits ($0.008), live now for scrape and extract. Strong fit when you care more about typed extraction than raw crawl breadth.
Tavily 8 credits ($0.008), live now for extract, crawl, and map. Useful when the task starts broad and then narrows into field extraction.
Give your agent a wallet. We handle APIs, routing, and payments.
Sign in to create a wallet and fund it for your agent.
Sign in
Your Wallet
Available Balance
$120.50
We recommend the best provider based on capability, price, and reliability.
Agent Request
e.g. Send Email
Resend
SendGrid
Inkbox
We execute the API call and handle payment across all supported rails.
Execute API
e.g. Send Email
Payment Rails
Done
Token-price estimates · example uses 1K prompt + 500 generated tokens
| Model ID | Best for | Prompt / 1M | Generated / 1M | Example |
|---|---|---|---|---|
| openai/gpt-5.6-sol | General default | 2,000 credits ($2) | 10,000 credits ($10) | ~7 credits ($0.007) |
| anthropic/claude-sonnet-5 | Writing + reasoning | 2,000 credits ($2) | 10,000 credits ($10) | ~7 credits ($0.007) |
| google/gemini-3.8-flash | Fast, long context | 750 credits ($0.75) | 3,750 credits ($3.75) | ~2.625 credits ($0.002625) |
| openai/gpt-5.3-codex | Software engineering | 1,750 credits ($1.75) | 14,000 credits ($14) | ~8.75 credits ($0.00875) |
| deepseek/deepseek-v4.1-flash | Low-cost reasoning | 140 credits ($0.14) | 420 credits ($0.42) | ~0.35 credits ($0.00035) |
| anthropic/claude-opus-5.5 | Premium reasoning | 4,000 credits ($4) | 20,000 credits ($20) | ~14 credits ($0.014) |
Catalog prices help you compare models. The live response returns the authoritative amount in creditsCharged.
// npm install @agentrouter/agentrouterimport { AgentRouterClient } from "@agentrouter/agentrouter"; const client = new AgentRouterClient({ apiKey: process.env.AGENTIC_API_KEY,}); const catalog = await client.models.catalog.list(); console.log(catalog.modelCount);console.log(catalog.models[0]);{ modelCount: 458, pricedModelCount: 452, creditsCharged: 0, models: [{ id: "openai/gpt-5.6-sol", contextLength: 1050000, agentRouterPricing: { inputCreditsPerMillionTokens: 2000, outputCreditsPerMillionTokens: 10000 } }, "…"]}From sending emails, make a phone call to search a hotel, you could start delegate real tasks for your agent now.
Resend
Live
AgentMail
Live
SendGrid
Live
Apollo
Live
Clado
Live
StableEnrich
Live
Firecrawl
Live
Oxylabs
Live
Diffbot
Live
Brave
Live
Exa
Live
Perplexity
Live
Google Flights
Live
Expedia
Pending
Booking
Pending
Browserbase
Live
ScreenshotOne
Live
Firecrawl
Live
简答:AgentRouter 可把多个付费 API 能力放到一套发现、推荐、执行和用量查询流程中。首次接入时,先配置 API Key 与 Base URL,再查询 domain 和 capability,随后调用 recommend 检查可执行路由,最后 execute;价格和路由状态应以当前响应为准。本文为第三方整理,核验日期为 2026-10-31。
定义:AgentRouter 是一个面向 AI Agent 的 capability-first API 路由层,用于发现能力、选择路由、执行付费 API,并查询钱包与用量。
如果你只是想判断 AgentRouter 是否适合接入,先按下面顺序做一次最小核验。公开文档把默认流程拆成认证、选择接入方式、发现目录、推荐路由、执行能力、检查钱包与用量六步。Quickstart 文档列出了对应的环境变量、端点和请求示例。
| 步骤 | 要做什么 | 成功判定 |
|---|---|---|
| 1. 配置 | 设置 AGENTIC_API_BASE_URL 与 AGENTIC_API_KEY | 请求使用 Authorization: Bearer |
| 2. 发现 | 调用 /domains、能力列表和 contract | 得到可用 domain、capability 或字段说明 |
| 3. 推荐 | 调用 /recommend | 检查 recommendedRouteKey、canExecuteNow 和阻塞条件 |
| 4. 执行 | 调用对应的 /execute | 响应中的 success、业务状态和扣费字段符合预期 |
| 5. 对账 | 查询 /wallet 与 /usage | 能看到余额或最近用量记录 |
最小环境变量示例:
export AGENTIC_API_BASE_URL=https://api.agentrouter.to/api/agentic-apiexport AGENTIC_API_KEY=aak_你的密钥API Reference 明确列出了 domain、capability、contract、recommend、execute、wallet 和 usage 等核心端点,并说明认证请求使用 Bearer Token。API Reference
可以把 AgentRouter 的对象关系理解为:domain 是问题领域,capability 是具体动作,route 是一次可执行的供应路径,provider 是路线背后的服务提供方。
email、search、web 或 models,用于先缩小问题范围。官方文档建议先调用目录接口,再在需要精确字段时读取 capability 的 /contract,然后根据是否需要系统选路决定调用 /recommend 或 /execute。API Reference
下面示例使用公开 Quickstart 中的 email.send 能力。它的价值不在于照抄收件人,而在于展示完整的“发现—推荐—执行”顺序。实际项目应先读取对应 capability 的 contract,确认必填字段和业务限制。
查看 domain:
curl "$AGENTIC_API_BASE_URL/domains"
查看能力列表:
curl "$AGENTIC_API_BASE_URL/domains/email/capabilities"
读取发送能力的字段约定:
curl "$AGENTIC_API_BASE_URL/domains/email/capabilities/send/contract"
先推荐路线:
curl -X POST "$AGENTIC_API_BASE_URL/domains/email/capabilities/send/recommend" -H "Authorization: Bearer $AGENTIC_API_KEY" -H "Content-Type: application/json" -d '{"agentName":"docs_quickstart","optimizationPreferences":["cost","quality"],"tracking":true}'
检查推荐结果中的 canExecuteNow。如果为 false,先阅读 blockingRequirements 和 nextActions,不要直接假设执行会成功。
确认路线后执行:
curl -X POST "$AGENTIC_API_BASE_URL/domains/email/capabilities/send/execute" -H "Authorization: Bearer $AGENTIC_API_KEY" -H "Content-Type: application/json" -d '{"to":"[email protected]","subject":"Test","html":"<p>Test</p>","provider":"resend","allowFallback":true}'
文档示例中的推荐响应包含 recommendedProvider、recommendedRouteKey、canExecuteNow、blockingRequirements 和 candidates;执行响应示例包含业务状态、路线和 creditsCharged。这些字段应按当前接口响应处理,不应写死为永久不变的结构。Quickstart 文档 Recommendation 文档
recommend 是选路步骤,不是最终的付费执行。官方说明显示,它可以根据成本、速度、可靠性、质量、候选路线和当前运行状态返回建议;当某条路线需要先获取资源、准备钱包或完成其他流程时,还可能返回阻塞条件和下一步操作。Recommendation 文档
因此,应用代码至少应做三项检查:
recommendedRouteKey。canExecuteNow 是否为 true。blockingRequirements、nextActions 是否为空或已经完成。只有在路由可执行、请求体符合 contract、测试数据已经脱敏时,再进入 execute。若你明确要求固定 provider,也应核对该 provider 对应的 route 是否仍在当前目录中可用。
公开 Quickstart 将 AgentRouter 的账单单位写为 credits,并给出了“1000 credits = 1 美元”的说明;同一页面还展示了钱包余额、usage 查询和执行响应中的 creditsCharged。由于目录价格、候选路线和路由状态可能变化,页面上的示例价格只能作为文档示例,实际扣费应以当前执行响应为准。Quickstart 文档
文档还使用了 live、mapped、pending、gated 等状态描述路线。它们不应被理解为永久承诺:在实际调用前,应重新读取目录、contract 或 recommend 响应,并以 canExecuteNow、阻塞要求和最终业务响应判断是否适合继续。
完成测试后,可以查询:
curl "$AGENTIC_API_BASE_URL/wallet" -H "Authorization: Bearer $AGENTIC_API_KEY"curl "$AGENTIC_API_BASE_URL/usage?limit=20" -H "Authorization: Bearer $AGENTIC_API_KEY"本站是第三方整理页面,不代表官方身份;本文核验到的 API 地址、认证方式和字段均来自公开开发文档,核验日期为 2026-10-31。使用时不要把 API Key 写进前端、公开仓库、截图或日志。
Authorization: Bearer。如果只想测试目录访问,可先执行不涉及业务扣费的 /domains 请求;如果要测试付费能力,则应先确认钱包、扣费字段和回滚或重试策略。
“AgentRouter”可能出现在不同域名、文档页、SDK 包或代码仓库中。本文不根据名称相同就推断它们属于同一主体;本页仅根据截至 2026-10-31 核对到的公开开发文档整理 API 接入思路。涉及登录入口、API Key、模型目录、价格、支付或路线状态时,应以对应公开文档和实际接口响应为准。
从公开文档的能力模型看,它不仅覆盖模型调用,也把 email、search、web、enrichment、travel 等能力按 domain 和 capability 组织起来。因此更准确的理解是面向 AI Agent 的 API 路由层;具体能力和可执行路线仍要以当前目录与接口响应为准。
不是绝对强制。若应用已经明确固定 provider 和 route,可以直接按 contract 调用 execute;但官方文档建议在 provider 未固定、成本或可靠性重要,或能力存在前置流程时先 recommend。
不建议。公开页面和文档中的价格属于目录或示例信息,执行时应以实时响应中的 creditsCharged、当前钱包和 usage 记录为准。
不要只看 HTTP 200。至少同时检查响应是否为 JSON、success 或业务状态、route/provider、扣费字段以及业务结果字段;如果返回 canExecuteNow 为 false 或存在 blockingRequirements,应先完成前置步骤。
不能。本文不根据名称相同推断域名、SDK、仓库或服务属于同一主体;涉及官方入口、Key 和接口时,应以已核对的公开文档及实际响应为准。
One wallet. No need to worry about different payment rails.
Sign in with Google to claim 100 credits ($0.10) and generate the setup block you will paste next to skill.md in your agent.
Works with
AgentRouter is an API routing service for AI agents. Its catalog lets agents discover capabilities such as email delivery, lead enrichment, social search, hotel booking, web extraction, document parsing, media generation, and travel search. The service describes a workflow in which an agent uses a wallet, receives provider recommendations, and executes an API request while payment is handled across supported rails. It may suit developers and teams building agents that need to compare or access several API providers through one workflow.
Begin by reviewing the available documentation and signing in to create a wallet for the agent. Add funds as needed, then describe the capability or task you want to perform, such as sending email or extracting information from a webpage. AgentRouter can present provider options based on capability, price, and reliability. Before connecting a client or integration, compare the listed providers, confirm the supported payment rail and access method, and test the selected route with a limited request.
Catalog entries, provider availability, routing recommendations, payment methods, and model information can change, so verify current details in the service’s announcements and documentation. Protect sign-in details, wallet credentials, balances, and any API keys, and give agents only the access they need. Review the data handled by each provider, especially when processing documents, leads, or web content. Also check whether your planned use complies with applicable laws, provider terms, and internal security policies.
AgentRouter helps AI agents discover APIs, compare provider options, route requests, and execute calls. Its described workflow uses an agent wallet and handles payment across supported rails, while the available capabilities and providers should be checked in the current catalog.
The service says it recommends providers according to capability, price, and reliability. Treat these as routing criteria rather than a guarantee for every task, and review the current provider details, availability, and terms before sending production requests.
The documented workflow starts with signing in to create and fund a wallet for the agent. Whether a particular integration or payment rail has additional requirements depends on the current documentation, so confirm the applicable setup details before use.
This page is a third-party introduction to AgentRouter and is not affiliated with AgentRouter; specific details should be confirmed through AgentRouter’s announcements.