How to hit the Jina AI API

Jina AI offers embedding models at https://api.jina.ai/v1 and the Reader at https://r.jina.ai/<url>, which turns any web page into clean text for an LLM.

Authentication

Create a key at jina.ai. Send it as Authorization: Bearer <key>. In the examples it's written {{JINA_API_KEY}}.

Full reference: https://jina.ai/

Create embeddings

curl https://api.jina.ai/v1/embeddings \
  -H "Authorization: Bearer {{JINA_API_KEY}}" \
  -H "Content-Type: application/json" \
  -d '{"model": "jina-embeddings-v5-text-small", "input": ["Your text here"]}'
Run in PostTaco

Read a web page

Put the page's URL after r.jina.ai/.

curl https://r.jina.ai/https://example.com \
  -H "Authorization: Bearer {{JINA_API_KEY}}"
Run in PostTaco