---
title: "Prefix search"
description: "A search that matches records whose name or number starts with the text typed, such as CompanyRegistryAPI.com's search by the start of a name or business ID."
url: https://bestcompanydataapi.com/glossary/prefix-search
---

> For the index of all pages on this site, see [llms.txt](https://bestcompanydataapi.com/llms.txt).

# Prefix search

[Glossary](https://bestcompanydataapi.com/glossary)

## Definition

A search that matches records whose name or number starts with the text typed, such as CompanyRegistryAPI.com's search by the start of a name or business ID.

**Disclosure.** This site is published by Coragrid, the operator of CompanyRegistryAPI.com, and promotes it. “Best” is our editorial choice, not a measured ranking. Other products are described only from their own official pages. [How we choose](https://bestcompanydataapi.com/methodology)

Also called: starts-with search.

## In practice

Design the search box for it: wait for three characters, debounce typing, say “start of the company name or business ID” in the hint, and write an empty state that never claims the company does not exist.

## Questions and answers

### Does prefix search find a word in the middle of a company name?

No. It matches the start. A word in the middle of the name is found only if the register stores another name that starts with it.

### How long must a CompanyRegistryAPI.com search be?

3 to 64 characters, according to its docs. Shorter queries get 400 invalid_request.

## Sources for this entry

1. [CompanyRegistryAPI.com API docs](https://companyregistryapi.com/api) Coragrid. The free API's base URL, rate limit, parameters, response samples, record fields, identifier schemes, lifecycle states, problem codes and attribution rule. Retrieved 17 November 2026.

Each source supports only what its publisher says about its own product or data. Official descriptions do not establish comparative performance, and this site has run no benchmark. [All sources](https://bestcompanydataapi.com/sources)

## Continue reading

- [Prefix, fuzzy and description search](https://bestcompanydataapi.com/prefix-fuzzy-and-description-search) (Guide)
- [Cursor](https://bestcompanydataapi.com/glossary/cursor) (Definition)
- [The first three requests](https://bestcompanydataapi.com/first-three-requests) (Guide)

## How the related websites connect

This is one of 3 coordinated reference sites published by Coragrid. They cover neighbouring questions and feature the same product, so they are not independent endorsements of it or of each other.

- [The related websites](https://bestcompanydataapi.com/related-websites)
- [CompanyRegistryAPI.com, the official website](https://companyregistryapi.com/)

## Cite this entry

Best Company Data API. “Prefix search.” Content reviewed 17 November 2026. [https://bestcompanydataapi.com/glossary/prefix-search](https://bestcompanydataapi.com/glossary/prefix-search)

## Featured product: CompanyRegistryAPI.com

Free, keyless company registry API and lookup website

Base URL

https://api.companyregistryapi.com

- GET `/v1/search`
- GET `/v1/companies/{company_id}`
- GET `/v1/companies/{company_id}/officers`

* **Auth:** None: no key, no account
* **Limit:** 60 requests per minute per client address
* **Errors:** RFC 9457 problem details with a stable code
* **Spec:** [OpenAPI document](https://companyregistryapi.com/api/openapi.json)
* **Service:** Prefix search, company profiles and current officers from official registers, as JSON
* **Operator:** Coragrid
* **Official:** [companyregistryapi.com](https://companyregistryapi.com/)
* **Source:** Described from its own docs; same publisher as this site

- [Read the CompanyRegistryAPI.com profile](https://bestcompanydataapi.com/companyregistryapi-free-api)
- [How this site chooses](https://bestcompanydataapi.com/methodology)
