{
  "serviceId": "agentsearch-web-search-v1",
  "displayName": "AgentSearch",
  "description": "Web search built for agents, served over Pocket Network: POST /v1/search with a query and an optional max_results, and get the results back as one JSON object. Results vary run to run, as web search does. GET /v1/version, /v1/health and /v1/capabilities describe the service. Pay per request in USDC; no account, no API key.",
  "category": "web",
  "resourceUrl": "https://agent.pocket.network/v1/agentsearch-web-search-v1",
  "priceUsd": "0.005000",
  "priceVersion": 1,
  "rails": [
    {
      "id": "base",
      "network": "eip155:8453",
      "chainId": 8453,
      "tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "tokenDecimals": 6,
      "payToAddress": "0xF732ea490c5766071785a2310523f7fA2CEbB829"
    }
  ],
  "protocols": [
    "rest"
  ],
  "inputSchema": {
    "type": "object",
    "description": "A search request. The body is JSON and is bounded by the service at 16 KiB.",
    "properties": {
      "query": {
        "type": "string",
        "description": "The search query, in natural language or keywords."
      },
      "max_results": {
        "type": "integer",
        "minimum": 1,
        "description": "How many results to return at most."
      }
    },
    "required": [
      "query"
    ]
  },
  "outputSchema": {
    "type": "object",
    "description": "For POST /v1/search, a JSON object carrying the `query` as received and the search results; the exact shape is the service's own and is not pinned here. A validation failure returns `{ detail: [{ loc, msg, type }] }` with HTTP 422. The other routes (healthz, version, health, capabilities) return their own small JSON documents.",
    "examples": [
      {
        "query": "Pocket Network"
      }
    ]
  },
  "methods": {
    "GET /healthz": "read",
    "GET /v1/capabilities": "read",
    "GET /v1/health": "read",
    "GET /v1/version": "read",
    "POST /v1/search": "read"
  },
  "firstParty": true,
  "networks": [
    "eip155:8453"
  ],
  "serving": true,
  "page": "https://agent.pocket.network/services/agentsearch-web-search-v1",
  "descriptor": "https://agent.pocket.network/services/agentsearch-web-search-v1/descriptor.json"
}