LLM-friendly URL reader and search client by Jina AI with a basic free tier.

  • package: @agentic/jina
  • exports: class JinaClient, namespace jina
  • env vars: JINA_API_KEY
  • source
  • jina api docs

Install

Usage

import { JinaClient } from '@agentic/jina'

const jina = new JinaClient()
const res0 = await jina.readUrl('https://example.com')
const res1 = await jina.search({ query: 'latest news', json: true })

Notes

  • Does not support “stream mode”.
  • Results default to markdown text format.
  • To return JSON (especially useful for search), set json: true in the options.