Find similar coverage
Everything the index has about the same story as an article.
POST /v1/similar reads an article and searches the index for others about the same story. Use it to
see how a story was covered elsewhere, to find the original source, or to widen a single link into full
coverage.
const res = await ts.similar('https://diarioejemplo.example/economia/…', {
mode: 'fast',
exclude_domains: ['diarioejemplo.example'],
});
console.log(res.reference?.title);
for (const r of res.results) console.log(r.source, r.title);The response has the same shape as a search, plus reference: the URL and title of the article you
passed. Every search option and filter works here too — excluding the reference’s own domain is the
usual one.
Modes and price
The reference article is always read. Its title and standfirst are the query, and the model judges the
index headlines against them: up to 160 in ultra and fast, 120 in normal and deep. deep also opens
and reads the top 8, with highlights; the other modes don’t read the candidates. A request costs $2.20
per 1,000 in ultra, fast and normal, and $4.60 in deep. Exa has deprecated findSimilar and no
longer lists a price for it; the search it points to instead costs $7 per 1,000.
Combine it with dedupe: true to get one result per story, or with diffusion
to see who published first.