Quickstart — REST API
Make your first company search call and get a real response in under 60 seconds.
Prerequisites
- A CompanyLens account — sign up free, no credit card required.
- An API key from your dashboard.
curlinstalled (comes with macOS and most Linux distros).
Step 1: Get your API key
1
Create a free account or go to your dashboard
Your key is generated automatically — no credit card required.
Your key starts with cl_live_. Keep it private — never commit it to source control or expose it in client-side code.
Step 2: Make your first call
Search for companies named "Revolut" in the UK registry:
curl
curl -G https://api.companylens.io/v1/companies/search \
-H "X-Api-Key: YOUR_API_KEY" \
--data-urlencode "q=Revolut" \
--data-urlencode "jurisdiction=gb" \
--data-urlencode "status=active"Node.js
const res = await fetch(
'https://api.companylens.io/v1/companies/search?' +
new URLSearchParams({ q: 'Revolut', jurisdiction: 'uk', status: 'active' }),
{ headers: { 'X-Api-Key': 'YOUR_API_KEY' } }
);
const data = await res.json();Python
import httpx
r = httpx.get(
'https://api.companylens.io/v1/companies/search',
params={'q': 'Revolut', 'jurisdiction': 'uk', 'status': 'active'},
headers={'X-Api-Key': 'YOUR_API_KEY'},
)
data = r.json()Step 3: Download the Postman collection
The collection has every endpoint pre-configured with your API key variable, real example values, and inline parameter descriptions — the fastest way to explore the full API.
CompanyLens API — Postman Collection
All endpoints: search, company profiles, officers, networks, charges, filings, and people.
- Open Postman and select Import, then choose the downloaded file.
- Set the
api_keycollection variable to yourcl_live_key. - Hit Send on any request — every call is ready to run.