---
title: "Companies at a postcode"
method: GET
path: "/company/postcode/{postcode}"
tags: ["Companies"]
---

# Companies at a postcode

`GET /company/postcode/{postcode}`

## Request

- Base URL: `https://api.companystack.co.uk`
- URL: `https://api.companystack.co.uk/company/postcode/{postcode}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`

Companies whose registered office is at exactly this postcode, in name order. Give the whole postcode, with or without its space (`EC2R8AH` or `EC2R 8AH`): part of a postcode matches nothing here. For a postcode area, district or sector use `GET /company/search?postcode=`, and for companies near a postcode `GET /postcodes/nearby`.

## Path parameters

- `postcode` string, required

## Query parameters

- `limit` integer
- `offset` integer

## Response `200`

The postcode as matched, `total`, `limit`, `offset` and the companies in `results`

## Other responses

- `401`: API key missing, malformed or revoked
- `403`: The key's plan does not include this endpoint (`code: plan_upgrade_required`, with `upgrade_url`), the key may not call it, or the key is beyond the plan's key limit after a downgrade (`code: key_limit_exceeded`: the newest keys are paused until keys are deleted or the plan upgraded)
- `429`: Per-minute or per-day limit reached (`code: rate_limited`, `window: minute|day`). Wait `Retry-After` seconds; when both windows are full the day is reported. A refused request does not count against either limit. A bulk lookup (`POST /company/bulk`) counts each company number in it as one request, so one that is more than you have left is refused whole, and the body adds `requested` and `fits`.

---

[API](https://skmtc.dev/companystack/apis/companystack-api.md) · [All operations](https://skmtc.dev/companystack/apis/companystack-api/llms.txt) · [OpenAPI document](https://skmtc.dev/companystack/apis/companystack-api/revisions/8f3234237d2d?raw)
