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

# List Locations

> Returns data center locations that are available for ordering. Coming soon locations are hidden. Each location includes `out_of_stock`, which is true when no visible plan can currently be provisioned there because of plan stock, node capacity, or IP availability.



## OpenAPI

````yaml GET /locations
openapi: 3.0.3
info:
  title: CloudBlast API
  description: >-
    The CloudBlast V2 API provides a modern RESTful interface for managing your
    cloud infrastructure programmatically. All responses follow a consistent `{
    "data": ... }` or `{ "error": ... }` format.
  version: 2.0.0
servers:
  - url: https://console.cloudblast.io/api/v2
    description: Production
security:
  - bearerAuth: []
paths:
  /locations:
    get:
      tags:
        - Locations
      summary: List locations
      description: >-
        Returns data center locations that are available for ordering. Coming
        soon locations are hidden. Each location includes `out_of_stock`, which
        is true when no visible plan can currently be provisioned there because
        of plan stock, node capacity, or IP availability.
      operationId: listLocations
      responses:
        '200':
          description: Location list
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Location'
        '401':
          $ref: '#/components/responses/Unauthenticated'
components:
  schemas:
    Location:
      type: object
      properties:
        id:
          type: integer
          example: 1
        short_code:
          type: string
          example: AMS1
        description:
          type: string
          nullable: true
          example: Amsterdam, Netherlands
        out_of_stock:
          type: boolean
          description: >-
            Whether this location currently has no provisionable plans. Resource
            capacity checks honor node bypass settings, but IP availability is
            still required.
          example: false
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Machine-readable error code
            message:
              type: string
              description: Human-readable error message
          required:
            - code
            - message
  responses:
    Unauthenticated:
      description: Authentication failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: UNAUTHENTICATED
              message: >-
                Missing or invalid Authorization header. Use: Authorization:
                Bearer <token>
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API token from your CloudBlast account settings. Pass as `Authorization:
        Bearer <token>`.

````