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

# 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.

[![SpecStream DA for stripe.com](https://api.specstream.ai/v1/badge/authority?domain=stripe.com)](https://specstream.ai/tools/domain-intel?domain=stripe.com)

HTML for any page or READMECopy

```
<a href="https://specstream.ai/tools/domain-intel?domain=stripe.com"><img src="https://api.specstream.ai/v1/badge/authority?domain=stripe.com" alt="SpecStream DA for stripe.com" height="20" /></a>
```

## 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](https://specstream.ai/subprocessors).

[Live subprocessor record verified by SpecStream](https://specstream.ai/subprocessors/openrouter)

HTML for your trust or legal pageCopy

```
<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.

Your server, Node.jsCopy

```
// /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())
}
```

HTML where the box goesCopy

```
<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. |

Quick start with a keyCopy

```
<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](https://specstream.ai/talk-to-a-human.md)

Do the widgets slow my page down?

No. Each script is a few kilobytes, loads with async after your page, and is served from the edge with a day of caching. The badge is one small SVG image.

Will the widgets clash with my styles?

No. The subprocessor list and the search box draw inside their own shadow root, so your CSS does not reach them and theirs does not reach your page. They use your page's font and follow the reader's light or dark setting, or the one you set with data-theme.

How fresh is the subprocessor list?

It is the record on the company's SpecStream page, read from the list the company publishes. The widget shows the date of the last check, and the list updates on your site with no change on your side.

Is my company in the subprocessor directory?

Search the [subprocessor directory](https://specstream.ai/subprocessors) by name or domain. The widget works for every company it lists.

What does the site search box cost?

Each search is one fast Search API call, $1 per 1,000 searches. A new account gets $2 of credit with no card. Moving from Google Programmable Search? See the [migration guide](https://specstream.ai/migrate/google-cse.md).

## Get a key for the search box

A new account gets $2 of credit with no card: 2,000 fast searches.

[Get $2 free credit](https://specstream.ai/signup?src=widgets&returnTo=%2Fworkspace%2Fkeys)[Talk to a human](https://specstream.ai/talk-to-a-human.md)
