Prefill
Business Prefill
Prefill businesses by searching officer names. Business name is optional and used only for matching comparison in the response.
get/prefill/businesses
Request
- Base URLhttps://api.baselayer.com
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
officer_namestring required
Officer name to search
business_namestring nullable
Business name to use for matching comparison (not used for searching)
similarity_thresholdnumber
Similarity threshold for the search (0.0 to 1.0). Defaults to 0.9.
limitinteger
Maximum number of results to return
Response
Successful Response
Example response
[
{
"name": "Garcia, Hernandez and Woods",
"issue_date": "2024-01-01",
"file_number": "867124",
"primary_address": {
"street": "913 Hendrix Gardens Suite 492",
"city": "Jasonfurt",
"zip": "19773",
"latitude": 38.03012,
"longitude": 78.47665
},
"officers": [
"Tyler Johnson",
"John Doe"
]
}
]Changes
No recorded changes to this operation across all 1 revision of this API.