Skip to content
unlob

site

string

Restricts results to a single host.

The equivalent of site: in a consumer search engine. Useful for turning a general index into a documentation search for one project, or for checking what the index holds from a specific publisher.

Example

sitebash
curl -H "x-api-key: $UNLOB_API_KEY" \
  "https://api.unlob.com/search?q=async+runtime&site=docs.rs"

Common questions

What does the site filter do?

Restricts results to a single host.

When should I use site?

You want one source, not the web. Documentation lookups, publisher-specific monitoring.

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.