---
title: "Council Entity Endpoint"
method: GET
path: "/api/v1/entities/{council}"
tags: ["entities"]
---

# Council Entity Endpoint

`GET /api/v1/entities/{council}`

## Request

- Base URL: `https://statsmapped.com`
- URL: `https://statsmapped.com/api/v1/entities/{council}`
- Auth: none declared

## Path parameters

- `council` string, required

## Response `200`

Successful Response

- CouncilEntity: E4 (#748), Ireland only: one council's place-linked metrics and procurement totals. NO supplier field, by design (databeat/council_entity.py's docstring has the guards).
  - `country` string
  - `council_id` string, required
  - `name` string, required
  - `page_url` string, nullable
  - `metrics` CouncilMetric[], required
    - `country` string
    - `stat_key` string, required
    - `facet_label` string, nullable
    - `period_label` string, nullable
    - `period_date` string, nullable
    - `value` number, nullable
  - `procurement` CouncilProcurement, required
    - `country` string
    - `awards_counted` integer, required
    - `awarded_value_eur` number, required
    - `awards_without_budget_year` integer, required
    - `flagged_awards` CouncilFlaggedAward[], required
      - `country` string
      - `tender_id` string, required
      - `year` integer, nullable
      - `awarded_value_eur` number, required
      - `pct_of_same_year_budget` number, required
      - `tender_name` string, nullable
    - `flagged_value_eur_not_summed` number, required
  - `caveats` string[], required
  - `timeline` CouncilTimeline
    - `country` string
    - `window_start` string, required
    - `window_days` integer, required
    - `total` integer, required
    - `shown` integer, required
    - `by_kind` CouncilKindCount[], required
      - `country` string
      - `kind` string, required
      - `count` integer, required
    - `events` CouncilEvent[], required
      - `country` string
      - `date` string, required
      - `kind` string, required
      - `ref` string, required
      - `source` string, required
      - `href` string, nullable
    - `dropped` CouncilDropped, required
      - `country` string
      - `missing_or_implausible_date` integer, required
    - `coverage` CouncilCoverage[], required
      - `country` string
      - `source` string, required
      - `rows_attributed_to_a_council` integer, required
      - `rows` integer, required
      - `share` number, nullable
    - `coverage_note` string, required

## Other responses

- `400`: Bad request
- `401`: Missing or invalid credentials
- `403`: Not authorized for this request
- `404`: Not found
- `422`: Validation error
- `429`: Rate limited

---

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