# Search Places — `POST /v1/places/search`

Source: https://coldiq.com/marketplace/docs/gtm-verbs/places-search

- **API**: ColdIQ API (OpenAPI 0.1.0)
- **Provider / tag**: ColdIQ
- **Endpoint**: `POST https://api.coldiq.com/v1/places/search`
- **Credits**: Not published in the spec — many managed verbs charge on success only; see the description
- **Auth**: `Authorization: Bearer <COLDIQ_API_KEY>` (HTTP bearer). Keys are created at https://coldiq.com/marketplace/settings/api-keys
- **Rate limits**: 120 requests/minute and 3000 requests/hour per API key. Over the limit the API returns `429` with `retry_after_seconds` in the body.
- **Also send**: `Content-Type: application/json` and an identifying `User-Agent` (some default client agents are blocked at the edge and get a bare `403`).

## Description

Find local businesses or places by category and geography. A call whose estimate (the price of the source it runs first, times the rows it asks for, with that source's minimum) is 25 credits or more, or above half of the balance, answers 409 `spend_confirmation_required` at 0 credits with the source, the price and the estimate, until the call carries `max_credits` at or above the estimate. `estimate_only: true` inside input returns the same estimate at 0 credits. Without `max_credits`, a later source of the waterfall whose least charge for the call is 25 credits or more is not tried: the answer names it in `sources_skipped_for_spend` with its estimate, and `max_credits` of at least that estimate lets it run. When the sources tried give no result, that answer is the same 409 `spend_confirmation_required` with `confirm_with_max_credits`.

## Request

### Body (application/json, required)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `input` | object | no | Single input — synchronous. |
| `input.query` | string | no | Free-text query, e.g. "coffee shops in Brooklyn". |
| `input.country` | string | no | Country as an ISO-2 code or English name, e.g. "US". Openmart covers US, CA, AU, PR and NZ only. |
| `input.city` | string | no | City name, e.g. "Brooklyn". |
| `input.limit` | integer | no | Most places to return (1 to 200, default 25). (min 1; max 200; default 25) |
| `input.state` | string | no | Openmart only. |
| `input.zip_code` | string | no | Openmart only. |
| `input.lat` | number | no | Openmart only. |
| `input.long` | number | no | Openmart only. |
| `input.geo_radius` | integer | no | Openmart only. Meters. (min 0) |
| `input.tags` | array<string> | no | Openmart only. |
| `input.min_overall_rating` | number | no | Openmart only. Lowest overall rating of the place, 0 to 5. (min 0; max 5) |
| `input.max_overall_rating` | number | no | Openmart only. Highest overall rating of the place, 0 to 5. (min 0; max 5) |
| `input.min_total_reviews` | integer | no | Openmart only. Fewest reviews the place has. (min 0) |
| `input.max_total_reviews` | integer | no | Openmart only. Most reviews the place has. (min 0) |
| `input.ownership_type` | string (enum) | no | Openmart only. (one of: INDEPENDENT, FAMILY, FRANCHISE, CHAIN) |
| `input.min_locations` | integer | no | Openmart only. Fewest locations (stores) the business has; each record returns its count as num_stores. (min 0) |
| `input.max_locations` | integer | no | Openmart only. Most locations (stores) the business has. (min 0) |
| `input.has_website` | boolean | no | Openmart only. |
| `input.has_valid_website` | boolean | no | Openmart only. |
| `input.has_contact_info` | boolean | no | Openmart only. |
| `input.min_price_tier` | integer | no | Openmart only. |
| `input.max_price_tier` | integer | no | Openmart only. |
| `input.include_keywords` | array<string> | no | Openmart only. |
| `input.exclude_keywords` | array<string> | no | Openmart only. |
| `input.exclude_root_domains` | array<string> | no | Openmart only. |
| `input.start_urls` | array<string> | no | Google Maps only. |
| `input.include_opening_hours` | boolean | no | Google Maps only. |
| `input.include_additional_info` | boolean | no | Google Maps only. |
| `input.language` | string | no | Google Maps only. |
| `input.estimate_only` | boolean | no | Return the source, its price and the estimated credits of this call at 0 credits, without searching. A call whose estimate is 25 credits or more, or above half of the balance, runs only with `max_credits` at or above it. |
| `inputs` | array<object> | no | Bulk mode — up to 50 records in ONE request, run in parallel (provide either `input` or `inputs`, never both). Prefer this over a loop of single calls. RATE LIMIT: the whole batch is ONE request against your per-account limit, however many rows it holds — the per-row provider calls run internally and are not counted. So 50 rows sent as one batch cost 1 request, while the same 50 rows sent one at a time cost 50. PARTIAL FAILURE: a row that finds nothing, or whose provider errors, never fails the batch — every row is still attempted, the call returns 200, and that row carries its own error in its `results[]` entry. Two whole-batch failures exist: 400 if ANY row fails schema validation (the array is validated before the batch runs, so no row is attempted — clean your rows first), and 402 when EVERY row ran out of credits. ORDER: `results[]` is index-aligned with `inputs[]` — `results[i]` is always the outcome of `inputs[i]`, regardless of which row finished first. SPEND CAP: `max_credits` applies PER ROW, not per batch — a cap of 5 on a 50-row batch permits up to 5 credits for each row. TIMEOUT: the batch runs under one wall-clock budget, so a very large batch of slow lookups can return with later rows marked `timed_out` (those are refunded); re-send only those rows. |
| `inputs[].query` | string | no | Free-text query, e.g. "coffee shops in Brooklyn". |
| `inputs[].country` | string | no | Country as an ISO-2 code or English name, e.g. "US". Openmart covers US, CA, AU, PR and NZ only. |
| `inputs[].city` | string | no | City name, e.g. "Brooklyn". |
| `inputs[].limit` | integer | no | Most places to return (1 to 200, default 25). (min 1; max 200; default 25) |
| `inputs[].state` | string | no | Openmart only. |
| `inputs[].zip_code` | string | no | Openmart only. |
| `inputs[].lat` | number | no | Openmart only. |
| `inputs[].long` | number | no | Openmart only. |
| `inputs[].geo_radius` | integer | no | Openmart only. Meters. (min 0) |
| `inputs[].tags` | array<string> | no | Openmart only. |
| `inputs[].min_overall_rating` | number | no | Openmart only. Lowest overall rating of the place, 0 to 5. (min 0; max 5) |
| `inputs[].max_overall_rating` | number | no | Openmart only. Highest overall rating of the place, 0 to 5. (min 0; max 5) |
| `inputs[].min_total_reviews` | integer | no | Openmart only. Fewest reviews the place has. (min 0) |
| `inputs[].max_total_reviews` | integer | no | Openmart only. Most reviews the place has. (min 0) |
| `inputs[].ownership_type` | string (enum) | no | Openmart only. (one of: INDEPENDENT, FAMILY, FRANCHISE, CHAIN) |
| `inputs[].min_locations` | integer | no | Openmart only. Fewest locations (stores) the business has; each record returns its count as num_stores. (min 0) |
| `inputs[].max_locations` | integer | no | Openmart only. Most locations (stores) the business has. (min 0) |
| `inputs[].has_website` | boolean | no | Openmart only. |
| `inputs[].has_valid_website` | boolean | no | Openmart only. |
| `inputs[].has_contact_info` | boolean | no | Openmart only. |
| `inputs[].min_price_tier` | integer | no | Openmart only. |
| `inputs[].max_price_tier` | integer | no | Openmart only. |
| `inputs[].include_keywords` | array<string> | no | Openmart only. |
| `inputs[].exclude_keywords` | array<string> | no | Openmart only. |
| `inputs[].exclude_root_domains` | array<string> | no | Openmart only. |
| `inputs[].start_urls` | array<string> | no | Google Maps only. |
| `inputs[].include_opening_hours` | boolean | no | Google Maps only. |
| `inputs[].include_additional_info` | boolean | no | Google Maps only. |
| `inputs[].language` | string | no | Google Maps only. |
| `inputs[].estimate_only` | boolean | no | Return the source, its price and the estimated credits of this call at 0 credits, without searching. A call whose estimate is 25 credits or more, or above half of the balance, runs only with `max_credits` at or above it. |
| `provider` | string \| array<string> | no | Provider routing. "auto" (default) runs a managed waterfall; a single slug pins one vendor; an array is your ordered fallback chain. Valid slugs for this verb: "scrappa-maps", "openmart", "google_maps". These are routing slugs, not catalog provider names — a slug is often the vendor plus the capability it serves (the catalog lists "limadata"; this field takes "limadata-work-email"). An unrecognized slug returns 400 and lists the accepted set. |
| `max_credits` | number | no | Per-record spend cap. A provider that would hold more than this for the record up front is not called, and a provider that answers but costs more than this is rejected and refunded, so you never pay more than N credits for one record (a miss if nothing answers in budget). A search that finds nobody costs 0. Charges a provider makes after it answers (for example per contact delivered later) are not covered. Useful to keep a single pricey provider from dominating a large fan-out. (min 0) |
| `soft_miss` | boolean | no | Return a miss as HTTP 200 `{ "found": false, "verdict": "not_found", "providers_tried": N }` instead of 404. Use it when a 404 is indistinguishable from a real failure in your client (spreadsheet tools paint every non-2xx cell red, and "re-run the errored cells" then re-executes whole provider waterfalls for rows that will miss again). The verdict vocabulary matches the async sibling `/v1/jobs/{job_id}/results`. The charge is the same either way (for find_email a miss can keep a verification fee). Only the "no provider had it" 404 converts — 400 (invalid input), 402 (out of credits) and 504 (`timed_out`, the waterfall was cut short so the miss is unproven) are unchanged. Default false. |

## Example request

```bash
curl -X POST "https://api.coldiq.com/v1/places/search" \
  -H "Authorization: Bearer YOUR_COLDIQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"query":"marketing agencies in New York"}}'
```

Request body:

```json
{
  "input": {
    "query": "marketing agencies in New York"
  }
}
```

## Responses

| Status | Meaning |
| --- | --- |
| `200` | Search Places — also the status of a miss when `soft_miss: true` was sent (body: `{ found: false, verdict: "not_found", providers_tried: N }`). |
| `400` | Invalid envelope, unrecognized field, out-of-range value, or unrecognized provider. Validation failures carry `code: "invalid_input"` and `issues[]` with a field `path` and the allowed value or range. |
| `401` | Unauthorized |
| `402` | Insufficient credits |
| `404` | No usable result found across providers. Send `soft_miss: true` to receive this as a 200 `{ found: false }` instead. |
| `409` | The estimate of the source the call runs first is 25 credits or more, or more than half of the balance. Nothing is charged. The body (`code: "spend_confirmation_required"`) carries `source`, `unit`, `credits_per_unit` (and `credits_per_call` for a source with a fixed fee per search), `rows_requested`, `estimated_credits`, `credit_balance`, and `confirm_with_max_credits`; send the call again with `max_credits` at or above that value after the user approves, or ask for fewer rows. `estimate_only: true` inside input returns the same estimate as a 200 at 0 credits. |
| `429` | Rate limit exceeded — see the Retry-After header and the `limits` object in the body. A bulk `inputs[]` call counts as ONE request, so batching is the fix for a throttled loop. |
| `502` | Provider error |

### `200` response shape

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | any \| null | no | Normalized, provider-agnostic result (single calls). |
| `_meta` | object | no | Provenance: which provider answered, credits charged, latency, and `attempts` — the per-attempt receipt. Each entry is `{provider, provider_name, capability, result, charged, latency_ms}`, in waterfall order, and the `charged` column sums to `credits_charged`, so the total is verifiable rather than assumed. `result` is hit \| miss \| error \| rejected (a `rejected` entry carries a `reason`). A losing attempt in the main waterfall reports `charged: 0` with its refunded gross in `refunded` — charge-on-success means you never pay for it. A provider that exceeds its time limit is cancelled and its hold refunded before the response is built. If it has not settled by then, its entry carries `settlement: "pending"` and the response carries `X-ColdIQ-Credits-Settlement: pending`: the provider still holds credits, they are refunded in full when it finishes, and `X-ColdIQ-Credits-Charged` already excludes them. A `capability: "verify_email"` entry on a find_email response is the verify-on-hit hop: that check was performed, so its fee is kept and it is why `credits_charged` can exceed the winning finder’s list price. An entry with `cached: true` was answered from your account’s stored result of an earlier check of the same email: no provider call, charged 0. On an auto-routed miss the provider names are anonymized, exactly as `providers_tried` is. |
| `results` | array<any \| null> | no | Per-input results (bulk calls). |
| `found` | boolean (enum) | no |  (one of: false) |
| `verdict` | string (enum) | no |  (one of: not_found, unconfirmed) |
| `providers_tried` | integer | no |  |
| `reason` | string | no |  |
| `providers_skipped_for_budget` | integer | no |  |
| `providers_skipped_for_breaker` | integer | no |  |
| `match_status` | string (enum) | no |  (one of: mismatch, unconfirmed) |
| `candidates` | array<any \| null> | no |  |
| `employer_resolution` | object | no |  |
| `coldiq_data_only` | boolean | no |  |
| `verify_credits_charged` | number | no |  |

Example response:

```json
{
  "data": null,
  "_meta": {},
  "results": [
    null
  ],
  "found": false,
  "verdict": "string",
  "providers_tried": 0,
  "reason": "string",
  "providers_skipped_for_budget": 0,
  "providers_skipped_for_breaker": 0,
  "match_status": "string",
  "candidates": [
    null
  ],
  "employer_resolution": {},
  "coldiq_data_only": false,
  "verify_credits_charged": 0
}
```

## Errors

Error bodies are JSON with an `error` message. `401` means the key is invalid, `402` means the workspace is out of credits, `429` means the rate limit was hit. A bare `403` with no body is a Cloudflare edge block — set a `User-Agent`.

---

Generated from the live ColdIQ OpenAPI spec (https://api.coldiq.com/openapi.json). Playground: https://coldiq.com/marketplace/apis/coldiq?ep=post:/v1/places/search

## Try ColdIQ free

ColdIQ gives new accounts up to 1,450 free credits as they get started, no credit card required.
One subscription covers 40+ B2B data providers for finding, enriching and verifying
contacts and companies, through the web app, the API or the MCP server for AI agents.

1. Create an account: https://coldiq.com/marketplace/sign-up?utm_source=ai-assistant&utm_medium=markdown&utm_content=docs-gtm-verbs-places-search
2. Run a first search on your own market with the free credits.
3. Connect the MCP server to Claude, ChatGPT or Cursor: https://coldiq.com/mcp
