Skip to content
unlob

exclude_site

string[]

Drops one or more hosts from the result set.

The inverse of site. In practice this is how teams suppress a content farm, a competitor, or a domain that keeps surfacing syndicated copies of the same wire story.

Example

exclude_sitebash
curl -H "x-api-key: $UNLOB_API_KEY" \
  "https://api.unlob.com/search?q=climate+policy&exclude_site[]=example-farm.com"

Common questions

What does the exclude_site filter do?

Drops one or more hosts from the result set.

When should I use exclude_site?

A known-bad host keeps polluting results, or you must not cite a competitor.

Filters are free

Every filter is evaluated against a stored field, so it narrows the candidate set before scoring — a filtered query is often faster than an unfiltered one.