Search syntax

You can refine queries with a small search syntax.

Categories

Prefix a query with ! and a category name to search only that category, for example !images cats or !news election.

Engines

Use !engine to query a single upstream engine, for example !wikipedia Ada Lovelace.

Language

Use :lang to force a language, for example :fr tour eiffel.

Time range

Use the filters on the results page, or the time_range parameter (day, week, month, year) when using the API.

External bangs

A leading !! followed by a bang redirects you straight to a third-party service, for example !!g cats opens Google. External bangs leave this instance, so its privacy protections no longer apply.