Rate limits & credits

Every API key belongs to an account, and the plan of the account sets your usage limits. This page explains each limit, which requests cost a credit, and what happens when you reach a limit.

For the numbers of your plan, see the finlight dashboard. To compare plans, see the pricing page. Plans are Launchpad (free), Pro Light, Pro Standard, Pro Scale and Enterprise.


The usage limits

  • Name
    Monthly credits
    Description

    REST requests use credits from a monthly allowance. Every request costs one credit. The allowance starts again with each billing period. This is the same counter that v1 and v2 call the monthly request quota: v1, v2 and v3 requests all draw from it. When it is used up, REST answers 429 with limitType: "monthly".

  • Name
    Burst limit
    Description

    A limit on REST requests per 10 seconds. It smooths out spikes. Not every plan has one. When you go over it, REST answers 429 with limitType: "burst" and a Retry-After header.

  • Name
    WebSocket connections
    Description

    How many WebSocket connections your account can keep open at the same time, across all its keys. Enriched and raw connections share this limit. A plan without WebSockets gets 403 at connect.

  • Name
    WebSocket quota
    Description

    How many messages the WebSocket can deliver to you per billing period. When it is used up, your open connections are closed and new ones are refused until the next period.

  • Name
    Webhook quota
    Description

    How many webhook deliveries you can receive per billing period. A second limit sets how many webhooks you can create. When the quota is used up, new deliveries stop until the next period.

WebSocket and webhooks do not use credits. They only count against their own quotas.


Credits per request

RequestCredits
POST /v3/articles/search1 per page
GET /v3/articles/{id}1
GET /v3/articles/by-link1
GET /v3/companies (search with q, or several companies with ids)1 per request, however many ids you ask for
GET /v3/companies/{companyId}1
GET /v3/sources1
v1 and v2 requests, GET /v2/sources included1
WebSocket messagesNo credits. They count against the WebSocket quota.
Webhook deliveriesNo credits. They count against the webhook quota.

There is no extra charge for blocks or filters. A search with include: ["companies", "events"] costs the same as one without. Each page of a search costs one credit, so a walk through 5 pages costs 5 credits.

Which answers use a credit

Every request costs 1 credit, on the article routes and on the company and source lookups alike. A request is counted when it arrives, after the key check. So a request that then fails, for example with a validation error, a 404 or a burst 429, still counts toward your monthly limit. A 304 Not Modified on a lookup costs 1 credit too. A burst 429 that is retried counts twice: once for the refused request and once for the retry. The usage in the dashboard lists every request that cost a credit, error answers included.

These requests never count, on any route:

  • A missing or wrong API key (401).
  • A 403 because your plan has no company data.
  • The monthly 429 itself, once your credits are used up.
  • A request body that is not valid JSON.
  • A route that does not exist.

The client libraries check simple mistakes (such as limit: 0 or an empty languages list) before they send anything. Those cost nothing.

The burst limit counts every request that passes the key check and the monthly limit, errors and 304 answers included. A monthly 429 and the 403 for a plan without company data do not count toward it. It protects the service and has nothing to do with billing.


When you hit a limit

SituationWhat you getWhat to do
Too many REST requests in 10 seconds429 with limitType: "burst" and Retry-AfterWait Retry-After seconds, then retry once. Send fewer requests in parallel.
Monthly credits used up429 with limitType: "monthly", no Retry-AfterDo not retry. Wait for the next billing period, or upgrade.
Too many WebSocket connections403 at connectClose a connection you no longer need, or connect with x-takeover: true.
WebSocket quota used up403 at connect, and connection.preempted with reason: "quota_exceeded" on open connectionsWait for the next period, or upgrade.
Webhook quota used upNew deliveries stop. The webhook shows "Over quota" in the dashboard.Wait for the next period, or upgrade.
Too many webhook tests429 from the test button after more than 10 tests within a minute (per account)Wait a minute.

The error bodies are explained on Rate limited and Forbidden.

The two kinds of 429

Tell them apart by the limitType member of the error body, not by the detail text. The limitType list can grow; treat a value you do not know like monthly.

Response (429): burst, with Retry-After: 7

{
  "type": "https://docs.finlight.me/errors/rate-limited",
  "title": "Too many requests",
  "status": 429,
  "detail": "Throttling Exception: Exceeded rate limit of 5 requests per 10 seconds.",
  "code": "RATE_LIMITED",
  "requestId": "req-123",
  "limitType": "burst"
}
  • Retry-After is only sent with burst. It is the number of seconds until the 10-second window ends, from 1 to 10.
  • monthly has no Retry-After, because the wait lasts until your next billing period.
  • There are no other rate limit headers.

What the client libraries do

  • A burst 429 is retried once, after exactly Retry-After seconds (10 when the header is missing). This is on by default and does not count against the normal retries. Turn it off with retryOnBurst: 'off' (TypeScript) or retry_on_burst="off" (Python).
  • A monthly 429 is never retried. The call fails at once, also inside searchAll.
  • searchAll stops after 10 pages by default, because every page costs a credit. You can change this with maxPages (Python: max_pages).
  • The WebSocket streams wait for a used-up WebSocket quota. By default they try again once per hour and report each wait.

Webhook deliveries and retries

  • Only the first delivery attempt counts against the webhook quota.
  • When your endpoint fails, finlight retries up to 3 times (after 10, 30 and 60 minutes). Retries do not count against the webhook quota or the daily usage. They are sent even if the quota was reached after the first attempt.
  • When the quota is used up, no new first attempts are made until the next period. Retries of earlier attempts still go out.
  • Test sends from the dashboard count in the daily usage. They are not sent while the quota is used up.

See Delivery & retries and Testing.

How enforcement works

  • Per account and in real time. All keys of your account share the same counters. The limits are checked on every request. Once a limit is reached, the next request fails at once.
  • The dashboard usage is not live. The usage in the finlight dashboard is updated about once a day and shows activity up to the previous day. Your remaining credits for today can differ from what it shows.
  • Counters start again at the beginning of each billing period, so a monthly 429 clears on its own.
  • Your plan's date window is not an error. If you ask for articles older than your plan allows, the date range is cut to your window without an error. You simply get fewer results. See Plans & entitlements.

Saving credits

  • Ask for up to 100 articles per page with limit. Fewer pages mean fewer credits.
  • Use the WebSocket or webhooks for new articles instead of polling the search.
  • Keep company records for a day (Cache-Control: max-age=86400) before you ask again. A revalidation with If-None-Match is a request and costs 1 credit, even when the answer is 304 Not Modified. It only saves the download. The SDKs keep no cache, so keep the records in your own code. With the SDKs you can pass the stored ETag as ifNoneMatch.
  • The source list changes rarely. Fetch it once and keep it, for example for a day.
  • Use include freely. Blocks never cost extra.