Search for businesses, move through multiple pages of results, and fetch full details for the records you need.
Overview
Use this endpoint to find businesses in the Openmart database.
You can search by:
keyword
location
business attributes, such as whether a business has a website or contact info
Use this endpoint when you want to build lead lists, find target businesses, or pull business data into your own workflow.
Before you start
Make sure you have:
an Openmart account
an API key
a tool to send API requests, such as Postman or curl
Authentication. We recommend sending your API key as Authorization: Bearer <your_api_key>. If your current integration already uses X-API-Key: <your_api_key>, it will continue to work.
1
Example 1: Search hair salons in San Francisco, CA
Use this example to find businesses by keyword and location, and limit results to businesses with a website and contact info.
The response itself is the list of matching businesses when estimate_total is false.
Response element
id
Description
The Openmart business ID. You can also copy it into tracking_id when enriching contacts.
Response element
content.root_domain
Description
The company domain to send as domain in a find_people request.
Response element
content.business_name
Description
The company name to send as company_name when enriching contacts.
Response element
cursor
Description
Copy the final result cursor into the next search request.
Response element
Description
Top-level array
The response itself is the list of matching businesses when estimate_total is false.
id
The Openmart business ID. You can also copy it into tracking_id when enriching contacts.
content.root_domain
The company domain to send as domain in a find_people request.
content.business_name
The company name to send as company_name when enriching contacts.
cursor
Copy the final result cursor into the next search request.
Next: find owner contacts
Take each result's content.root_domain and send it as domain to the people enrichment workflow. Preserve the business id in tracking_id so you can join the contacts back to the correct business.
Request body for POST /api/v1/search and POST /api/v1/search/only_ids. All fields are optional. Order below follows typical usage: query and limit first, then geography and filters, then pagination and the rest.
Most common parameters
Start here for most integrations. These are the fields teams adjust first when building lists and running day-to-day searches.
querystringRequired: No
Example: "hair salons"
Primary free-text search (1–500 characters). Configure this first unless you use tags instead. Ignored for matching when tags is non-empty.
Only businesses opened on or after this ISO 8601 instant. This is the API equivalent of the self-serve “New businesses” filter. Set it to the opening-date cutoff; optionally pair it with open_date_before for a fixed window.
Only businesses opened on or before this ISO 8601 instant. Pair it with open_date_after when you want the self-serve “New businesses” filter as a fixed opening-date window.