CompanyStack
APISamplesPricingDocs
Explore data

The register

IndustriesIndustries by SIC code: key figures, the largest companies by turnover and the newest.Towns and citiesCompanies registered in each UK town, its main industries and the newest arrivals.New incorporationsThe companies formed each day, newest first, with their industry and town.Company status guidesWhat active, dissolved, liquidation and proposal to strike off mean for you.

Look closer

Search companiesAny UK company by name or number: profile, health score and filed accounts.Financial screenerFilter companies by the figures in their latest filed accounts.Sample outputsReal reports, exports and API responses to look through.
Log inCreate free account
APISamplesPricingDocs

Explore data

IndustriesTowns and citiesNew incorporationsCompany status guidesSearch companies
Log inCreate free account
  1. Home
  2. Help centre
  3. API rate limits and error codes (401, 403, 404, 429)

API and developers

API rate limits and error codes (401, 403, 404, 429)

Each API plan has a per-minute and per-day limit, shared by all your keys. What the 400, 401, 403, 404, 429, 500 and 503 responses mean, and what to do about each.

Rate limits

API planPer minutePer day
Free301,000
Starter6010,000
Business200100,000
EnterpriseSet to your workloadFrom 500,000
  • Limits are per account. All your keys share them.
  • The minute limit resets at the start of each minute. The daily limit resets at midnight UTC.
  • Every data call counts, whatever the response. Calls to /auth and /billing do not count.
  • There is no monthly quota and no overage charge. When you reach a limit, requests are refused until it resets.

Every counted response includes these headers, with reset times in Unix seconds:

HeaderMeaning
X-RateLimit-LimitRequests allowed per minute
X-RateLimit-RemainingLeft this minute
X-RateLimit-ResetWhen the minute resets
X-RateLimit-Daily-LimitRequests allowed per day
X-RateLimit-Daily-RemainingLeft today
X-RateLimit-Daily-ResetWhen the day resets

Your usage is on the Usage page.

Error responses

Errors come back as JSON with an error message. Many also have a code and a hint.

400: Bad request

A parameter is missing or not valid. details lists each field and what is wrong. Fix the request and try again.

401: Authentication required, or invalid key

  • Authentication required: no key was sent. Add the Authorization or X-Api-Key header.
  • Invalid API key format. Keys start with cs_: check you copied the whole key.
  • Invalid or revoked API key: the key was revoked or regenerated. Use a current key from the API keys page.

403: Forbidden

  • code: plan_upgrade_required: your plan does not include this endpoint. The response says which plan you need, in required_plan. Upgrade on the billing page. A 403 for this reason does not count against your limits.
  • Account is disabled: contact support.

404: Not found

  • Company not found: no company has that number. Company numbers have 8 characters, for example 00445790 or SC123456. We add missing leading zeros for you, so check the letters and digits themselves.
  • Not found: the address is wrong. Check the path in the documentation.

429: Too many requests

You have reached your per-minute or daily limit. The response has a Retry-After header with the number of seconds to wait, and says which limit you hit in window ("minute" or "day").

What to do:

  • wait for the Retry-After seconds, then retry;
  • pace your requests using the X-RateLimit-Remaining header;
  • for bulk work on Business, look up 100 companies in one request with POST /company/bulk;
  • if you regularly hit the limit, upgrade your plan.

500: Internal server error

Something went wrong on our side. Retry after a short wait. If it keeps happening, raise a request at Support with the time, the endpoint and the response.

503: Companies House is not responding

code: upstream_unavailable. Some data is fetched live from Companies House. Retry after the Retry-After time, usually 30 seconds.

Last updated 2 October 2026

Related articles

  • API keys and authentication
  • Paging through API results
  • Webhooks: get changes sent to your system
  • Connect SI agents with the hosted MCP server

Still need help? Contact us, or if you have an account, open a support request.

Data from Companies House. Contains public sector information licensed under the Open Government Licence v3.0.

The same data is available through the CompanyStack API (OpenAPI spec). Company status meanings · Data freshness

CompanyStack

The UK company register, made useful. Company profiles, health scores and financials in the web app, and the same data through the CompanyStack API.

Talk to us

CompanyStack web app

  • Dashboard
  • Financial screener
  • Watchlist and alerts
  • Map
  • Web app pricing
  • Create a free account

CompanyStack API

  • UK company data API
  • API documentation
  • API explorer
  • API pricing
  • Signals add-on
  • Get a free API key
  • Enterprise and bulk data

Built for

  • Accountants and bookkeepers
  • Compliance and procurement
  • Lenders and credit
  • Sales and business development
  • Investors and corporate finance
  • Insolvency and business recovery
  • Developers and data teams
  • Recruitment agencies

See the data

  • Sample outputs
  • Data sources
  • Book a 20-minute call
  • Monthly UK company report
  • UK private company data
  • Company status meanings
  • SIC codes list
  • Compare providers

© 2026 CompanyStack.

TermsPrivacyCookiesRefundsLegalBrand and pressAboutHelp centreContactDocs