# Find Domain location slugs by place name: `POST /v1/domain/locations`

Cost: 1 credit (1 per lookup (no match and failed requests are free)). Docs: https://scrapercompany.com/docs/reference/domain-locations

Domain.com.au suburbs, areas and regions for a place name, from the
site's own search box, with the `slug` `POST /v1/domain/search` takes
as `location`. A trailing state or postcode narrows the match (`Surry
Hills NSW`); a bare postcode lists its suburbs. No match is free.

Request body (JSON):

- `query` (string; required; min length 2, max length 100): Suburb, area, region or postcode, e.g. `Bondi Beach`, `Surry Hills NSW`, `3000`.
- `limit` (integer; optional; default 10; min 1, max 50): Most results returned.

Base URL: `https://api.scrapercompany.com`. Auth: send your key in the `x-api-key` header. A failed request (4xx or 5xx) or an empty result costs 0 credits.

- [Full API reference as one Markdown file](https://scrapercompany.com/llms-full.txt)
- [OpenAPI spec](https://scrapercompany.com/openapi.json)
