Every result is scored for authority, recency, relevance and completeness. The ratings behind the score are exposed, so your agent can filter on them instead of guessing.
The first result a search returns is not the best result. It is the best result according to whatever the ranking function optimises. In practice that means a search for a technical question often returns a listicle above the documentation, and an agent that reads the first result reads the listicle.
A score gives you a way to say "not that one" - and giving your agent a way to say it is the difference between an agent that cites a primary source and an agent that cites a search-optimised summary page.
📊
How much the page is trusted on its subject.
This dimension is the search engine's own authority rating for the page, on a 0-4 scale, where 3 or more marks a highly authoritative page and -1 means the engine does not know. It is a judgement about the page itself, not about the domain it sits on - a strong document on a personal site scores better than a thin post on a famous domain.
⏰
How fresh the information is.
Read from the publication date, which comes back as its own UTC field rather than a string you have to parse. A page with no date is neither fresh nor stale - it does not earn recency points, and it is worth knowing that before you cite it.
🎯
How well the page answers the query.
Computed from how much of the query's vocabulary the page actually covers, and cross-checked against the engine's own ranking of it. Where the two disagree, the stronger signal wins - which means a page the engine ranked highly and which repeats the query's terms is treated as relevant, and a page that merely happens to contain a keyword is not.
📝
Whether the page carries enough to answer with.
A page with a body, a title and a date is more usable as a source than a fragment with none of them. This dimension is what separates "here is a link" from "here is something you can quote".
The four combine into a quality_score between 0 and 1, and the results are returned in that order - best first.
{
"title": "...",
"url": "https://...",
"content": "The summary of the page.",
"source": "web",
"quality_score": 0.89,
"published_date": "2026-11-18T00:00:00+00:00",
"authority": 3,
"rerank_score": 2.4,
"site_name": "Example News"
}
Three ratings are exposed, not just our combined score, and they answer different questions. quality_score is ours, 0 to 1, and is what you should sort on. authority is the engine's judgement of the page, 0 to 4. rerank_score is the engine's own ranking, 0 to 3, where 1.5 or more marks a strong result.
The scores are there to be used. The simplest useful pattern is a threshold:
hits = search(query, limit=10)["results"]
good = [h for h in hits if h["quality_score"] >= 0.75]
if not good:
# Nothing cleared the bar. Say so rather than citing the best of a bad set.
return "I could not find a source I trust for that."
return [fetch(h["url"])["text"] for h in good[:2]]
Two details in that snippet are worth keeping. The threshold is applied before the fetch, so you never spend a page read on a result you were going to discard. And the empty case is handled explicitly: an agent that is told "no result is good enough" declines, instead of citing the least-bad page with the same confidence as the best one.
There is no universal threshold - it depends on the question. These are the patterns that tend to work:
A good way to set the threshold for your own domain is to run a hundred real queries, look at where the scores fall, and pick the cut that keeps the pages you would have clicked yourself.
A score is a heuristic, not a verdict. It cannot tell you that a page is factually correct, only that it looks authoritative, current, relevant and complete for the query. A confidently wrong page from a reputable site scores well. Treat the score as a filter for what to read and what to skip, not as a source of truth - and keep the citation, because a citation is what lets somebody check.
Every result carries them. The Free plan gives you 100 searches a month to calibrate against.
Get a free API keyRelated: the Search API, and what search really costs.