search-for-service

📁 agnicpay/agnic-wallet-skills 📅 6 days ago
3
总安装量
3
周安装量
#54871
全站排名
安装命令
npx skills add https://github.com/agnicpay/agnic-wallet-skills --skill search-for-service

Agent 安装分布

opencode 3
gemini-cli 3
antigravity 3
github-copilot 3
codex 3
kimi-cli 3

Skill 文档

Search for Service

Discover x402-enabled APIs that can be paid for using AgnicPay.

Steps

  1. Search for APIs matching the user’s query:

    npx agnic@latest x402 search "<query>" --json
    
  2. Optionally filter by category:

    npx agnic@latest x402 search "<query>" --category AI --json
    
  3. Present the results to the user with names, descriptions, prices, and URLs.

Parameters

  • <query> — Search term (e.g., “sentiment analysis”, “weather data”)
  • --category — Filter by category: AI, Crypto, Data, Trading, Finance, Weather
  • --limit <n> — Max results (default: 10)

Example

npx agnic@latest x402 search "sentiment analysis" --category AI --json

Expected Output

{
  "apis": [
    {
      "name": "Sentiment Pro",
      "description": "Real-time sentiment analysis",
      "price": "0.001",
      "url": "https://api.example.com/sentiment"
    }
  ]
}

Error Handling

  • If no results found, suggest broadening the search or trying different keywords
  • Authentication is NOT required for search (it’s a public endpoint)