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 Search finds pages for a query and returns ranked results with titles, links, descriptions, and page text. Nimble picks the provider for each call, and every answer comes back in one response shape. Search answers within seconds and costs little. Call it freely, and again with a better query. Use Extract to read a page you already have the URL of. For Nimble’s own search API, with every Nimble option, see Search.

Quick Start

Example Request

Example Response

result.provider is nimble_selection: Nimble picked the provider. See Providers.

How it works

1

You send a query

Add options such as max_results or search_depth when you need them.
2

Nimble picks the provider

Your own provider keys first, then Nimble’s. A provider that cannot serve an option you set is skipped. A provider that fails, or returns no results, falls through to the next.
3

Results come back normalized

Every provider’s results share one shape: url, title, description, content, score, and published_date. Provider-specific fields stay in extra.

Parameters

string
required
The search query.Example: how to read a CSV file in Python
integer
default:"10"
Upper bound on results returned. From 1 to 100.
string
How much page content to retrieve. Unset is the provider’s own default.Options:
  • lite: links and descriptions
  • fast: a truncated page body
  • deep: the full page, so results are large
array of strings
Restrict results to these domains. Up to 50.
array of strings
Drop results from these domains. Up to 50.
string
Country code for geo-targeting, such as US.
string
Language code, such as en.
boolean
Also return an answer to the query, in result.answer. Only Nimble answers: a search another provider serves comes back without one.
string
default:"balanced"
What Nimble favors when it picks the provider.Options: speed, cost, coverage, balanced

Next Steps

Extract

Read the pages a search found

API Reference

Every field of the request and response