API reference
Watchlist
Followed items appear on your account page and in the weekly email, and they are what a webhook with scope: "watchlist" sends.
GET
/v1/watchlistWhat you follow.
curl -H "X-API-Key: $STRATADB_KEY" \
https://api.stratadb.io/v1/watchlistconst res = await fetch("https://api.stratadb.io/v1/watchlist", {
headers: { "X-API-Key": process.env.STRATADB_KEY },
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.stratadb.io/v1/watchlist",
headers={"X-API-Key": os.environ["STRATADB_KEY"]},
)
data = res.json()Response
{
"items": [
{
"kind": "company",
"target": "deepgram.com",
"created_at": 1793691482000
}
]
}POST
/v1/watchlistFollow a company or a technology we track.
curl -X POST -H "X-API-Key: $STRATADB_KEY" \
-H "Content-Type: application/json" -d '{"kind":"company","target":"deepgram.com"}' \
https://api.stratadb.io/v1/watchlistconst res = await fetch("https://api.stratadb.io/v1/watchlist", {
method: "POST",
headers: { "X-API-Key": process.env.STRATADB_KEY, "Content-Type": "application/json" },
body: JSON.stringify({"kind":"company","target":"deepgram.com"}),
});
const data = await res.json();import os, requests
res = requests.post(
"https://api.stratadb.io/v1/watchlist",
headers={"X-API-Key": os.environ["STRATADB_KEY"]},
json={"kind":"company","target":"deepgram.com"},
)
data = res.json()Response 201
{
"kind": "company",
"target": "deepgram.com"
}DELETE
/v1/watchlist/{kind}/{target}Stop following it. Returns 204.
curl -X DELETE -H "X-API-Key: $STRATADB_KEY" \
https://api.stratadb.io/v1/watchlist/company/deepgram.comconst res = await fetch("https://api.stratadb.io/v1/watchlist/company/deepgram.com", {
method: "DELETE",
headers: { "X-API-Key": process.env.STRATADB_KEY },
});import os, requests
res = requests.delete(
"https://api.stratadb.io/v1/watchlist/company/deepgram.com",
headers={"X-API-Key": os.environ["STRATADB_KEY"]},
)