Skip to main content
WebRouter is in closed beta. It’s available to selected accounts, and the API may still change. To get access, talk to the Nimble team.
WebRouter gives AI agents and apps one API for the web: search, extract, research, and browse, across Nimble and third-party providers. Send a query in plain words. WebRouter picks the tool and the provider, runs it, and returns one response shape.

One key, many providers

Nimble routes each call to a leading web provider. No vendor accounts or keys to manage.

One response shape

Every provider’s results come back in the same fields. Switching providers changes no code.

Automatic fallback

When a provider fails or returns nothing, Nimble tries the next. Jobs stay with the provider that started them.

Which call do I use?

Not sure? Start with Route.

Quick Start

Example Request

Example Response

Trimmed for reading. See Route for every field.
plan shows the tool WebRouter picked. result.provider is nimble_selection: Nimble picked the provider. See Providers.

How it works

1

You send a query

In plain words: a question, a task, or the URLs to read.
2

WebRouter picks the tool

Search, extract, research, or browse, weighing optimized_for and budgets.
3

Nimble picks the provider

Your own provider keys first, then Nimble’s. A provider that fails, or returns nothing, falls through to the next.
4

You get the answer

Search and extract answer within the call. Research and browse start a job you poll.

Authentication

All requests use the Nimble API base URL and a Bearer token, like the rest of the Nimble API:
Get your API key from the Nimble Dashboard.

Jobs

Research and browse run for minutes, so they run as jobs:
  1. A start answers at once with status 202 and a job_id.
  2. Poll GET /v2/web-router/research/{job_id}?wait=60 (or /browse/) until state is completed, failed, or cancelled.
  3. Read the answer in result.response.
Every start is a new, billed job. Poll the job you have instead of starting it again.
Research and Browse show the full flow, with polling code.

Response shape

Search, Extract, and job polls return {meta, result}. Job starts return {meta, job}. meta.tool names the tool that ran. Route returns {plan, result, job}.

Providers

Nimble picks the provider for every call. Requests never name one.
  • provider is nimble_selection when Nimble picked and served the call. byok is false.
  • Your own keys come first. If your account has its own key for a provider, Nimble tries it first. A response served on your key names that provider, and byok is true.

Errors

Errors carry a request id in the x-nimble-request-id header and in the body. Quote it when contacting support.

MCP server

The same tools are available to AI agents as an MCP server at https://mcp.webrouter.net/mcp. Sign in with your Nimble account. Tool names keep the web_gateway_ prefix, such as web_gateway_search.

Next Steps

Route

One call: WebRouter picks the tool and runs it

Search

Find pages on any search provider

Research

Answer questions across many sources, with citations

Browse

Have an agent work through a site in a real browser