Skip to main content
CornectAPI Docsv1
Sign inGet an API tokenGet started free

Credit Consumption

The Credits page covers the basics. This guide shows how a monitor is charged, how to estimate its cost before you create it, and how to track spend.

The per-check model#

Each morning a monitor checks every company it watches for every signal type it watches, and charges 1 credit per (company, signal type) check. What the check finds does not change the price: a check that finds nothing costs the same 1 credit as one that finds ten new signals. A check that fails is refunded. The charge pays for the day's watching: new signals that arrive during the day go to a webhook or Slack within minutes, at no extra cost.

The monitor itself states the figure as it stands now:

json
{
  "id": "3f1c2a9e-...",
  "name": "Funded, hiring",
  "signal_types": ["job_openings", "financing_events"],
  "domains": [{ "domain": "acme.com", ... }, ...],   // 3 companies
  "estimated_daily_cost": 6,                          // 3 companies × 2 signal types
  "status": "active"
}

Estimate before you create#

The cost is known before the first run: companies × signal types a day, and at most 31 runs in a month. Compare it with your balance from GET /credits:

// What this monitor will cost, before creating it.
const domains = ["acme.com", "globex.com", "initech.com"];
const signalTypes = ["job_openings", "financing_events"];

const perDay = domains.length * signalTypes.length;   // 6
const perMonth = perDay * 31;                          // 186, at most

const { balance } = await api("GET", "/api/v1/credits");
if (balance < perMonth) {
  console.warn(`Balance ${balance} covers about ${Math.floor(balance / perDay)} days`);
}

When the balance runs short#

A run never charges more than the balance. It makes the checks it can pay for, then the monitor pauses with status paused_no_credits instead of failing. Add credits and the next morning's run resumes it. To spend less, watch fewer signal types or fewer companies; pausing a monitor stops its charges.

Plans
Plans run from 200 to 30,000 credits a month. See pricing.

Tracking usage#

GET /credits returns recent_transactions with a signed amount and a reason: signal_cron_charge for a check and signal_cron_refund for one that was refunded. Negative amounts are charges, positive are grants and refunds. Each run is also listed under its monitor, check by check, in the Monitors reference.