Get Company Credit Report
Your organisation's credit report for one company — the read, the poll and the history.
One URL answers all three. report is the current version you own, purchase is your most recent purchase of it, and versions is the score timeline. company_id is the company's company_uuid OR its Companies-House company_number, the same pair GET /v1/companies/{company_id} accepts.
Never bought a report for this company? That is a 200, not a 404 — report and purchase are null and versions is empty. "Have we bought this yet?" is one call and never an error, so alerting on 4xx does not page someone for every unpurchased company. A 404 means the company does not exist, and nothing else.
While a purchase is in flight this returns 202 with the same body shape and a Retry-After hint — keep polling this URL. The terminal poll returns the report itself, so there is no second call once the purchase settles. **Do not poll indefinitely:** a purchase that has not settled within roughly half an hour is stranded rather than slow, and will keep answering 202 until it is reclaimed. Give up and raise it with us rather than polling forever. A purchase that *failed* settles to 200 with purchase.status of failed and a failure_reason; read credits_charged_at against credits_reversed_at before telling a customer they were charged, because a refund can lag the failure.
?version= reads a specific version and always answers 200, even while another purchase is running — it asks for something that already exists. A version id you do not own leaves report null with versions still listed, rather than 404ing.
``report`` is a defined subset of the report, added to over time. Do not read its current fields as the whole of what Creditsafe holds, and ignore fields you do not recognise. The data is supplied by Creditsafe and licensed to your organisation for its own use — it may not be redistributed to third parties without prior written consent.
``?detail=full`` adds the curated report body on report.detail — payment behaviour, financial statements, judgements, identification and per-section delivery status. It is opt-in because it reads the stored report document rather than the headline figures, which costs materially more per call; the default keeps a polling loop cheap. It is a defined subset of what Creditsafe holds, added to over time, so ignore fields you do not recognise. People are structurally absent from it: directors, shareholders and persons of significant control are served redacted at their own endpoints and are not republished here.
Requires the credit_reports:read scope, which does not permit buying a report. Errors: 403 missing that scope · 404 no such company (any well-formed string is a valid identifier candidate, so company_id has no 422 case) · 422 a malformed version or detail.
curl -X GET "https://api.handshaik.com/v1/companies/{company_id}/credit-report" \
-H "Authorization: Bearer $HANDSHAIK_PUBLIC_API_KEY"Authorization
AuthorizationstringheaderrequiredOAuth2 client_credentials (M2M). Request a token with the
audienceset tohttps://api.handshaik.com.Handshaik's own first-party apps, such as the Chrome extension, instead sign a Handshaik user in with the authorization code flow and PKCE, with the same
audience. Such a token acts as that user, within their organisation. Partner integrations use client_credentials.
Parameters
company_idstringpathrequiredThe company's
id(its UUID) or its Companies-Housecompany_number— either is acceptedversionstring<uuid> | nullqueryRead this specific report version instead of the current one — a
versions[].version_idfrom a previous responsedetailenum<string>queryheadline(the default) returns the score, rating and limit only.fulladdsreport.detail— payment behaviour, financial statements, judgements and identification. Ask forfullonly when you need the body: it reads the stored report document, so it is materially slower than the default and is not what you want in a polling loopOne of:headlinefullDefault:headline
Response
Successful Response
reportCreditReportPublic | nullOne purchased credit report — the headline figures for a company (DEV-4969).
A defined subset, added to over time. These are the fields the score and the limit are read off; further blocks (payment data, financial statements, CCJs and insolvency events) are published additively as they are curated, and their absence is not a statement that the underlying report lacks them. Treat the set as growing and ignore fields you do not recognise.
Every credit field is independently nullable. Creditsafe does not score every company, and a report can carry a rating with no limit or a limit with no score.
idis the version's id, not the company's report record: a company accumulates a version per purchase, and the version is the only publicly addressable one — pass it back as?version=to re-read this exact report, match it againstversions[].version_id, and against a purchase'scredit_report_version_idto see which version a purchase resolved to.An independent allowlist, never a subclass of the internal read.
company_uuid,purchased_by_user_idand the unparsed Creditsafesummaryblock are structurally absent — the first is already the path parameter, the second is an internal identifier that is null on every M2M purchase anyway, and the third is provider-shaped data whose schema we do not control and will not publish.purchaseCreditReportPurchasePublic | nullThe most recent credit-report purchase for a company (DEV-4969).
Reported whatever its state, not only while one is running: a failed purchase is the only record of why nothing was bought, and a settled one is the record of what was charged.
statussays which —queuedandfetchingmean a purchase is in flight and this endpoint is answering 202.Whether you have been billed
failure_reasondoes not answer that. Every failure path reverses the accept-time charge, but the reversal is not part of failing and can lag it. Read the two timestamps againststatus, never on their own:credits_charged_atnull — nothing has been charged. On aqueuedpurchase that can mean *not yet*: the charge lands moments after the purchase is accepted;credits_reversed_atset — the refund has landed;credits_charged_atset andcredits_reversed_atnull on afailedpurchase — the refund is pending, not absent. Keep polling; do not report the customer as charged.
On
storedthe charge is normally the price of a report you now own, andcredits_reversed_atis null. The exception is a purchase that resolved to a version your organisation already owned: it settlesstoredwith the charge refunded, socredits_reversed_atis set — one version is never paid for twice.An independent allowlist.
requested_by_user_idis structurally absent: it is an internal identifier, null on every purchase this API makes, and a purchase a colleague started in the Handshaik UI would otherwise put their user id into a partner payload. The operator diagnostic behindfailure_reason— provider exception names, provider text and storage bucket/key names — is never published in any form.versionsCreditReportVersionSummaryPublic[]Every version your organisation owns for this company, newest first — the score timeline, and the ids
?version=accepts
{
"report": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"company_registration_number": "string",
"report_date": "2026-01-15",
"purchased_at": "2026-01-15T09:30:00Z",
"credit_score": 0,
"credit_rating": "string",
"credit_rating_description": "string",
"credit_limit": "50000.00",
"credit_limit_currency": "string",
"company_status": "string",
"data_provider": "Creditsafe",
"detail": {
"headline_text": {
"credit_score": "string",
"credit_limit": "string"
},
"company_summary": {
"business_name": "string",
"company_registration_number": "string",
"provider_company_id": "string",
"country": "string",
"lei_number": "string",
"main_activity": {
"code": "string",
"classification": "string",
"industry_sector": "string",
"description": "string"
},
"company_status": {
"status": "string",
"description": "string",
"is_active": true,
"provider_code": "string"
},
"latest_turnover": {
"amount": "50000.00",
"currency": "string",
"text": "string"
},
"latest_shareholders_equity": {
"amount": "50000.00",
"currency": "string",
"text": "string"
},
"credit_rating": {
"common_value": "string",
"common_description": "string",
"provider_score": 0,
"provider_score_min": 0,
"provider_score_max": 0,
"provider_score_text": "string",
"provider_description": "string",
"assessment": "string",
"probability_of_default": "0.13",
"credit_limit": {
"amount": "50000.00",
"currency": "string",
"text": "string"
}
}
},
"credit_score": {
"current_rating": {
"common_value": "string",
"common_description": "string",
"provider_score": 0,
"provider_score_min": 0,
"provider_score_max": 0,
"provider_score_text": "string",
"provider_description": "string",
"assessment": "string",
"probability_of_default": "0.13",
"credit_limit": {
"amount": "50000.00",
"currency": "string",
"text": "string"
}
},
"previous_rating": {
"common_value": "string",
"common_description": "string",
"provider_score": 0,
"provider_score_min": 0,
"provider_score_max": 0,
"provider_score_text": "string",
"provider_description": "string",
"assessment": "string",
"probability_of_default": "0.13",
"credit_limit": {
"amount": "50000.00",
"currency": "string",
"text": "string"
}
},
"current_contract_limit": {
"amount": "50000.00",
"currency": "string",
"text": "string"
},
"latest_rating_change_date": "2026-01-15T09:30:00Z"
},
"company_identification": {
"registered_company_name": "string",
"company_registration_number": "string",
"country": "string",
"legal_form": "string",
"ownership_type": "string",
"is_listed": true,
"company_registration_date": "2026-01-15T09:30:00Z",
"operations_start_date": "2026-01-15T09:30:00Z",
"vat_registration_number": "string",
"vat_registration_date": "2026-01-15T09:30:00Z",
"lei_number": "string",
"registered_address": {
"simple_value": "string",
"street": "string",
"city": "string",
"postal_code": "string",
"region": "string",
"country": "string"
},
"previous_names": [
{
"name": "string",
"date_changed": "2026-01-15T09:30:00Z"
}
]
},
"payment_data": {
"dbt": "12.0",
"industry_dbt": 0,
"weighted_dbt": 0,
"payment_trend": "string",
"payments_on_file": 0,
"payments_on_time": 0,
"payments_within_terms": 0,
"payments_paid_late": 0,
"payments_still_owing": 0,
"payments_still_owing_late": 0,
"payments_sent_legal": 0,
"payments_paid_0_to_30_days": 0,
"payments_paid_31_to_60_days": 0,
"payments_paid_61_to_90_days": 0,
"payments_paid_90_days_plus": 0,
"payments_0_to_30_days_late": 0,
"payments_31_to_60_days_late": 0,
"payments_61_to_90_days_late": 0,
"payments_paid_90_days_plus_late": 0,
"invoices_paid_within_terms": 0,
"invoices_paid_1_to_30_days": 0,
"invoices_paid_31_to_60_days": 0,
"invoices_paid_61_to_90_days": 0,
"invoices_paid_91_plus_days": 0,
"invoices_outstanding_within_terms": 0,
"invoices_outstanding_1_to_30_days": 0,
"invoices_outstanding_31_to_60_days": 0,
"invoices_outstanding_61_to_90_days": 0,
"invoices_outstanding_91_plus_days": 0,
"average_invoice_value": "1250.00",
"total_invoice_values": "480000.00",
"highest_invoice_value_outstanding": "22000.00",
"highest_invoice_value_outstanding_late": "18000.00",
"total_balance_still_owing": "95000.00",
"total_balance_still_owing_late": "31000.00"
},
"financial_statements": [
{
"source": "financial_statements",
"periods": [
{}
],
"statements": [
{}
]
}
],
"negative_information": {
"ccj_summary": {
"exact_registered": 0,
"possible_registered": 0,
"number_of_exact": 0,
"number_of_possible": 0,
"number_of_possible_names": 0,
"number_of_possible_addresses": 0,
"number_of_satisfied": 0,
"number_of_writs": 0,
"currency": "string",
"value_of_exact": "15000.00",
"value_of_possible": "4000.00",
"value_of_possible_names": "2500.00",
"value_of_possible_addresses": "1500.00",
"value_of_satisfied": "9000.00"
},
"registered_judgements": [
{
"ccj_date": "2026-01-15T09:30:00Z",
"court": "string",
"case_number": "string",
"amount": "7500.00",
"currency": "string",
"status": "string",
"paid_date": "2026-01-15T09:30:00Z"
}
],
"insolvency_events": [
{
"event_type_code": "string",
"event_type_description": "string",
"occurred_date": "2026-01-15T09:30:00Z",
"date_appointed": "2026-01-15T09:30:00Z",
"appointment_type": "string",
"gazette_entry_date": "2026-01-15T09:30:00Z",
"gazette_description": "string",
"publication_date": "2026-01-15T09:30:00Z",
"source_name": "string"
}
]
},
"sections": [
{
"name": "string",
"status": "present"
}
],
"report_complete": true
}
},
"purchase": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "queued",
"credit_report_version_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"credits_charged": "700.0000",
"credits_charged_at": "2026-01-15T09:30:00Z",
"credits_reversed_at": "2026-01-15T09:30:00Z",
"failure_reason": "company_not_found",
"is_retryable": true,
"created_at": "2026-01-15T09:30:00Z",
"updated_at": "2026-01-15T09:30:00Z"
},
"versions": [
{
"version_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"report_date": "2026-01-15"
}
]
}