Skip to the page

Web search in Dify

Paste one SpecStream address in the SearXNG tool.

Four of Dify's search plugins take an address: SearXNG, Firecrawl, Bing and Brave. SpecStream answers all four. Our test on November 9, 2026 passed Dify with only the setting changed.

In the SearXNG plugin, set SearXNG base URL to https://api.specstream.ai/searxng/<key>/search, with your SpecStream key in place of <key>. Dify sends each search to that address as it is, and reads the results as before.

Every search is the most accurate web search API in the world: 97.9 F-score on all 1,000 SimpleQA Verified questions, at $5 per 1,000 searches. New accounts get $10 of credit, which covers 2,000 searches.

New accounts get $10 of credit, no card. It covers 2,000 searches.

SpecStream next to the search providers Dify offers, from each company's own pages and Dify's plugin source on Nov 10, 2026

SpecStreamTavilyBrave Search APIFirecrawl
What you set in DifyOne address in the plugin you already use: SearXNG base URL, Firecrawl server's Base URL, Bing endpoint or Brave server's Base URLAn API key. The plugin calls Tavily through its own client, with no address fieldAn API key, and Brave server's Base URL, which defaults to https://api.search.brave.com/res/v1/web/searchAn API key, and Firecrawl server's Base URL, which defaults to https://api.firecrawl.dev
Price per 1,000 searches$5, with up to 10 results a search$0.008 a credit on pay as you go. A basic search takes 1 credit and an advanced search 2$5 per 1,000 requestsSearch costs 2 credits per 10 results. On Hobby, extra credits cost $5 per 1,000
Free to start$10 of credit, no card. It covers 2,000 searches1,000 credits a month, no card$5 in free credits every month1,000 credits every month, no card
Plan to buyNone. A search takes $0.005 from your balance, and credit you buy never expiresPay as you go, for what you useCredits are applied to your account automaticallyHobby costs $19 a month, or $16 a month billed annually
What one call counts asOne search of up to 10 results. Each 10 results more add $0.006. A call stopped by a 429 charges nothingCredits by the type of request: search, extract or crawlOne request, up to 50 queries per second2 credits for each 10 results of a search, 1 credit a page on a basic scrape
The text of a pageThe Extract API reads any page, PDF, Word or Excel file at $0.80 per 1,000 pages. Dify's Firecrawl scrape on our address is one page at $0.0008Extract requests take creditsAnswers cost $4 per 1,000 requests plus $5 per million input and output tokens1 credit a page on a basic scrape

Why Dify builders set SpecStream as their search

Other web search providers in Dify

How SpecStream scores

The same numbers as the benchmarks page, from the official tasks and scorers.

How to set SpecStream as web search in Dify

1. Create a key under Agents & API in the workspace. A new account gets $10 of credit, no card, which covers 2,000 searches.

2. Check the key with the call Dify will make.

import requests

KEY = "YOUR_SPECSTREAM_KEY"
reply = requests.get(
    f"https://api.specstream.ai/searxng/{KEY}/search",
    params={"q": "open source vector databases", "format": "json"},
).json()

for result in reply["results"]:
    print(result["title"], result["url"], result["content"])

3. In Dify, open Tools, install or open the SearXNG plugin, and set SearXNG base URL to https://api.specstream.ai/searxng/<key>/search. Save.

4. Add the SearXNG search tool to your agent or workflow as before. Every call is billed as one search on your key, inside the spending limit the key carries.

When a workflow needs a whole dataset in place of a results page, write the request in plain words. SpecStream reads it back as the conditions every row must meet, quotes the most it can cost, and delivers the rows after you approve.

Frequently asked questions

Something we didn't answer? Talk to a human

How do I add web search to Dify?
Set one address in a search plugin. In the SearXNG plugin, SearXNG base URL https://api.specstream.ai/searxng/<key>/search gives your agent the whole live web at $5 per 1,000 searches, and our test on November 9, 2026 passed Dify with only that setting changed.
Which Dify search plugins can use SpecStream?
Four: SearXNG, Firecrawl, Bing and Brave, each by its address field. Tavily and Serper fix their address in the plugin's code, so their fields take only a key.
Does the Bing plugin in Dify still work?
Not on Microsoft's address, which retired the Bing Search APIs on August 11, 2025. Set Bing endpoint to https://api.specstream.ai/v7.0/search and the plugin gets webPages.value back in Bing's shape, at $0.005 a call of up to 10 results.
Can I use Google Custom Search JSON API in Dify?
Google closed it to new customers and ends it on January 1, 2027. In Dify, the SearXNG plugin on SpecStream's address searches the whole live web at the same $5 per 1,000 searches, with no daily limit.
How much does web search in Dify cost with SpecStream?
$0.005 a call of up to 10 results, $5 per 1,000 searches. A Brave plugin call costs the same, and a Firecrawl scrape is $0.0008 a page. New accounts get $10 of credit, no card.
Do I need to host SearXNG for the Dify SearXNG plugin?
No. Put https://api.specstream.ai/searxng/<key>/search in SearXNG base URL and SpecStream answers in SearXNG's JSON, at about 0.82 s a search at the median on production.
Where does my key go if the SearXNG plugin has no key field?
In the address, as its path part: https://api.specstream.ai/searxng/<key>/search. The route also reads the key from key=, an X-API-Key header or a Bearer token, for clients that send one.

Sources

SpecStream wrote this page. Each figure on another provider comes from that company's own page, and each Dify setting from the plugin's source on GitHub.

  1. Dify SearXNG plugin, provider settingsgithub.com/langgenius/dify-official-plugins/blob/main/tools/searxng/provider/searxng.yaml, read Nov 10, 2026
  2. Dify SearXNG plugin, search toolgithub.com/langgenius/dify-official-plugins/blob/main/tools/searxng/tools/searxng_search.py, read Nov 10, 2026
  3. Dify Firecrawl plugin, provider settingsgithub.com/langgenius/dify-official-plugins/blob/main/tools/firecrawl/provider/firecrawl.yaml, read Nov 10, 2026
  4. Dify Bing plugin, provider settingsgithub.com/langgenius/dify-official-plugins/blob/main/tools/bing/provider/bing.yaml, read Nov 10, 2026
  5. Dify Brave plugin, provider settingsgithub.com/langgenius/dify-official-plugins/blob/main/tools/brave/provider/brave.yaml, read Nov 10, 2026
  6. Dify Serper plugin, search toolgithub.com/langgenius/dify-official-plugins/blob/main/tools/serper/tools/serper_search.py, read Nov 10, 2026
  7. Dify Tavily plugin, search toolgithub.com/langgenius/dify-official-plugins/blob/main/tools/tavily/tools/tavily_search.py, read Nov 10, 2026
  8. Microsoft, Bing Search API retirementlearn.microsoft.com/en-us/lifecycle/announcements/bing-search-api-retirement, read Nov 9, 2026
  9. Google Custom Search JSON API overviewdevelopers.google.com/custom-search/v1/overview, read Nov 9, 2026
  10. Tavily pricingtavily.com/pricing, read Nov 9, 2026
  11. Tavily search endpointdocs.tavily.com/documentation/api-reference/endpoint/search, read Nov 9, 2026
  12. Brave Search APIbrave.com/search/api/, read Nov 9, 2026
  13. Firecrawl pricingfirecrawl.dev/pricing, read Nov 9, 2026
  14. Serperserper.dev/, read Nov 9, 2026
  15. SpecStream benchmarksspecstream.ai/benchmarks, read Nov 10, 2026
  16. SpecStream pricingspecstream.ai/pricing, read Nov 10, 2026
  17. SpecStream for agentsspecstream.ai/agents.md, read Nov 10, 2026