> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Openmart

> A local business database: search businesses and brands, with company enrichment from a website.

![](https://mintcdn.com/webrouter/JBFYvcRI1PVnd4YX/logo/data-apis/openmart.webp?fit=max\&auto=format\&n=JBFYvcRI1PVnd4YX\&q=85\&s=e1b2f8c9544796205d9af45b8d21d753)

[Web Catalog · Company data](https://docs.webrouter.net/data-apis.md?category=company-data)

Needs&#x20;

`OPENMART_API_KEY`

Endpoints

5

Auth

Key in header

[Vendor docs](https://app.openmart.com/api-docs)

## Setup

| Variable | | What it is |
| - | - | - |
| `OPENMART_API_KEY` | required | an Openmart API key (Openmart account > API management) |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Credit-priced; a 402 'Credit limit reached' means the team balance is empty. Check it with account.credit\_balance.
* Contact lookups (decision makers, company emails and phones, known people, tech stack) run as batch tasks that take a JSON array as the request body and return a batch\_id to poll. The catalog's body model is an object, so they are not listed.
* X-API-Key is accepted too, but Bearer is the recommended header.

## Endpoints

GET

Get credit balance

Remaining team credits and the current billing period.

[Open](#openmart-account-credit-balance)

POST

Search local businesses

Find businesses by keyword, location and attributes (website, contact info, number of locations).

[Open](#openmart-businesses-search)

POST

Search business ids only (fast)

Same search, returning only id, place\_id, match\_score and cursor, at a reduced rate per row.

[Open](#openmart-businesses-search-ids)

POST

Enrich a company from its website

Matching Openmart business records for a website.

[Open](#openmart-company-enrich)

POST

Search brands

Brands (all stores sharing one business identity), deduplicated at company level; filter by term, location, store count and ownership type.

[Open](#openmart-brands-search)

### Get credit balance

GET

`/api/v2/credit-balance`

`openmart.account.credit_balance`

Remaining team credits and the current billing period.

Input

No inputs.

[Vendor docs](https://app.openmart.com/api-docs/get-credit-balance)

```python Python theme={null}
router.call_data_api("openmart.account.credit_balance")
```

```text MCP theme={null}
call_data_api(endpoint="openmart.account.credit_balance")
```

### Search local businesses

POST

`/api/v1/search`

`openmart.businesses.search`

Find businesses by keyword, location and attributes (website, contact info, number of locations).

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`query` required</td><td>string</td><td>body</td><td>The type of business to find. Example `hair salons`</td></tr>
    <tr><td>`location`</td><td>array</td><td>body</td><td>Where to search: objects with country, optional state and city. Example `[{"country": "USA", "state": "CA", "city": "San Francisco"}]`</td></tr>

    <tr>
      <td>
        `has_website`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Only businesses with a website.
      </td>
    </tr>

    <tr>
      <td>
        `has_valid_website`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Only businesses with a valid website.
      </td>
    </tr>

    <tr>
      <td>
        `has_contact_info`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Only businesses with contact information.
      </td>
    </tr>

    <tr><td>`min_locations`</td><td>integer</td><td>body</td><td>Only businesses with at least this many locations. Example `3`</td></tr>
    <tr><td>`limit`</td><td>integer</td><td>body</td><td>Results to return. Example `10`</td></tr>

    <tr>
      <td>
        `cursor`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        The cursor of the last result of the previous page, \[match\_score, id].
      </td>
    </tr>

    <tr>
      <td>
        `estimate_total`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Also return an approximate total; the answer is then \{data, total\_count}.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://app.openmart.com/api-docs/search-businesses) · Same job: [Adzuna](https://docs.webrouter.net/data-apis/adzuna.md#adzuna-companies-top), [AI Ark](https://docs.webrouter.net/data-apis/aiark.md#aiark-company-search), [Airscale](https://docs.webrouter.net/data-apis/airscale.md#airscale-companies-search), [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-company-search), [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-symbol-search), [Apollo.io](https://docs.webrouter.net/data-apis/apollo.md#apollo-organizations-search)

```python Python theme={null}
router.call_data_api("openmart.businesses.search", {'query': 'hair salons', 'location': [{'country': 'USA', 'state': 'CA', 'city': 'San Francisco'}], 'min_locations': 3, 'limit': 10})
```

```text MCP theme={null}
call_data_api(endpoint="openmart.businesses.search", params={"query": "hair salons", "location": [{"country": "USA", "state": "CA", "city": "San Francisco"}], "min_locations": 3, "limit": 10})
```

> [!NOTE]
>
> * A read over POST: the filters are in the body.
> * Page by sending the last result's cursor back as cursor.
> * When a record has contacts\_locked: true, raw business email and phone are withheld; they come from the separate enrichment (task) endpoints, which this entry does not list because they take a JSON array as the body.

### Search business ids only (fast)

POST

`/api/v1/search/only_ids`

`openmart.businesses.search_ids`

Same search, returning only id, place\_id, match\_score and cursor, at a reduced rate per row.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`query` required</td><td>string</td><td>body</td><td>The type of business to find. Example `hair salons`</td></tr>
    <tr><td>`location`</td><td>array</td><td>body</td><td>Where to search: objects with country, optional state and city. Example `[{"country": "USA", "state": "CA", "city": "San Francisco"}]`</td></tr>

    <tr>
      <td>
        `has_website`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Only businesses with a website.
      </td>
    </tr>

    <tr>
      <td>
        `has_valid_website`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Only businesses with a valid website.
      </td>
    </tr>

    <tr>
      <td>
        `has_contact_info`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Only businesses with contact information.
      </td>
    </tr>

    <tr><td>`min_locations`</td><td>integer</td><td>body</td><td>Only businesses with at least this many locations. Example `3`</td></tr>
    <tr><td>`limit`</td><td>integer</td><td>body</td><td>Results to return. Example `10`</td></tr>

    <tr>
      <td>
        `cursor`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        The cursor of the last result of the previous page, \[match\_score, id].
      </td>
    </tr>

    <tr>
      <td>
        `estimate_total`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Also return an approximate total; the answer is then \{data, total\_count}.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://app.openmart.com/api-docs/search-business-ids-fast) · Same job: [Adzuna](https://docs.webrouter.net/data-apis/adzuna.md#adzuna-companies-top), [AI Ark](https://docs.webrouter.net/data-apis/aiark.md#aiark-company-search), [Airscale](https://docs.webrouter.net/data-apis/airscale.md#airscale-companies-search), [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-company-search), [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-symbol-search), [Apollo.io](https://docs.webrouter.net/data-apis/apollo.md#apollo-organizations-search)

```python Python theme={null}
router.call_data_api("openmart.businesses.search_ids", {'query': 'hair salons', 'location': [{'country': 'USA', 'state': 'CA', 'city': 'San Francisco'}], 'min_locations': 3, 'limit': 10})
```

```text MCP theme={null}
call_data_api(endpoint="openmart.businesses.search_ids", params={"query": "hair salons", "location": [{"country": "USA", "state": "CA", "city": "San Francisco"}], "min_locations": 3, "limit": 10})
```

> [!NOTE]
>
> * A read over POST. Takes the same body as businesses.search.
> * Hydrating the rows later uses GET endpoints that need a JSON body, which this entry cannot send.

### Enrich a company from its website

POST

`/api/v1/enrich_company`

`openmart.company.enrich`

Matching Openmart business records for a website.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`website` required</td><td>string</td><td>body</td><td>The company website. Example `https://bluebottlecoffee.com`</td></tr>
    <tr><td>`location`</td><td>array</td><td>body</td><td>Optional location objects to narrow the match. Example `[{"country": "US"}]`</td></tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Max records.
      </td>
    </tr>

    <tr>
      <td>
        `estimate_total`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Also return an approximate total.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://app.openmart.com/api-docs/enrich-company) · Same job: [Airscale](https://docs.webrouter.net/data-apis/airscale.md#airscale-company-get), [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-company-enrich), [Albacross](https://docs.webrouter.net/data-apis/albacross.md#albacross-enrich-company), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-linkedin-company), [Apollo.io](https://docs.webrouter.net/data-apis/apollo.md#apollo-organizations-enrich), [Aviato](https://docs.webrouter.net/data-apis/aviato.md#aviato-company-enrich)

```python Python theme={null}
router.call_data_api("openmart.company.enrich", {'website': 'https://bluebottlecoffee.com', 'location': [{'country': 'US'}]})
```

```text MCP theme={null}
call_data_api(endpoint="openmart.company.enrich", params={"website": "https://bluebottlecoffee.com", "location": [{"country": "US"}]})
```

> [!NOTE]
>
> * A read over POST. Rows have the same shape as businesses.search.

### Search brands

POST

`/api/v2/brands/search`

`openmart.brands.search`

Brands (all stores sharing one business identity), deduplicated at company level; filter by term, location, store count and ownership type.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`search_param`</td><td>object</td><td>body</td><td>\{search\_term, location \[\{country, state, city}], num\_stores \[\{ge, gt, le, lt}], ownership\_type \[INDEPENDENT, FAMILY, FRANCHISE, CHAIN]}. Location defaults to US when left out. Example `{"search_term": "coffee shop", "location": [{"country": "US", "state": "CA"}]}`</td></tr>

    <tr>
      <td>
        `pagination`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        \{limit (default 100, max 500), encoded\_cursor from the previous response}.
      </td>
    </tr>

    <tr>
      <td>
        `estimate_total`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Also return an approximate total.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://app.openmart.com/api-docs/search-brands) · Same job: [Adzuna](https://docs.webrouter.net/data-apis/adzuna.md#adzuna-companies-top), [AI Ark](https://docs.webrouter.net/data-apis/aiark.md#aiark-company-search), [Airscale](https://docs.webrouter.net/data-apis/airscale.md#airscale-companies-search), [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-company-search), [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-symbol-search), [Apollo.io](https://docs.webrouter.net/data-apis/apollo.md#apollo-organizations-search)

```python Python theme={null}
router.call_data_api("openmart.brands.search", {'search_param': {'search_term': 'coffee shop', 'location': [{'country': 'US', 'state': 'CA'}]}})
```

```text MCP theme={null}
call_data_api(endpoint="openmart.brands.search", params={"search_param": {"search_term": "coffee shop", "location": [{"country": "US", "state": "CA"}]}})
```

> [!NOTE]
>
> * A read over POST.
> * The response has encoded\_cursor for the next page; empty on the last page.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.