Skip to main content
Autocomplete API

Instant company search
across 26M+ records

One API call. Sub-100ms. Prefix matching with word-similarity top-up so a typo never breaks your flow. Drop it into any sign-up form, KYB check, or CRM integration in minutes.

26M+

Company records

16

Jurisdictions

<100ms

Response time

CompanyLens — Company Search
Search 26M+ companies…

Search for any company across 16 jurisdictions

How it works

Two-stage matching

1

Prefix match (fast path)

Typing "Apple" instantly returns "APPLE INC", "APPLE RETAIL UK LTD" etc — results appear on the first keystroke after the second character.

2

Word-similarity fuzzy top-up

If prefix matching doesn't fill the result set, word-similarity (pg_trgm) kicks in automatically. "Aple" still finds "APPLE INC". Your users won't notice.

3

Structured response

Each result includes name, number, jurisdiction, status, incorporation date, and address — everything to pre-fill a form or kick off a KYB check.

Endpoint

The API

Request
GET /api/v1/companies/autocomplete
  ?q=apple
  &jurisdiction=uk   # required — slug or ISO code
  &limit=10          # max 20
Response (one item)
{
  "name": "APPLE RETAIL UK LIMITED",
  "number": "04090786",
  "jurisdiction": "GB",
  "status": "Active",
  "incorporatedDate": "2000-09-21",
  "address": "REGENT STREET, LONDON"
}
Live demo

Try it with real data

Real API, live results. Type any company name and click a result to see the full JSON response.

GET/api/v1/companies/autocomplete?jurisdiction=uk

Search

↑↓ navigate · Enter select · Esc close

Response

Use cases

Built for real workflows

One endpoint, four common patterns.

📋

Sign-up & onboarding forms

Let users find their company in one keystroke instead of filling in registration number, address, and incorporation date by hand. Pre-fill everything from the autocomplete response.

🔍

KYB / KYC verification

Confirm a company exists and is active before onboarding a business customer. The response includes status, jurisdiction, and registration number — enough to kick off a full verification.

🗂

CRM & deal tracking

Add company lookup to your CRM deal or account creation form. Instantly attach the canonical company name, number, and jurisdiction without manual data entry.

🤖

AI agent tooling

Give your AI agent a company lookup tool. The structured response is perfect for agents that need to resolve a company name to a canonical record before calling richer endpoints.

Integration

Drop it in in 10 minutes

signup-form.js
async function searchCompanies(query, jurisdiction) {
  const params = new URLSearchParams({
    q: query,
    jurisdiction, // required — e.g. "uk", "ireland", "gb"
    limit: "10",
  });
  const res = await fetch(
    `https://api.companylens.io/api/v1/companies/autocomplete?${params}`,
    { headers: { Authorization: "Bearer cl_live_your_key" } }
  );
  const { data } = await res.json();
  return data; // array of company objects
}

// Debounce on your input field (pass jurisdiction from your UI)
input.addEventListener("input", debounce(async (e) => {
  const companies = await searchCompanies(e.target.value, "uk");
  renderDropdown(companies);
}, 200));

Start for free

500 queries/month on the free tier. No credit card required.