Skip to the page

Search API by one setting

A drop-in route answers a tool's existing search requests in the format the tool already reads. You change the search address and the key in the tool's settings, and every search it makes runs on the Search API.

The two addresses

For tools that call Google Custom Search. The answers are the same JSON as Google Custom Search:

Google Custom Search JSON
https://api.specstream.ai

For tools that call a SearXNG instance. The answers are SearXNG's JSON:

SearXNG JSON
https://api.specstream.ai/searxng

Tools

Each guide gives the exact value for that tool's setting and a way to check it inside the tool.

ToolThe setting
Open WebUISearxng Query URL
LibreChatSEARXNG_INSTANCE_URL
DifySearXNG base URL
n8nSearXNG credential, API URL
AnythingLLMSearXNG API Base URL
LiteLLMGOOGLE_PSE_API_BASE, or SEARXNG_API_BASE and SEARXNG_API_KEY
GPT ResearcherSEARX_URL
LangChainSearxSearchWrapper searx_host
AgnoSearxng host

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 has the details.

Your key

Create the key under Agents & API in your SpecStream workspace. Sign up and get $10 of credit, no card.