API documentation
A JSON API over HTTPS for market news and SEC EDGAR filings. Search and page through articles with plain GET
requests or GraphQL, or receive new ones as they arrive over live streams and webhooks.
Quick start
- Create a free account; you get a workspace on the Free plan.
- In the app, open API keys and create a key. It starts with
nk_and is shown once. - Send it with a request:
curl "https://api.rawfeed.io/v1/news/headlines?category=business" \ -H "X-Api-Key: $RAWFEED_API_KEY"
import os, requests
r = requests.get(
"https://api.rawfeed.io/v1/news/headlines",
params={"category": "business"},
headers={"X-Api-Key": os.environ["RAWFEED_API_KEY"]},
timeout=10,
)
r.raise_for_status()
for a in r.json()["data"]:
print(a["published_at"], a["source"]["name"], a["title"])
// Node 18+ (server-side: keep the key off the browser)
const res = await fetch(
"https://api.rawfeed.io/v1/news/headlines?category=business",
{ headers: { "X-Api-Key": process.env.RAWFEED_API_KEY } },
);
if (!res.ok) throw new Error((await res.json()).error.message);
const { data } = await res.json();
Authentication
Send your key in one of these ways. Headers are better: URLs end up in logs.
| Where | Example |
|---|---|
X-Api-Key header | X-Api-Key: nk_… |
Authorization header | Authorization: Bearer nk_… |
api_key URL parameter | ?api_key=nk_… |
Keep keys on your server. Browsers on other sites can't read API responses, so call the API from your backend and pass the results on. Revoke a leaked key in the app under API keys.
Conventions
| Topic | How it works |
|---|---|
| Base URL | https://api.rawfeed.io. Every REST endpoint is a GET under /v1/news; GraphQL is at /v1/graphql. |
| Versioning | The version is in the path. New fields and endpoints can be added to v1; a breaking change would get a new version. |
| Responses | JSON with results in data. Lists of articles also have meta: total (counted up to 10,000), page and per_page. |
| Names | Parameters and fields are snake_case, e.g. per_page, published_at. |
| Times | UTC, ISO 8601: 2026-11-27T22:27:09Z. |
| Lists | Parameters that take several values are comma-separated: sources=sec-edgar,sec-insider. |
| Unknown parameters | Rejected with 400 invalid_parameter, so a misspelt filter never silently returns everything. |
| Paging | page from 1 and per_page up to your plan's maximum (Free 20, Starter 50, Pro 100); page × per_page can't pass 10,000. For more, narrow with from and to. |
| Errors | The HTTP status and {"error": {"code", "message"}}; see errors. |
| OpenAPI | The whole REST API is described in openapi.yaml (OpenAPI 3.1). Import it into Postman or Insomnia, or generate a client from it. |
Search news
GET /v1/news
Every article and filing within your plan's history (30 days on Free, 90 on paid plans) that matches the filters, newest first. With no filters, the newest articles.
| Parameter | Description |
|---|---|
q | Keywords or a phrase, with the search syntax. Up to 500 characters. |
search_in | Where q looks: any of title, description, content, comma-separated. Default: all three. |
sources | Source ids (up to 20), from sources. |
domains | Domains (up to 20), e.g. reuters.com,bbc.co.uk. Subdomains match. |
exclude_domains | Domains to leave out (up to 20). |
language | 2-letter ISO 639-1 code, e.g. en. |
category | business, entertainment, general, health, science, sports, technology or filings. |
country | 2-letter ISO 3166-1 code of the source, e.g. us, gb. |
from | Oldest article: an ISO 8601 date or time, e.g. 2026-11-21 or 2026-11-21T12:00:00Z. Times without a zone are UTC. Default and limit: your plan's history. |
to | Newest article, same format. A date on its own includes that whole day. |
sort | published_at (newest first, the default) or relevance (best match for q first; needs q). |
per_page | 1 up to your plan's maximum. Default: the maximum. |
page | Page number, from 1. |
curl -G "https://api.rawfeed.io/v1/news" \ -H "X-Api-Key: $RAWFEED_API_KEY" \ -d sources=sec-insider \ --data-urlencode 'q="form 4" jefferies' \ -d per_page=1
r = requests.get(
"https://api.rawfeed.io/v1/news",
params={"sources": "sec-insider", "q": '"form 4" jefferies', "per_page": 1},
headers={"X-Api-Key": os.environ["RAWFEED_API_KEY"]},
)
const url = new URL("https://api.rawfeed.io/v1/news");
url.search = new URLSearchParams({ sources: "sec-insider", q: '"form 4" jefferies', per_page: "1" });
const res = await fetch(url, { headers: { "X-Api-Key": process.env.RAWFEED_API_KEY } });
{
"data": [
{
"source": { "id": "sec-insider", "name": "SEC insider filings" },
"author": "HANDLER RICHARD B",
"title": "Jefferies Financial Group Inc.: insider transaction by HANDLER RICHARD B (Form 4)",
"description": "Form 4 (insider transaction) filed with the SEC on 2026-11-27. Issuer: Jefferies Financial Group Inc. (CIK 96223). Reporting: HANDLER RICHARD B. Accession number 0001214659-26-014836. Source: SEC EDGAR.",
"url": "https://www.sec.gov/Archives/edgar/data/96223/000121465926014836/0001214659-26-014836-index.htm",
"image_url": null,
"published_at": "2026-11-28T02:32:43Z",
"content": null
}
],
"meta": { "total": 8, "page": 1, "per_page": 1 }
}
Headlines
GET /v1/news/headlines
The latest articles, from the last 48 hours, newest first. It takes the same filters as search
(q, search_in, sources, domains, exclude_domains,
language, category, country) and page; per_page defaults
to 20. Filters combine: country=us&category=business is US business news.
curl "https://api.rawfeed.io/v1/news/headlines?country=us&category=business&per_page=5" \ -H "X-Api-Key: $RAWFEED_API_KEY"
r = requests.get(
"https://api.rawfeed.io/v1/news/headlines",
params={"country": "us", "category": "business", "per_page": 5},
headers={"X-Api-Key": os.environ["RAWFEED_API_KEY"]},
)
const res = await fetch(
"https://api.rawfeed.io/v1/news/headlines?country=us&category=business&per_page=5",
{ headers: { "X-Api-Key": process.env.RAWFEED_API_KEY } },
);
Filings
GET /v1/news/filings
Search limited to SEC filings: the same parameters except category. See
SEC filings for the forms covered.
curl -G "https://api.rawfeed.io/v1/news/filings" \ -H "X-Api-Key: $RAWFEED_API_KEY" \ --data-urlencode 'q="8-K"' \ -d per_page=1
{
"data": [
{
"source": { "id": "sec-edgar", "name": "SEC EDGAR filings" },
"author": "HeartSciences Inc.",
"title": "HeartSciences Inc. 8-K: Entry into a Material Definitive Agreement; Other Events",
"description": "Form 8-K (current report) filed with the SEC on 2026-11-27. Filer: HeartSciences Inc. (CIK 1468492). Item 1.01 Entry into a Material Definitive Agreement; Item 8.01 Other Events; Item 9.01 Financial Statements and Exhibits. Accession number 0001213900-26-124612. Source: SEC EDGAR.",
"url": "https://www.sec.gov/Archives/edgar/data/1468492/000121390026124612/0001213900-26-124612-index.htm",
"image_url": null,
"published_at": "2026-11-27T22:27:09Z",
"content": null
}
],
"meta": { "total": 61, "page": 1, "per_page": 1 }
}
Sources
GET /v1/news/sources
Every source you can query, with optional filters category, country and language. Use the ids in sources.
curl "https://api.rawfeed.io/v1/news/sources?category=filings" \ -H "X-Api-Key: $RAWFEED_API_KEY"
{
"data": [
{
"id": "sec-edgar",
"name": "SEC EDGAR filings",
"description": "Company filings with the US Securities and Exchange Commission: current reports (8-K), annual and quarterly reports, offerings, stakes over 5%, tender offers, mergers and proxies.",
"url": "https://www.sec.gov/edgar/search/",
"category": "filings",
"language": "en",
"country": null
},
{
"id": "sec-insider",
"name": "SEC insider filings",
"description": "Insider holdings and transactions (Forms 3, 4 and 5) and notices of proposed insider sales (Form 144) filed with the US Securities and Exchange Commission.",
"url": "https://www.sec.gov/edgar/search/",
"category": "filings",
"language": "en",
"country": null
}
]
}
Article object
Search, headlines and filings return pages of articles; streams send the same objects, and webhooks all but content.
| Field | Type | Notes |
|---|---|---|
source.id | string | Source id, e.g. sec-edgar. Use it in sources. |
source.name | string | Display name of the source. |
author | string | null | Author, or for filings the company or the reporting person. |
title | string | |
description | string | null | Summary from the publisher. |
url | string | Link to the original article. Show it wherever you display the item. |
image_url | string | null | |
published_at | string | UTC, 2026-11-27T22:27:09Z. |
content | string | null | An excerpt: up to the first 200 characters, then …. |
Search syntax
The q parameter, on every endpoint, stream and webhook, understands:
| Query | Matches |
|---|---|
tesla earnings | Both words (AND is implied). |
"interest rates" | The exact phrase. |
apple OR microsoft | Either word. |
bitcoin NOT etf, bitcoin -etf | Leave out articles with a word. |
(merger OR acquisition) AND bank | Group with parentheses. |
+fed | Must contain (the same as a plain word). |
- Operators are upper case:
OR,AND,NOT. Lower-caseoris an ordinary word. NOTbinds tightest, thenAND, thenOR.- Matching is by English word stem, so
ratesalso findsrate. Case and punctuation don't matter. - There's no wildcard:
bitc*searches for the wordbitc. - Unbalanced quotes or parentheses return
400 invalid_parameterwith the reason.
SEC filings
Filings from SEC EDGAR arrive as articles from two sources. EDGAR's latest-filings feed is checked about every minute, and its
daily index fills in anything missed. published_at is the time EDGAR accepted the filing; url is
the filing's index page on sec.gov.
| Source | Forms |
|---|---|
sec-edgar | Company reports and events: 8-K, 6-K, 10-K, 10-Q, 20-F, 40-F, NT 10-K, NT 10-Q, 25-NSE. Offerings: S-1, F-1, S-3, F-3, S-4, F-4, 424B4, 424B5. Stakes, tenders, mergers and proxies: SC 13D, SC 13G, SCHEDULE 13D/13G, SC TO-T, SC TO-I, SC 14D9, DEFM14A, PREM14A, DEF 14A, 425, 13F-HR. Amendments (/A) included. |
sec-insider | Insider filings: Forms 3, 4 and 5, and Form 144 notices of proposed sales. |
Ask for them with /v1/news/filings, category=filings or a source; filter by form with q, since titles name the form (8-K titles also list their items):
# Every filing in the last 48 hours curl "https://api.rawfeed.io/v1/news/headlines?category=filings" -H "X-Api-Key: $RAWFEED_API_KEY" # 8-K current reports curl -G "https://api.rawfeed.io/v1/news/filings" -H "X-Api-Key: $RAWFEED_API_KEY" \ --data-urlencode 'q="8-K"' # Insider trades (Form 4) at one company curl -G "https://api.rawfeed.io/v1/news/filings" -H "X-Api-Key: $RAWFEED_API_KEY" \ -d sources=sec-insider --data-urlencode 'q="form 4" nvidia'
Filings aren't mixed into general results: a stream or webhook without a filter skips them. Name the filings category, a filings source or a keyword to get them.
Live streams
Keep a connection open and receive new articles as they're added, as
server-sent events or over a
WebSocket. Both take the same filters as search: q, search_in, sources,
domains, exclude_domains, language, category and country.
Server-sent events
GET /v1/news/stream
curl -N "https://api.rawfeed.io/v1/news/stream?category=filings" \ -H "X-Api-Key: $RAWFEED_API_KEY"
import json, os, requests
last_id = None
while True: # reconnect and resume where we left off
headers = {"X-Api-Key": os.environ["RAWFEED_API_KEY"]}
if last_id:
headers["Last-Event-ID"] = last_id
with requests.get("https://api.rawfeed.io/v1/news/stream", params={"q": "nvidia OR amd"},
headers=headers, stream=True, timeout=60) as r:
event = None
for line in r.iter_lines(decode_unicode=True):
if line.startswith("id: "):
last_id = line[4:]
elif line.startswith("event: "):
event = line[7:]
elif line.startswith("data: ") and event == "article":
print(json.loads(line[6:])["title"])
// Node 18+: npm install eventsource
import { EventSource } from "eventsource";
const es = new EventSource("https://api.rawfeed.io/v1/news/stream?q=nvidia%20OR%20amd", {
fetch: (url, init) =>
fetch(url, { ...init, headers: { ...init.headers, "X-Api-Key": process.env.RAWFEED_API_KEY } }),
});
es.addEventListener("article", (e) => console.log(JSON.parse(e.data).title));
es.addEventListener("gap", () => { /* backfill with /v1/news */ });
retry: 5000
: connected
id: 1795301710740-0
event: article
data: {"source":{"id":"sec-edgar","name":"SEC EDGAR filings"},"title":"…","published_at":"2026-11-27T22:27:09Z",…}
: ping
| Event | Data |
|---|---|
article | An article object. The id: line is the event id to resume from. |
gap | {"code": "events_missed", "message": …}: events since your resume point aren't all available; backfill with /v1/news. |
close | {"code": …, "message": …} before the server ends the stream, e.g. api_key_disabled, slow_consumer or service_unavailable during a restart. Reconnect, except after missing_api_key, invalid_api_key or api_key_disabled. |
: ping | A comment every 15 seconds to keep the connection open. |
WebSocket
GET /v1/news/ws
Each message is JSON: {"type": "article", "id": "…", "article": {…}}, or type gap or close with code and message. The server pings every 15 seconds; nothing needs to be sent to it.
# pip install websockets
import asyncio, json, os, websockets
async def main():
url = "wss://api.rawfeed.io/v1/news/ws?sources=sec-insider"
headers = {"X-Api-Key": os.environ["RAWFEED_API_KEY"]}
async with websockets.connect(url, additional_headers=headers) as ws:
async for msg in ws:
m = json.loads(msg)
if m["type"] == "article":
print(m["article"]["title"])
asyncio.run(main())
// Node 22+ has WebSocket built in; pass the key in the URL.
const ws = new WebSocket(
`wss://api.rawfeed.io/v1/news/ws?sources=sec-insider&api_key=${process.env.RAWFEED_API_KEY}`,
);
ws.onmessage = (e) => {
const m = JSON.parse(e.data);
if (m.type === "article") console.log(m.article.title);
};
Resuming and limits
- Send the last event id you saw as a
Last-Event-IDheader (orlast_event_idparameter) to receive what you missed, then live events, with no duplicates. - Each open stream uses one of your plan's stream slots (Free 1, Starter 2, Pro 10), shared by the whole workspace. Opening a stream counts as one request; the events don't.
- Streams carry new articles only. Use
/v1/newsfor history;from,to,sort,pageandper_pageare rejected on streams. - Read promptly: a client that falls far behind is disconnected with
slow_consumer.
Webhooks
Have matching articles posted to a Slack, Microsoft Teams or Discord channel, or to your own HTTPS endpoint. Owners and admins set them up in the app under Webhooks, with the same filters as streams (at least one is required).
- At most one message per webhook a minute, with the newest 10 matching articles and a count of any more.
- Failed deliveries are retried with growing pauses of up to an hour; after 10 failures in a row, or if the other side says the webhook no longer exists, it’s paused and the app’s Activity log says why. Articles not delivered within 24 hours are dropped.
- For Teams, use the Workflows template “Send webhook alerts to a channel”.
Your own endpoint
Receives a POST with
{"type": "news.published", "timestamp": …, "data": {"webhook": {"id", "name"}, "articles": [ … ], "more": N}};
the Send test button sends "type": "webhook.test". Requests are signed to the
Standard Webhooks spec with the whsec_… secret
shown when you create the webhook:
| Header | Value |
|---|---|
webhook-id | Message id, e.g. msg_…. The same when the same batch of articles is retried, so you can drop duplicates. |
webhook-timestamp | Unix time the request was sent. |
webhook-signature | v1, and the base64 HMAC-SHA256 of <id>.<timestamp>.<body>, keyed with the base64-decoded part of the secret after whsec_. |
The Standard Webhooks libraries verify it as is (pip install standardwebhooks, npm install standardwebhooks), or check it yourself:
import base64, hashlib, hmac, time
def verified(secret: str, headers, body: bytes) -> bool:
msg_id, ts = headers["webhook-id"], headers["webhook-timestamp"]
if abs(time.time() - int(ts)) > 300:
return False # too old: possibly replayed
key = base64.b64decode(secret.removeprefix("whsec_"))
mac = hmac.new(key, f"{msg_id}.{ts}.".encode() + body, hashlib.sha256)
want = "v1," + base64.b64encode(mac.digest()).decode()
return any(hmac.compare_digest(want, s) for s in headers["webhook-signature"].split())
import { createHmac, timingSafeEqual } from "node:crypto";
export function verified(secret, headers, rawBody) {
const id = headers["webhook-id"], ts = headers["webhook-timestamp"];
if (Math.abs(Date.now() / 1000 - Number(ts)) > 300) return false;
const key = Buffer.from(secret.replace(/^whsec_/, ""), "base64");
const mac = createHmac("sha256", key).update(`${id}.${ts}.`).update(rawBody).digest("base64");
const want = Buffer.from(`v1,${mac}`);
return (headers["webhook-signature"] ?? "").split(" ").some((s) => {
const got = Buffer.from(s);
return got.length === want.length && timingSafeEqual(got, want);
});
}
RSS and Atom feeds
GET /v1/feed.atom, /v1/feed.rss
For feed readers, Slack's RSS app and no-code tools that can't send headers: owners and admins save a filter in the app under RSS feeds and get a feed URL with its own token, shown once. The token only reads that feed, and deleting the feed ends the URL.
- A feed has the newest 50 matching articles within your plan's history, with each article's title, link, time, author, source and description.
- It's rebuilt at most every 5 minutes, sends an
ETagand answersIf-None-Matchwith304. Each feed allows 120 fetches an hour. - Fetching a feed doesn't count against your plan's requests. A workspace can have up to 25 feeds.
GraphQL
POST /v1/graphql
The same data as the REST endpoints, as a GraphQL API: ask for exactly the fields you need, and combine a search with the
source list in one request. Requests follow the GraphQL-over-HTTP convention: a JSON body with query and
optional variables and operationName, sent with your key as for REST. Introspection is on, so
GraphQL tools load the schema themselves, or download it: schema.graphql.
curl https://api.rawfeed.io/v1/graphql \
-H "X-Api-Key: $RAWFEED_API_KEY" -H "Content-Type: application/json" \
-d @- <<'EOF'
{"query": "query ($q: String!) { filings(filter: {q: $q, sources: [\"sec-insider\"]}, first: 1) { totalCount pageInfo { hasNextPage endCursor } nodes { title author url publishedAt source { id name } } } }",
"variables": {"q": "\"form 4\" jefferies"}}
EOF
import os, requests
QUERY = """
query ($q: String!) {
filings(filter: {q: $q, sources: ["sec-insider"]}, first: 1) {
totalCount
pageInfo { hasNextPage endCursor }
nodes { title author url publishedAt source { id name } }
}
}
"""
r = requests.post(
"https://api.rawfeed.io/v1/graphql",
json={"query": QUERY, "variables": {"q": '"form 4" jefferies'}},
headers={"X-Api-Key": os.environ["RAWFEED_API_KEY"]},
timeout=10,
)
body = r.json()
if body.get("errors"):
raise RuntimeError(body["errors"][0]["message"])
for a in body["data"]["filings"]["nodes"]:
print(a["publishedAt"], a["title"])
const query = `
query ($q: String!) {
filings(filter: {q: $q, sources: ["sec-insider"]}, first: 1) {
totalCount
pageInfo { hasNextPage endCursor }
nodes { title author url publishedAt source { id name } }
}
}`;
const res = await fetch("https://api.rawfeed.io/v1/graphql", {
method: "POST",
headers: { "X-Api-Key": process.env.RAWFEED_API_KEY, "Content-Type": "application/json" },
body: JSON.stringify({ query, variables: { q: '"form 4" jefferies' } }),
});
const { data, errors } = await res.json();
if (errors) throw new Error(errors[0].message);
{
"data": {
"filings": {
"totalCount": 8,
"pageInfo": { "hasNextPage": true, "endCursor": "b2Zmc2V0OjE" },
"nodes": [
{
"title": "Jefferies Financial Group Inc.: insider transaction by HANDLER RICHARD B (Form 4)",
"author": "HANDLER RICHARD B",
"url": "https://www.sec.gov/Archives/edgar/data/96223/000121465926014836/0001214659-26-014836-index.htm",
"publishedAt": "2026-11-28T02:32:43Z",
"source": { "id": "sec-insider", "name": "SEC insider filings" }
}
]
}
}
}
| Field | REST equivalent |
|---|---|
news(filter, from, to, sort, first, after) | GET /v1/news |
headlines(filter, first, after) | GET /v1/news/headlines |
filings(filter, from, to, sort, first, after) | GET /v1/news/filings |
sources(category, country, language) | GET /v1/news/sources |
subscription { articlePublished(filter) } | /v1/news/stream |
- Names follow GraphQL conventions: fields and arguments are camelCase (
publishedAt,imageUrl,searchIn) and enum values upper case (category: FILINGS,sort: RELEVANCE). The filters and their rules are the REST ones. - Paging uses Relay-style connections:
first(1 up to your plan's maximum) andafter, a cursor frompageInfo.endCursoror an edge. Results are innodes, or inedgeswith a cursor each.totalCountcounts up to 10,000 and costs an extra count, so it's only run when you ask for it. - Limits: each POST counts as one request against your plan. To keep that fair, a request can hold at most two searches (
news,headlines,filings); a larger one fails withCOMPLEXITY_LIMIT_EXCEEDED. - Errors come in
errors, each withmessage,pathandextensions.code: the REST codes (e.g.invalid_parameter), orGRAPHQL_VALIDATION_FAILEDandGRAPHQL_PARSE_FAILEDfor a query that doesn't fit the schema. A missing or invalid key and rate limits answer with the HTTP status (401, 429 withRetry-After) and the sameerrorsbody.
Subscriptions
Open a WebSocket to wss://api.rawfeed.io/v1/graphql with the
graphql-transport-ws protocol,
as the graphql-ws client and Apollo do. Send the key in the connection's parameters
(Authorization: Bearer …), or as a header. Each subscription uses one of your plan's stream slots, like a REST
stream. Opening the connection and starting each subscription count as one request each. The WebSocket carries subscriptions only; send queries as POST.
// npm install graphql-ws
import { createClient } from "graphql-ws";
const client = createClient({
url: "wss://api.rawfeed.io/v1/graphql",
connectionParams: { Authorization: `Bearer ${process.env.RAWFEED_API_KEY}` },
});
client.subscribe(
{ query: 'subscription { articlePublished(filter: {sources: ["sec-insider"]}) { id article { title publishedAt url } } }' },
{
next: ({ data }) => console.log(data.articlePublished.article.title),
error: (err) => console.error(err),
complete: () => {},
},
);
A subscription delivers new articles only. After a disconnect, catch up with news(from: …). If the server ends a
subscription (a disabled key, a restart, or a client too slow to read), it sends an error with the reason in
extensions.code, as for REST streams.
MCP for AI assistants
POST /v1/mcp
A Model Context Protocol server, so AI assistants and agents can
search news and filings themselves. It speaks Streamable HTTP; send your key as Authorization: Bearer nk_….
| Tool | What it does |
|---|---|
search_news | Search articles and filings: q, sources, domains, category, country, language, from, to, sort, limit, page. |
search_filings | The same, limited to SEC filings. |
latest_headlines | The last 48 hours, with the same filters and limit. |
list_sources | Source ids, by category, country or language. |
claude mcp add --transport http rawfeed https://api.rawfeed.io/v1/mcp \ --header "Authorization: Bearer $RAWFEED_API_KEY"
{
"mcpServers": {
"rawfeed": {
"url": "https://api.rawfeed.io/v1/mcp",
"headers": { "Authorization": "Bearer nk_…" }
}
}
}
- Each tool call counts as one request against your plan; connecting and listing the tools don't. Results default to 10 articles, up to your plan's maximum with
limit. - The tools only read. Titles and descriptions come from publishers, and the server tells the model to treat them as data and to cite each article's
url. - Errors, such as a bad argument or a rate limit, come back as tool errors whose text starts with the error code.
Errors
Errors use the HTTP status and a JSON body with a stable code and a readable message:
{
"error": {
"code": "invalid_parameter",
"message": "The per_page parameter must be between 1 and 20 on your plan."
}
}
| HTTP | Code | Meaning |
|---|---|---|
| 400 | invalid_parameter | A parameter is unknown or has a value the API doesn't accept; the message says which. |
| 401 | missing_api_key | No API key in the request. |
| 401 | invalid_api_key | The key doesn't exist. |
| 401 | api_key_disabled | The key was revoked or expired, or the workspace is suspended. |
| 404 | not_found | No such endpoint. |
| 429 | rate_limited | Over your plan's per-minute limit. Wait for Retry-After seconds. |
| 429 | daily_quota_exceeded | Over your plan's daily limit. It resets at 00:00 UTC. |
| 403 / 429 | too_many_streams | Your plan has no stream slots (403), or your workspace already has as many open streams as its plan allows (429). |
| 500 / 503 | internal_error, service_unavailable | Something failed on our side, or a search took too long. Retry, or narrow the search. |
Rate limits
Each plan has a daily and a per-minute limit, shared by every key in the workspace and by its use of the web app. Days reset at 00:00 UTC. Every request counts, including ones rejected for a bad parameter; a request turned away by the per-minute limit doesn't use daily quota.
| Header | Value |
|---|---|
X-RateLimit-Limit | Requests a day on your plan. |
X-RateLimit-Remaining | Requests left today. |
X-RateLimit-Reset | Unix time of the next reset (00:00 UTC). |
Retry-After | On a 429: seconds to wait. |
See every plan's limits on the pricing page, and your current usage in the app under Usage.