How Auto.Complete Works
Auto.Complete is built so your API key never reaches the browser:- Your backend opens a session. It calls
POST /autocomplete/sessionswith your API key and receives a short-lived session token. - The browser asks for suggestions. As the applicant types, your page calls
GET /autocomplete/businesseswith that session token and shows the suggestions it returns. - The applicant picks their business. Each suggestion carries a
tokenthat identifies exactly that business. - You run KYB on the pick. Pass the token as
business_tokenonPOST /searches, and the search runs against the business the applicant chose.
business_token is valid for 15 minutes and only for your organization. Sessions are short-lived and the SDK refreshes them for you.
What Each Suggestion Includes
- The business’s name, and the DBA or other name that matched what was typed
- Its home (domicile) state and the other states it is registered in
- Its business structure (for example
LLC,C_CORPORATION,SOLE_PROPRIETORSHIP) - Related people and addresses, so applicants can recognise the right business
Use the SDK
The fastest way to integrate is the Baselayer JavaScript/TypeScript SDK,@baselayer-sdk/autocomplete. It:
- Opens and refreshes sessions for you, and retries when a session lapses or a rate limit is hit
- Includes a ready-made, fully restyleable React component
- Includes a server helper so your API key stays on your backend
Getting Access
Auto.Complete is enabled per organization. Contact your Baselayer representative to turn it on or to book a demo.The original
GET /autocomplete endpoint was retired on September 25, 2026. If you integrated with it, see the migration notice.Related
- Business Pre.Fill: Basics — find businesses from an officer’s name
- Business Search: Basics — the KYB search you run on the picked business