AgentRouter Pro
Api reference

Search

High-authority web search with fixed per-call billing

Endpoint

POST /v1/search

Request Headers

NameTypeRequiredDescription
AuthorizationstringYesAPI key in Bearer token format: Bearer sk-ar-...
x-api-keystringNoAlternative authentication method
Content-TypestringYesapplication/json

Request Body

ParameterTypeRequiredDescription
querystringYesSearch keywords
nintegerNoNumber of results, default 10, range 1-20
categorystringNoScenario hint: programming, research, gov, business

Response

{
  "query": "北京 天气",
  "n": 1,
  "results": [
    {
      "title": "...",
      "url": "...",
      "snippet": "...",
      "source": "..."
    }
  ]
}

Upstream errors are forwarded with the upstream status code when possible.

Billing

  • Fixed price: $0.01 USD per request (billed after a successful upstream 2xx response).
  • Returns 402 Payment Required when wallet balance is insufficient.

On this page