Live widgets for your site
Three embeds you add with one line of HTML: a domain authority badge, your verified subprocessor list, and a search box for your site. Each one updates itself from SpecStream.
Domain authority badge
Your domain's SpecStream DA score and global rank as a small image. It refreshes every day and needs no key.
Subprocessor list for GDPR, SOC 2 and DORA
Show every vendor your company lists, with what it does, where it processes data, and the date of the last check. Replace openrouter with your company's name or domain from the subprocessor directory.
<div data-specstream-subprocessors="openrouter"> <a href="https://specstream.ai/subprocessors/openrouter">Live subprocessor record verified by SpecStream</a> </div> <script src="https://specstream.ai/embed/subprocessors.js" async></script>
Site search box
A search box for your site that replaces the Google Programmable Search embed. Results come from the Search API on the fast tier, with each result's title, address, and snippet.
// /api/search on your server: the key stays here, and only your site is searched.
export default async function search(req, res) {
const words = String(req.query.q || "").slice(0, 400)
const url = "https://api.specstream.ai/v1/web-search?speed=fast&q=" +
encodeURIComponent("site:example.com " + words)
const reply = await fetch(url, {
headers: { Authorization: "Bearer " + process.env.SPECSTREAM_API_KEY },
})
res.status(reply.status).json(await reply.json())
}<div data-specstream-search data-site="example.com" data-endpoint="/api/search"> <a href="https://specstream.ai/migrate/google-cse">Search powered by SpecStream</a> </div> <script src="https://specstream.ai/embed/site-search.js" async></script>
Search box settings
Set these as attributes on the div. To try the box before you add an endpoint, pass a key directly.
| Attribute | What it does |
|---|---|
data-site | The site to search, such as docs.example.com. Required. |
data-endpoint | Your own search address. The box sends it q and site, so your key stays on your server. |
data-key | A SpecStream API key, for a quick start. Give it a spending limit, since anyone can read it in the page. |
data-num | Results per search, 1 to 20. The default is 8. |
data-placeholder | The words shown in the empty box. |
data-theme | light or dark. By default the box follows the reader's setting. |
<div data-specstream-search data-site="example.com" data-key="YOUR_KEY"></div> <script src="https://specstream.ai/embed/site-search.js" async></script>
Widget questions
Something we didn't answer? Talk to a human
Do the widgets slow my page down?
Will the widgets clash with my styles?
How fresh is the subprocessor list?
Is my company in the subprocessor directory?
What does the site search box cost?
Get a key for the search box
A new account gets $2 of credit with no card: 2,000 fast searches.