web

AgentSearch

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.

post/v1/agentsearch-web-search-v1

Request

  • Base URL: https://agent.pocket.network
  • URL: https://agent.pocket.network/v1/agentsearch-web-search-v1
  • Auth: none required

Request body

querystring required

The search query, in natural language or keywords.

max_resultsinteger

How many results to return at most.

Response

The upstream response, served after payment settles.

object required

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.

Changes

No recorded changes to this operation across all 1 revision of this API.