Introduction

Bahith is a deep research API. Give it a question and it searches the web, surfaces academic papers, reads full pages, and streams back a synthesized, cited answer — at a fraction of the cost of other deep-research APIs.

What makes Bahith different is the citations. Every non-trivial claim in the answer is grounded to the exact supporting sentence inside its source, with a confidence score you can check — not just a link to a page you have to read yourself.

Global renewables expanded rapidly in 2024, driven primarily by growth in solar and wind capacity.

✓ verified · 0.94
Solar PV and wind together accounted for 95% of new renewable capacity additions in 2024.

How it works

  1. You send a question to POST /v1/research with your API key.
  2. Bahith runs an iterative research loop — thinking, searching, and reading sources.
  3. It streams progress back as Server-Sent Events (SSE): reasoning, tool calls, and the answer token-by-token.
  4. When it finishes, it emits a final event containing the full answer, the list of citations (each anchored to a source sentence), and a deduplicated source bibliography.

The base URL for all API requests is https://api.bahith.dev. The research endpoint always responds as an SSE stream — see Streaming & events.

When to use Bahith

  • Research assistants & agents that need answers users can trust and verify.
  • Literature review over academic papers (via OpenAlex) and the open web.
  • Any product where "where did this come from?" must have a precise answer.

Next steps