← 返回
开发者工具 中文

Search For Service

Search and browse the x402 bazaar marketplace for paid API services. Use when you or the user want to find available services, see what's available, discover APIs, or need an external service to accomplish a task. Also use as a fallback when no other skill clearly matches — search the bazaar to see if a paid service exists. Covers "what can I do?", "find me an API for...", "what services are available?", "search for...", "browse the bazaar".
在x402市场搜索和浏览付费API服务。当您或用户想要查找可用服务、发现API或需要外部服务完成任务时使用。也可作为没有其他技能匹配时的后备方案——搜索市场查看是否有付费服务。涵盖“我能做什么?”、“给我找一个...的API”、“有什么服务?”、“搜索...”等场景。
0xrag
开发者工具 clawhub v0.1.0 1 版本 99847.8 Key: 无需
★ 0
Stars
📥 1,312
下载
💾 13
安装
1
版本
#latest

概述

Searching the x402 Bazaar

Use the npx awal@latest x402 commands to discover and inspect paid API endpoints available on the x402 bazaar marketplace. No authentication or balance is required for searching.

Commands

Search the Bazaar

Find paid services by keyword using BM25 relevance search:

npx awal@latest x402 bazaar search <query> [-k <n>] [--force-refresh] [--json]
OptionDescription
-----------------------------------------------------
-k, --top Number of results (default: 5)
--force-refreshRe-fetch resource index from CDP API
--jsonOutput as JSON

Results are cached locally at ~/.config/awal/bazaar/ and auto-refresh after 12 hours.

List Bazaar Resources

Browse all available resources:

npx awal@latest x402 bazaar list [--network <network>] [--full] [--json]
OptionDescription
---------------------------------------------------------
--network Filter by network (base, base-sepolia)
--fullShow complete details including schemas
--jsonOutput as JSON

Discover Payment Requirements

Inspect an endpoint's x402 payment requirements without paying:

npx awal@latest x402 details <url> [--json]

Auto-detects the correct HTTP method (GET, POST, PUT, DELETE, PATCH) by trying each until it gets a 402 response, then displays price, accepted payment schemes, network, and input/output schemas.

Examples

# Search for weather-related paid APIs
npx awal@latest x402 bazaar search "weather"

# Search with more results
npx awal@latest x402 bazaar search "sentiment analysis" -k 10

# Browse all bazaar resources with full details
npx awal@latest x402 bazaar list --full

# Check what an endpoint costs
npx awal@latest x402 details https://example.com/api/weather

Prerequisites

  • No authentication needed for search, list, or details commands

Next Steps

Once you've found a service you want to use, use the pay-for-service skill to make a paid request to the endpoint.

Error Handling

  • "CDP API returned 429" - Rate limited; cached data will be used if available
  • "No X402 payment requirements found" - URL may not be an x402 endpoint

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-29 01:56 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,462
productivity

Trade

0xrag
在 Base 网络上兑换或交易代币。当您或用户想要交易、兑换、买卖或转换 USDC、ETH、WETH 等代币时使用。涵盖“买入 ETH”、“卖出 ETH 换 USDC”、“将 USDC 转换为 ETH”、“获取一些 ETH”等短语。
★ 0 📥 1,419
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,924