Skip to main content
Use this when you already know which companies matter: a book of accounts, a competitor set, a portfolio, and you want to hear the moment one of them moves. A Company Entity Watcher monitors a list of companies you supply and notifies you when their profiles change. You provide the companies by domain, name, profile URL, or Crustdata company ID, and describe what to watch for. On each scheduled run, the watcher diffs every company against its last snapshot and delivers only what changed. This page walks you through the basics: your first watch, what you can track, the notification shape, and how to edit the list, then folds in worked recipes you can copy, paste, and adapt. Every request goes to the same endpoint:
Replace YOUR_API_KEY in each example with your actual API key. All requests require the x-api-version: 2025-11-01 header. This endpoint is open to all API customers, with no per-endpoint grant needed.

Request body

config

Because you pay per notification rather than per run, a higher every_hours frequency only makes changes surface sooner. It does not raise the price.

Response body

Create returns the whole watch, so you can confirm what was stored before the baseline run starts.

Rate limits and credits

Pricing: you pay only for notifications. Every watch’s first run is a free baseline: it records each company’s starting values internally for diffing and fires on nothing. It sends you a free sample of up to five of those companies so you can see the envelope, each with an empty changes array. After that you pay 5 credits per notification, one charge for each watched company that changed on a run. A run that surfaces nothing costs nothing, and the price is the same whether you check hourly or monthly. If your balance is too low, the run is suspended rather than partially delivered. For your own price per company, open the watch builder in the dashboard.
  • Rate limit: 10 requests per minute on /watch/company. Each watch path keeps its own budget. See Rate limits.
  • Watched list: up to 10,000 companies per watch, editable at any time.
  • Fixed at creation: track and fields. To change what you watch for, create a new watch.
An Entity Watcher tracks a known list. To find companies that newly match a filter, use the Company Discovery Watcher.

Examples

Funding, news, headcount thresholds, rebrands, hiring activity.

What you can track

Operators, common signals, and how to combine them.

Company field reference

Every trackable field path.

Your first watch: two companies, two signals

Watch two companies and get a message whenever either changes headcount or appears in the news.

Understanding the response

  • id is the handle for everything else: pause, edit the list, cancel, and read run history all take it.
  • fields: null means the default minimal projection. The delivered record will carry only basic_info until you request more.
  • last_run_at: null until the baseline run completes.
  • config.refresh_frequency_days: 30 is echoed on every company entity watch. Company watches run at the 30-day baseline, so this is the only rate that applies to them: 5 credits per changed company.

How a watch runs

1

Create the watch

POST your entities, a track, a config, and one or more notifications channels. The response returns the whole watch, including its id.
2

Baseline run (free)

On the first run, the watcher records an internal snapshot of the fields you are tracking, just enough to diff next time. It diffs nothing, so the baseline fires on nothing and is never charged. It only establishes “before”.The baseline does send you one notification, free: a sample of up to five of the companies it resolved, each with an empty changes array and the record projected to your fields. Use it to confirm your receiver parses the envelope before a real change arrives. To read a company’s current profile on demand, use Company Enrich.
3

Recurring runs

On your schedule (every_hours), the watcher re-checks each company, diffs it against its last snapshot, and delivers a notification for every company whose track condition just became true. You are charged 5 credits per notification.
An Entity Watcher fires only on a transition, the moment a value crosses from its previous state to a new one. It never fires on the baseline and will not re-notify you about a change it already reported. The baseline sample is not a fire: every entry in it carries changes: [], so a receiver that keys on a non-empty changes array skips the whole baseline on its own.

What a notification looks like

Every fired company carries two things: the changes array, which is exactly what moved and is reported whatever fields says, and a record, the company’s current data projected to the fields you requested. The company’s identity travels inside the record as crustdata_company_id. The example below is from a watch created with fields: ["basic_info", "headcount", "news"].
Webhook POST body
For an entity watch, results is a flat list, one object per fired company, each with its own changes and record. A changed scalar reports as { "field": …, "type": "changed", "from": …, "to": … }; an added array reports as { "field": …, "type": "added", "new_elements": [ … ] }. To re-read a past run, or audit exactly what was delivered, the run-history endpoint returns the same content under a different envelope:
GET /watch/company/{id}/runs/{run_id}/summary

What you can track

The track describes the change that triggers a notification. It is a tree of condition leaves, optionally combined with and / or groups. A leaf has the shape:
Crustdata writes “greater-than-or-equal” as => and “less-than-or-equal” as =<, not >= / <=. Those reversed forms return unknown operator.
value is required for the comparison operators, and omitted for changed and added. Combine leaves with a group node, { "op": "and" | "or", "conditions": [ … ] }, to watch several signals at once. An or group fires if any child fires; an and group fires only when all its conditions hold and at least one just became true. Groups nest.

Common company signals

These are examples. A company profile has 500+ addressable fields, and you can track any of them: any scalar with changed, any array with added.
field paths address the same profile structure the Enrich API returns, so you can browse every trackable field in the Company Enrich reference. changed requires a scalar path and added requires an array path. Mixing them returns a 400: "changed" on the array news is rejected, and you want "added" there.

track and fields are different

These are two independent knobs, and the distinction matters: Set them independently. You can track one field but deliver many, watching for a headcount change yet receiving full funding history and news in the payload, or track many and deliver few.
fields defaults to a minimal projection. Omit fields and the delivered record contains only basic_info.The field you are tracking is not automatically added to the payload. The fired changes array always tells you exactly what moved, but to get the surrounding profile data in record, request it in fields.
fields does not affect pricing. An entity watch is a flat 5 credits per notification no matter how many field groups you deliver, so there is no cost reason to keep the payload thin. There is no wildcard: to receive the complete record, list every field group your key is entitled to. The delivered record uses the same schema as Company Enrich, with identical field-group names and nesting.
Some groups require a field-level entitlement on your key, for example technographics. Requesting one your key cannot access fails the create with 403, not a quiet empty payload:
403 Forbidden

Choosing the companies

entities is an object mapping an identifier type to a list of values. You can mix identifier types in one watch. A single watch holds up to 10,000 companies.
Prefer domains or crustdata_company_ids. A names entry has to be resolved to a company first, and a common name can resolve to something you did not mean. Use Company Identify to turn a messy name into an id, then watch the id.

Delivery channels

Add one or more channels to notifications and every change fans out to all of them.
Every delivery is also recorded, so beyond the live push you can re-read a watch’s past runs from the run-history endpoint.

Where the records travel

By default a run’s change events arrive inside the notification, under results. Set config.payload_delivery_type to "link" and the body carries no records at all. It carries metadata.payload_delivery.url instead, a pre-signed S3 URL for one NDJSON file holding every record of that run. Switch when a run can outgrow what your receiver accepts. An AWS Lambda proxy integration caps a request at 6 MB and an ALB target at 1 MB, and an oversize body is refused whole.
Every channel on the watch gets the same link, and the run-summary endpoint serves the same file. Read metadata.payload_delivery.type rather than testing for results: a link watch falls back to an inline body if the file cannot be written. See Payload delivery.

Edit the watched list any time

Unlike a saved search, an Entity Watcher’s list is mutable. Add or remove companies as your account book or portfolio changes, without recreating the watch. PATCH the watch with a new entities object:
Newly added companies are baselined silently on the next run. They establish their “before” snapshot first, so adding one never fires a spurious notification. You can also PATCH status (active / paused), config, and notifications.
A watch’s track and fields are fixed once created. PATCHing either returns 400. To change what you watch for, create a new watch.

Smoke-test your webhook

Before a real change ever fires, push one sample notification through a watch to verify your receiver end to end: signature check, JSON parsing, routing, without waiting for a company to actually move. The test delivers the exact envelope a real run sends, same shape and same signature headers, flagged with metadata.test: true. It runs no diff, records no snapshot, costs no credits, and persists nothing.
All three body fields are optional:
Your receiver gets this POST. It is the shape of a real notification: only metadata.test: true and the sample values ("sample_text", 1234, …) mark it as a test.
Request headers
Webhook POST body
The sample record carries placeholder values with the exact shape of a real notification, so your parser, signature check, and routing see production structure without real company data. The changes array mirrors your watch’s track: a changed scalar reports { "type": "changed", "value": …, "from": …, "to": … } (value is the threshold target for >/< operators, null for a plain changed), and an added array reports { "type": "added", "new_elements": [ … ] }.
Pass "count": 3 to receive three sample companies in one envelope, with distinct crustdata_company_ids (814313, 814314, 814315) and summary.delivered: 3, so you can exercise how your receiver iterates results.
The signature is computed exactly as for a real notification: HMAC-SHA256 over <timestamp>.<raw-body> keyed by your API key, delivered as x-crustdata-signature: t=<unix>,v1=<hex>. A test that verifies here verifies real deliveries.

Manage your watches

Full request and response for each, verified live:
Returns an array of your company watches. Filter with status, page with limit and offset.
last_run_at is null until the baseline run completes, then carries the timestamp of the most recent run.
A paused watch stops running until you resume it. Send { "status": "active" } to resume.
Request
Returns 204 No Content. Deletion is terminal: the watch cannot be resumed.
This is the baseline run of a watch created with two company domains, one of which matches no record Crustdata holds. Read it left to right: records_searched: 2 is the list you sent, records_matched: 1 is the part of it that resolved, and credits_deducted: 0 is the baseline being free. Read the counters to catch that second domain: no other field reports an identifier that matched nothing.

Reading a run

Every run carries five counters. Each one answers a different question, and two of the five apply to one watch kind only: Read them as a funnel. On a discovery run, records_searched minus records_stale is records_after_filter. A large records_stale means the query is broad and you have already seen most of what it finds. On an entity run, a gap between records_searched and records_matched is the part of your list that matches no record Crustdata holds. No other field reports that gap, and every run skips those identifiers in silence. new_records_count is below records_after_filter when max_results_per_run cut the run short. On a realtime discovery watch, records_searched counts the rows the live retrieval returned. A first run is where those last two counters sit furthest apart. It delivers a free sample of up to five records, so new_records_count is at most 5 however large records_after_filter is. You did not lose the rest. The baseline marked every one of those records as handled, which is why later runs report only movement. A first discovery run has nothing to call stale yet, so records_stale is 0 and records_searched equals records_after_filter.
records_matched and records_stale shipped after the other three. A run that finished before then carries null for both, whatever its watch kind.

Examples

Worked recipes you can copy, paste, and adapt. Each one is a full working request, verified against the live API. Swap the notification channel for your own. For every trackable field path, see the Company Enrich reference.
A comparison operator fires on the transition, the run where the value first crosses your threshold. It does not re-fire while the value stays above it.
Request
Request headcount in fields so the payload carries the new value in record, not just the from and to in changes.
Group three funding signals with or so any one of them fires: a new round type, a new investor, or a new acquisition.
Request
funding.investors and funding.acquisitions are arrays, so they take added. funding.last_round_type is a scalar, so it takes changed. Mixing those up returns 400.
news is an array, so added fires whenever a new item lands. A six-hour cadence surfaces it the same day without costing more, because you pay per notification and not per run.
Request
The changes entry for an array reads { "field": "news", "type": "added", "new_elements": [ … ] }, so you get the new items themselves without diffing the payload yourself.
Three changed scalars under one or. Useful on a CRM sync: these are the fields that quietly go stale and break matching.
Request
An and group fires only when every condition holds and at least one just became true. This watch fires when a company is at 1,000 or more employees and its open-role count moves, which reads as “scaling and still hiring”.
Request
followers.count is a scalar, so changed fires on any movement. Pair it with a weekly cadence unless you want every small fluctuation.
Request
Use => with a value instead of changed when you only care about crossing a round number, for example 100,000 followers. changed on a noisy counter can fire on every run.
A profile URL works as an identifier when that is what your CRM stores, with no need to resolve it to a domain first.
Request
There is no wildcard, so list every field group your key is entitled to. This mirrors the full Company Enrich fields set.
Request
Groups that need a field-level entitlement, technographics among them, are left out here. Adding one your key cannot access fails the create with 403 and the message Not entitled to fields: <group>. Contact support to request access.
A watch over thousands of companies can outgrow what your receiver accepts. Raise the per-run cap and switch the payload to a link.
Request
Each line of the linked NDJSON file is one { changes, record } object, the same shape the inline body carries. See Payload delivery.


Error handling

A company entity watch answers every failure the same way, whether you are creating a watch, editing the watched list, testing delivery, or reading run history. Every watcher failure comes back in the same envelope the search and enrich APIs use, whatever the status code:
type is the machine-readable code you branch on, message is the sentence you can show a user, and metadata carries per-problem detail when there is any. Read error.message, not the top level: there is no detail key and no non_field_errors key on any watcher response.

Every problem in one response

Validation collects every failure in one pass, so a payload with three things wrong costs one round trip rather than three. metadata carries one entry per problem, and message is those entries joined in order:
400 - three problems, one response
Each entry carries three keys:
The shape of the body is checked before the rules that read across fields, so a payload that is both malformed and semantically wrong can still take two round trips: the first response names the shape problems, the second names the rules. Two is the worst case.

Exact responses

A missing Authorization header and a wrong key give the same 401 body, so the response does not tell you which of the two happened.
metadata is not always a {field, type, message} triple. Three responses put a different object in it:
  • Invalid fields: ... carries [{ "available_fields": [...] }], the full list of field paths you may project, which runs to a few hundred entries.
  • Access denied to fields: ... carries [{ "denied_fields": [...], "permitted_fields": [...] }].
  • A test send that could not be attempted carries the delivery result it built, under delivered and envelope.
Check for the keys you expect before you iterate metadata, and fall back to error.message for anything you show a user.
A path that does not route never reaches the watcher and so never gets this envelope. POST /watch/widget/search returns the gateway’s {"error_msg": "404 Route Not Found"}, and an entity path on a dataset that has no entity watcher returns an HTML 404. Branch on the status code first, then parse.

Pricing

fields does not change the price, and neither does every_hours. A run where nothing changed costs nothing. See Pricing for the full catalog.

What to do next