/install agnicpay-search-for-service
Searching the x402 Bazaar
Use npx agnic@latest x402 commands to discover and inspect paid API endpoints 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 agnic@latest x402 bazaar search \x3Cquery> [-k \x3Cn>] [--force-refresh] [--json]
| Option | Description |
|---|---|
-k, --top \x3Cn> |
Number of results (default: 5) |
--force-refresh |
Re-fetch resource index from CDP API |
--json |
Output as JSON |
Results are cached locally at ~/.config/agnic/bazaar/ and auto-refresh after 12 hours.
List Bazaar Resources
Browse all available resources:
npx agnic@latest x402 bazaar list [--network \x3Cnetwork>] [--full] [--json]
| Option | Description |
|---|---|
--network \x3Cname> |
Filter by network (base, base-sepolia) |
--full |
Show complete details including schemas |
--json |
Output as JSON |
Discover Payment Requirements
Inspect an endpoint's x402 payment requirements without paying:
npx agnic@latest x402 details \x3Curl> [--json]
Auto-detects the correct HTTP method 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 agnic@latest x402 bazaar search "weather" --json
# Search with more results
npx agnic@latest x402 bazaar search "sentiment analysis" -k 10 --json
# Browse all bazaar resources
npx agnic@latest x402 bazaar list --full --json
# Check what an endpoint costs
npx agnic@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, use the pay-for-service skill to make a paid request.
Error Handling
Common errors:
- "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
- No results -- Try broadening the search query or using different keywords
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install agnicpay-search-for-service - After installation, invoke the skill by name or use
/agnicpay-search-for-service - Provide required inputs per the skill's parameter spec and get structured output
What is Agnic Search for Service?
Search the x402 bazaar for paid API services. Use when the user wants to find APIs, discover services, browse the marketplace, or needs an external service.... It is an AI Agent Skill for Claude Code / OpenClaw, with 107 downloads so far.
How do I install Agnic Search for Service?
Run "/install agnicpay-search-for-service" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Agnic Search for Service free?
Yes, Agnic Search for Service is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Agnic Search for Service support?
Agnic Search for Service is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Agnic Search for Service?
It is built and maintained by Agnic.AI (@agnicpay-prog); the current version is v2.0.2.