Skip to content
unlob

tld

string[]

Restricts results by top-level domain.

A crude geography and institution proxy, but a fast one. Combined with lang it is a reasonable approximation of "sources from this country, in this language".

Example

tldbash
curl -H "x-api-key: $UNLOB_API_KEY" \
  "https://api.unlob.com/search?q=data+protection&tld[]=de&tld[]=fr"

Common questions

What does the tld filter do?

Restricts results by top-level domain.

When should I use tld?

Jurisdiction-sensitive questions, or country-scoped 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.