API Reference

borsch.ai REST API

Integrate UK business intelligence into your applications. Search companies, retrieve risk scores, access signals, and query the entity graph programmatically.

The borsch.ai API provides RESTful access to UK company data, risk scores, signals, and graph analytics. All responses are JSON. Authentication is via Bearer token (JWT) or API key.

Base URL: https://borsch.ai/api/v1

Authentication

All API requests require authentication. Include your token in the Authorization header.

Authorization Header
Include Authorization: Bearer YOUR_API_KEY in every request. Generate API keys from your Account Settings.
curl
curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://borsch.ai/api/v1/search/structured?query=Tesco
python
import requests

headers = {"Authorization": "Bearer YOUR_API_KEY"}
resp = requests.get(
    "https://borsch.ai/api/v1/search/structured",
    params={"query": "Tesco"},
    headers=headers,
)
companies = resp.json()
javascript
const resp = await fetch(
  "https://borsch.ai/api/v1/search/structured?query=Tesco",
  { headers: { Authorization: "Bearer YOUR_API_KEY" } }
);
const companies = await resp.json();

Search

Search UK companies by name, number, SIC code, location, or semantic similarity.

MethodEndpointDescription
GET/search/structuredStructured company search with filters (name, SIC, status, region)
GET/search/semanticSemantic vector search — find companies by what they do
GET/search/suggestAuto-complete suggestions for company names
GET/search/by-locationGeographic search by coordinates and radius

Company

Retrieve detailed company information including officers, PSC, filings, and enriched data.

MethodEndpointDescription
GET/search/company/{number}Full company profile with officers and enriched data
GET/search/company/{number}/similarFind similar companies using vector similarity

Signals

Access 50M+ signals from 53 government data sources for any UK company.

MethodEndpointDescription
GET/signals/companies/{number}/signalsAll signals for a company (paginated)
GET/signals/companies/{number}/risk-scoreWeighted risk score v1 (0-100)
GET/signals/summaryGlobal signal statistics
GET/signals/sourcesList all data sources with counts

Risk Score v2

Multi-dimensional risk assessment across 5 dimensions and 28 sub-scores.

MethodEndpointDescription
GET/risk/companies/{number}/scoreFull multi-dimensional risk assessment
GET/risk/companies/{number}/score/dimension/{key}Deep dive into a single risk dimension

Graph

Query the Neo4j knowledge graph with 56.7M nodes and 80M+ relationships.

MethodEndpointDescription
GET/graph/company/{number}/signalsIndividual signals from Neo4j graph
GET/graph/company/{number}/risk-analysisCross-source risk breakdown
GET/graph/company/{number}/entity-networkShared entities (LightRAG)
GET/graph/company/{number}/profileFull due diligence profile
GET/graph/risk-clustersMulti-source risk early warning clusters
GET/graph/analytics/summaryGraph statistics (cached 15min)

Rate Limits

API rate limits depend on your subscription plan.

Free
100
requests / day
Scale
10K
requests / day
Enterprise
100K
requests / day

Ready to integrate?

Get your API key and start building with UK business intelligence data in minutes.