---
title: "Retrieve the list of styles available from this service."
method: GET
path: "/collections/{collectionId}/styles"
tags: ["Styles"]
---

# Retrieve the list of styles available from this service.

`GET /collections/{collectionId}/styles`

## Request

- Base URL: `https://api.os.uk/maps/vector/ngd/ota/v1`
- URL: `https://api.os.uk/maps/vector/ngd/ota/v1/collections/{collectionId}/styles`
- Auth: none declared

## Path parameters

- `collectionId` 'ngd-base' | 'asu-bdy' | 'wtr-ctch' | 'trn-ntwk-railway' | 'wtr-tidalboundary', required

## Response `200`

List of available styles.

- GetStylesList200Response
  - `links` Link[]
    - `href` string, required: Supplies the URI to a remote resource (or resource fragment).
    - `rel` string, required: The type or semantics of the relation.
    - `type` string: A hint indicating what the media type of the result of dereferencing the link should be.
    - `templated` boolean: This flag set to true if the link is a URL template.
    - `varBase` string: A base path to retrieve semantic information about the variables used in URL template.
    - `hreflang` string: A hint indicating what the language of the result of dereferencing the link should be.
    - `title` string: Used to label the destination of a link such that it can be used as a human-readable identifier.
    - `length` integer
  - `styles` StyleItem[], required
    - `id` string, required
    - `title` string
    - `links` Link[], required
      - `href` string, required: Supplies the URI to a remote resource (or resource fragment).
      - `rel` string, required: The type or semantics of the relation.
      - `type` string: A hint indicating what the media type of the result of dereferencing the link should be.
      - `templated` boolean: This flag set to true if the link is a URL template.
      - `varBase` string: A base path to retrieve semantic information about the variables used in URL template.
      - `hreflang` string: A hint indicating what the language of the result of dereferencing the link should be.
      - `title` string: Used to label the destination of a link such that it can be used as a human-readable identifier.
      - `length` integer

## Other responses

- `400`: The request was not supported.
- `404`: The requested resource does not exist on the server. For example, a path parameter had an incorrect value.
- `405`: The HTTP method requested is not supported. This endpoint only supports 'GET' requests.
- `406`: A request header value was not supported.
- `500`: A server error occurred.
- `504`: Gateway Timeout.

---

[API](https://skmtc.dev/ordnance-survey/apis/ngd-tiles.md) - [All operations](https://skmtc.dev/ordnance-survey/apis/ngd-tiles/llms.txt) - [OpenAPI document](https://skmtc.dev/ordnance-survey/apis/ngd-tiles/revisions/7f01b91d9389?raw)
