CompanyGraph API
Programmatic access to the Swiss corporate graph
Create a free API key
Quotas: without key 60 requests/h per IP · free 1,000/h · pro 20,000/h (on request).
Endpoints
GET /api/entities/search?q=… | Search across names, UID and former company names |
GET /api/entities/{id} | Entity with relations and name history |
GET /api/graph/ego/{id}?hops=2 | Ego network of an entity |
GET /api/analysis/communities | Louvain clusters over the relation graph |
GET /api/analysis/centrality?top=50 | Key nodes (betweenness) |
GET /api/analysis/sanctions/proximity | Distance to the closest sanctioned entity |
GET /api/analysis/path?source=…&target=… | Shortest path between two entities |
Usage
curl -H "X-API-Key: cg_…" \ "https://cmpgraph.welytics.xyz/api/analysis/communities"