Skip to content

API v1 · MCP

Rate limits and errors

Limits protect the official registers behind the API. Every error has a stable code you can program against, and a register outage is never reported as a negative finding.

REST base URL
https://app.firmasignal.com/developer-api
MCP server
https://app.firmasignal.com/developer-api/mcp

Rate limits

EndpointLimitCounted
POST /v1/nip/verifications60 per 60 secondsPer key
GET /v1/verifications/{verification_id}120 per 60 secondsPer key
GET /v1/change-events60 per 60 secondsPer key

A new verification answers with ratelimit-limit, ratelimit-remaining and ratelimit-reset (when the window resets). Over the limit you get 429 rate_limit_error with Retry-After in seconds.

Monthly API calls

Your plan includes a number of API calls a month. Each new verification (POST /v1/nip/verifications, or the MCP tool verify_company) uses one. Reading a verification again, the change feed, alerts, monitors and the other MCP tools use none, and neither do idempotent replays or failed checks.

The API / MCP page shows the calls used this month against the limit, warns at 50% and 80%, and says when the counter resets. Once the limit is used up, new verifications get 403 entitlement_error until the reset; nothing is charged.

Error format

The verification and change-feed endpoints answer errors with a structured body:

Error body
{
  "error": {
    "code": "validation_error",
    "message": "nip must be a valid 10-digit Polish NIP.",
    "requestId": "req_6d2f9a1c4b8e",
    "retryable": false
  }
}
  • code: stable, for your program.
  • message: for people; it may change.
  • requestId: the same as the firma-request-id header.
  • retryable: true when the same request may succeed later.

Error codes

StatusCodeMeaningRetry
401authentication_errorThe Authorization header is missing, or the key is wrong, revoked or expired.No
403authorization_errorThe key works but lacks the scope this endpoint needs. Create a key with that access.No
400validation_errorThe request is invalid; message says which field.No
409idempotency_conflictThe Idempotency-Key was already used for a different request, or that request is still running.No
404not_foundNo such resource in your workspace.No
406version_unsupportedFirma-Api-Version names a version other than v1.No
403entitlement_errorThe plan does not include the API, or this month's API calls are used up. Nothing is charged; try again after the reset or move to a larger plan.No
429rate_limit_errorToo many requests from this key in the current minute. Wait the seconds in Retry-After.Yes

No API key

Request
curl -X POST "https://app.firmasignal.com/developer-api/v1/nip/verifications" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: order-2026-11-30-0002" \
  -d '{"nip":"1234563218","checks":["identity","status","vat"],"locale":"en"}'
Response 401
HTTP/1.1 401 Unauthorized
content-type: application/json; charset=utf-8
firma-request-id: req_6d2f9a1c4b8e

{
  "error": {
    "code": "authentication_error",
    "message": "Authentication failed.",
    "requestId": "req_6d2f9a1c4b8e",
    "retryable": false
  }
}

Key without the scope

Request
curl "https://app.firmasignal.com/developer-api/v1/change-events" \
  -H "Authorization: Bearer $FIRMASIGNAL_API_KEY"
Response 403
HTTP/1.1 403 Forbidden
content-type: application/json; charset=utf-8
firma-request-id: req_6d2f9a1c4b8e

{
  "error": {
    "code": "authorization_error",
    "message": "The API key does not have the required scope.",
    "requestId": "req_6d2f9a1c4b8e",
    "retryable": false
  }
}

Idempotency-Key reused for a different body

Request
curl -X POST "https://app.firmasignal.com/developer-api/v1/nip/verifications" \
  -H "Authorization: Bearer $FIRMASIGNAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: order-2026-11-30-0001" \
  -d '{"nip":"1234563218","checks":["vat"],"locale":"en"}'
Response 409
HTTP/1.1 409 Conflict
content-type: application/json; charset=utf-8
firma-request-id: req_6d2f9a1c4b8e

{
  "error": {
    "code": "idempotency_conflict",
    "message": "The idempotency key was already used for a different request.",
    "requestId": "req_6d2f9a1c4b8e",
    "retryable": false
  }
}

Unknown verification

Request
curl "https://app.firmasignal.com/developer-api/v1/verifications/verify_00000000000000000000000000000000" \
  -H "Authorization: Bearer $FIRMASIGNAL_API_KEY"
Response 404
HTTP/1.1 404 Not Found
content-type: application/json; charset=utf-8
firma-request-id: req_6d2f9a1c4b8e

{
  "error": {
    "code": "not_found",
    "message": "The verification was not found.",
    "requestId": "req_6d2f9a1c4b8e",
    "retryable": false
  }
}

Unsupported API version

Request
curl "https://app.firmasignal.com/developer-api/v1/change-events" \
  -H "Authorization: Bearer $FIRMASIGNAL_API_KEY" \
  -H "Firma-Api-Version: v2"
Response 406
HTTP/1.1 406 Not Acceptable
content-type: application/json; charset=utf-8
firma-request-id: req_6d2f9a1c4b8e

{
  "error": {
    "code": "version_unsupported",
    "message": "The requested API version is not supported.",
    "requestId": "req_6d2f9a1c4b8e",
    "retryable": false
  }
}

Monthly API calls used up

Request
curl -X POST "https://app.firmasignal.com/developer-api/v1/nip/verifications" \
  -H "Authorization: Bearer $FIRMASIGNAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: order-2026-11-30-0004" \
  -d '{"nip":"1234563218","checks":["identity","status","vat"],"locale":"en"}'
Response 403
HTTP/1.1 403 Forbidden
content-type: application/json; charset=utf-8
firma-request-id: req_6d2f9a1c4b8e

{
  "error": {
    "code": "entitlement_error",
    "message": "The workspace is not entitled to this operation.",
    "requestId": "req_6d2f9a1c4b8e",
    "retryable": false
  }
}

Too many requests

Request
curl -X POST "https://app.firmasignal.com/developer-api/v1/nip/verifications" \
  -H "Authorization: Bearer $FIRMASIGNAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: order-2026-11-30-0005" \
  -d '{"nip":"1234563218","checks":["identity","status","vat"],"locale":"en"}'
Response 429
HTTP/1.1 429 Too Many Requests
content-type: application/json; charset=utf-8
firma-request-id: req_6d2f9a1c4b8e
retry-after: 42

{
  "error": {
    "code": "rate_limit_error",
    "message": "Rate limit exceeded.",
    "requestId": "req_6d2f9a1c4b8e",
    "retryable": true
  }
}

Monitor and alert errors

/v1/alerts and /v1/financial-filing-monitors answer errors with a short code only, for example:

Error body
{
  "error": "authentication_error"
}
StatusCodes
400invalid_limit invalid_cursor invalid_locale invalid_json invalid_content_type invalid_idempotency_key invalid_krs invalid_nip invalid_period request_too_large
401authentication_error
403authorization_error active_monitor_entitlement_unavailable (the plan has no monitors)
404entity_not_found (no company with that NIP)
409idempotency_conflict identifier_conflict active_monitor_limit_exceeded (the plan's company limit is reached)
422not_krs_entity (the NIP is not a KRS company) identifier_not_supported
502 503source_schema_changed source_unavailable service_unavailable (retryable)

Retrying safely

  • Retry 429, 500, 502 and 503 with exponential back-off (for example 1, 2, 4, 8 seconds, at most five tries), honouring Retry-After.
  • Always send the same Idempotency-Key when you retry a POST: you never pay twice and never create a second monitor.
  • Do not retry 400, 401, 403, 404, 406, 409 or 422 unchanged: fix the request first.