> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prexsell.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List stops for a city

> Returns a paginated list of bus stops belonging to the specified city.



## OpenAPI

````yaml /docs/openapi/openapi.json get /v2/cities/{slug}/stops
openapi: 3.1.0
info:
  title: PREXSELL REST v2
  version: 5.97.1
  description: REST API for the PREXSELL bus booking management platform.
servers:
  - url: https://staging.api.prexsell.com
    description: Staging
  - url: https://api.prexsell.com
    description: Production
security: []
paths:
  /v2/cities/{slug}/stops:
    get:
      tags:
        - Cities
      summary: List stops for a city
      description: Returns a paginated list of bus stops belonging to the specified city.
      operationId: listCityStops
      parameters:
        - schema:
            type: string
            description: URL-friendly slug of the city whose stops to retrieve.
            example: kyiv
          required: true
          description: URL-friendly slug of the city whose stops to retrieve.
          name: slug
          in: path
        - schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
            description: Maximum number of items to return (1–100).
            example: 50
          required: false
          description: Maximum number of items to return (1–100).
          name: take
          in: query
        - schema:
            type:
              - integer
              - 'null'
            minimum: 0
            default: 0
            description: Number of items to skip for offset pagination.
            example: 0
          required: false
          description: Number of items to skip for offset pagination.
          name: skip
          in: query
      responses:
        '200':
          description: Paginated list of bus stops belonging to a specific city.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      stops:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            place:
                              type: string
                            type:
                              type: string
                              enum:
                                - Airport
                                - TrainStation
                                - BusStation
                                - Regular
                            latitude: {}
                            longitude: {}
                          required:
                            - id
                            - place
                            - type
                          additionalProperties: false
                      total:
                        type: integer
                        minimum: 0
                        description: >-
                          Total number of stops in this city (unpaginated
                          count).
                        example: 5
                    required:
                      - stops
                      - total
                required:
                  - data
                example:
                  data:
                    stops:
                      - id: cst1a2b3c4d5e6f7g8h9
                        place: Центральний автовокзал
                        type: BUS_STATION
                        latitude: 50.4501
                        longitude: 30.5234
                    total: 1
        '404':
          description: Standard error response body.
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        message:
                          type: string
                          example: AUTH_INVALID_CREDENTIALS
                        errorCode:
                          type: string
                          example: UNAUTHORIZED
                        details: {}
                      required:
                        - message
                required:
                  - errors
                example:
                  errors:
                    - message: RESOURCE_NOT_FOUND
                      errorCode: NOT_FOUND

````