---
title: "City by ID"
method: GET
path: "/core/cities/{cityId}"
tags: ["Cities"]
---

# City by ID

`GET /core/cities/{cityId}`

## Request

- Base URL: `https://api.sportmonks.com/v3`
- URL: `https://api.sportmonks.com/v3/core/cities/{cityId}`
- Auth: one of:
  - API key in query parameter `api_token`
  - API key in header `Authorization`

Returns information from your requested city ID. For more information, please visit:https://docs.sportmonks.com/football/core-api/endpoints/cities/get-city-by-id

[Sportmonks documentation](https://docs.sportmonks.com/football/core-api/endpoints/cities/get-city-by-id)

## Path parameters

- `cityId` integer, required

## Query parameters

- `include` string
- `select` string[]
- `filters` string

## Response `200`

Success.

- object
  - `data` City, required
    - `id` integer
    - `country_id` integer
    - `region_id` integer
    - `name` string
    - `latitude` string, nullable
    - `longitude` string, nullable
  - `subscription` SubscriptionInfo[]
    - `meta` SubscriptionMeta
      - `trial_ends_at` string, date-time, nullable
      - `ends_at` string, date-time, nullable
      - `current_timestamp` integer
      - `next_billing_cycle` string, nullable
    - `plans` SubscriptionPlan[]
      - `plan` string
      - `sport` string
      - `category` string
    - `add_ons` SubscriptionAddOn[]: Add-ons / trialing features for this account. Empty when none are attached.
      - `add_on` string: Add-on name; may include a trial-end suffix like ' - Trialing until 2026-05-31 13:19:52'.
      - `sport` string
      - `category` string: Add-on category (Predictions, Team rankings, Calls, …).
    - `widgets` SubscriptionWidget[]: Widget entitlements for this account. Empty when none are attached.
      - `widget` string: Widget name (e.g. 'Wesley van Rooij Widgets All').
      - `sport` string: Sport scope of the widget (e.g. 'Football').
  - `rate_limit` RateLimit: Rate-limit window metadata returned with every successful response.
    - `resets_in_seconds` integer
    - `remaining` integer
    - `requested_entity` string
  - `timezone` string, required

## Other responses

- `400`: Bad Request. Some part of the request is malformed.
- `401`: Unauthorized. The request is not authenticated (missing or invalid api_token).
- `403`: Forbidden. The endpoint or resource is not accessible from your subscription.
- `404`: Not Found. The endpoint or resource does not exist.
- `422`: Validation Error. Required parameters missing or malformed.
- `429`: Too Many Requests. Hourly request limit exceeded — see RateLimit metadata.
- `500`: Internal Server Error. An internal error has been logged for inspection.

---

[API](https://skmtc.dev/sportmonks/apis/sportmonks-football-api.md) - [All operations](https://skmtc.dev/sportmonks/apis/sportmonks-football-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sportmonks/apis/sportmonks-football-api/revisions/c9d56fb26b94?raw)
