Skip to main content
Query operators let you control search behavior directly in the q parameter. They work when parseOperators is enabled (the default).

Site operators

Restrict or exclude results from specific domains:

Term operators

Require or exclude specific terms:

Content operators

Filter by where terms appear:

Author and publisher operators

Put pages by a given writer or publisher first: The name also stays in the search as an ordinary term. Results are reordered, not cut: matching pages come first and the rest keep their normal order. The response’s filter_counts (matched, unknown) counts the shown results. The same rules work as request parameters: author=Kara Swisher, author==Matt Levine (exact) or author=-John Smith (exclude), and the same for publisher.

Company and person operators

Find pages about a company or a person. Use them to research recent news and events about a company or person, for market research, sales or analysis.
These match what a page is about, not who wrote it. A byline alone is not a match: use author: for that. Matching uses what the result already carries: title, description, snippet, extracts and the companies and people the page names. There is no exact form, so company:=Stripe works like company:Stripe.

Story type, topic and region operators

Narrow a search to a kind of story, a subject or a part of the world: Add = to remove the pages known to be something else (kind:=funding), or - to remove the matching pages (-kind:press-release). Pages with no known value are kept, below the matches.
  • kind: takes press-release, newsletter, funding, official-statement, launch, video, opinion or satire.
  • topic: takes a subject such as business, cybersecurity or travel. The subject news topics work too.
  • region: takes a region such as uk, asia or canada. On news stories it is the feed’s region. On other pages it is the publisher’s home country. Pages with no known country are kept.
  • An unrecognised kind: or region: value is treated as ordinary search words, so region:us-east-1 becomes a plain search for those words. An unrecognised topic: value is matched against the page’s own topics and keywords.

How these operators combine

  • Different operators work together. A page comes first when it matches every operator you typed.
  • On /api/v1/search, when a query holds only topic:, region: and kind: operators and they name one of the news feeds, that feed’s stories come first, ahead of other matching pages.
  • Repeating an operator matches any of its values: topic:business topic:finance leads with pages on either topic.
  • An operator typed in q replaces the request parameter of the same name (author and publisher).
  • A company:, person:, topic:, author: or publisher: value with no letters or digits returns 400. So does a query made only of - operators with no search words (/api/v1/news/<topic> allows it, because the topic is the search).
  • They work on /api/v1/search and on /api/v1/news/<topic>, where you put them in q (not with format=embed or format=ticker):

Date operators

Filter results by publication date: Dates use YYYY-MM-DD format.

Language operators

Filter results by language: Uses ISO 639-1 two-letter language codes.

Combining operators

Operators can be combined in a single query:
This searches GitHub for markdown README files about machine learning published after January 2025.

Disabling operator parsing

If your query contains text that looks like an operator but shouldn’t be treated as one, set parseOperators=false:
When disabled, the entire query is treated as literal text.

Next steps

Filtering

Parameter-based filtering for domains, dates, and content.

Query parameters

Full parameter reference.