How to hit the Exa API

Exa at https://api.exa.ai is a search engine built for AI: it finds pages by meaning, and can return their contents in the same call.

Authentication

Create a key in the Exa dashboard and send it as the x-api-key header. In the examples it's written {{EXA_API_KEY}}.

Full reference: https://docs.exa.ai/reference/search

Get page contents

curl -X POST https://api.exa.ai/contents \
  -H "x-api-key: {{EXA_API_KEY}}" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://en.wikipedia.org/wiki/HTTP"], "text": true}'
Run in PostTaco