> SpecStream is the live web data engine for teams and agents. This is the Markdown copy of https://specstream.ai/docs/integrations/gpt-researcher. Every page, with what SpecStream does and costs: https://specstream.ai/llms.txt

# GPT Researcher

For GPT Researcher users: every search in a research run goes to the Search API once you set two environment variables.

## Set it up

Set these in the `.env` file or the environment GPT Researcher runs in, with your key in place of `YOUR_SPECSTREAM_KEY`. The colon before the key belongs there:

.env

```bash
RETRIEVER=searx
SEARX_URL=https://:YOUR_SPECSTREAM_KEY@api.specstream.ai/searxng
```

The address then holds your key, so keep it in a secret or an environment setting.

## Check it works

Start a research report on a recent topic. The sources at the end of the report are the pages the Search API returned.

## Cost

Each search is one Search API call at $5 per 1,000 searches of up to 10 results. It comes out of your balance, with no quote and no approval. [Search API](https://specstream.ai/docs/search-api.md) has the details.

A research run makes several searches, one for each question it asks along the way.

## Your key

Create the key under **Agents & API** in your SpecStream workspace. [Sign up](https://specstream.ai/signup) and get $10 of credit, no card.

The same setting works in other tools too: [Search API by one setting](https://specstream.ai/docs/integrations/drop-in-search.md).
