Prefix search
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
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
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
Continue reading
- Prefix, fuzzy and description search (Guide)
- Cursor (Definition)
- The 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.
Cite this entry
Best Company Data API. “Prefix search.” Content reviewed . https://bestcompanydataapi.com/glossary/prefix-search