Find Similar and Fetch Contents
A 3-step recipe with Exa. We can help you get access.
Recipe · 3 steps
Find Similar and Fetch Contents
with Exa
Anchor on a seed result, find similar pages, and fetch their contents.
- Run a seed search to find an anchor document for the topic and capture its url and title.
- Run a second search steered toward documents similar to the anchor while excluding the anchor's own domain so fresh-but-similar sources surface.
- Retrieve the full text and a summary for the top similar result.
What you'll need to have ready
- apiKey: Your Exa API key, sent in the x-api-key header.
- query: The seed topic to anchor the similarity search on.
- similarQuery: A query steering the similar-results search (e.g. "More articles like the above").
- excludeDomain: A domain to exclude from the similar search so results are not duplicates of the seed source.
For your developer
Arazzo workflow exa-ai:find-similar-and-fetch-contents, 3 operations: search → search → getContents. Specs on APIs.io.