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

# Get a country



## OpenAPI

````yaml GET /countries/{id}
openapi: 3.1.0
info:
  title: Ceibo API
  description: >-
    Travel platform data API: countries, cities, points of interest, walking
    tours, and entry requirements.
  version: 1.0.0
  contact:
    name: Ceibo Support
    email: support@ceibo.me
    url: https://developer.ceibo.me
servers:
  - url: https://api.ceibo.me/v1
    description: Production
security:
  - apiKey: []
paths:
  /countries/{id}:
    get:
      summary: Get a country by id
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: The country.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Country'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    Country:
      type: object
      required:
        - id
        - name
        - iso2
      properties:
        id:
          type: integer
          example: 10
        name:
          type: string
          example: Argentina
        iso2:
          type: string
          minLength: 2
          maxLength: 2
          example: AR
        iso3:
          type:
            - string
            - 'null'
          minLength: 3
          maxLength: 3
          example: ARG
        localName:
          type:
            - string
            - 'null'
          example: República Argentina
        continent:
          type:
            - string
            - 'null'
          enum:
            - Africa
            - Antarctica
            - Asia
            - Europe
            - North America
            - Oceania
            - South America
            - null
          example: South America
        officialVisaPage:
          type:
            - string
            - 'null'
          example: https://www.argentina.gob.ar/interior/migraciones
        primaryLanguageId:
          type:
            - integer
            - 'null'
          example: 1
        holidaysWebsiteUrl:
          type:
            - string
            - 'null'
          example: https://www.argentina.gob.ar/feriados
        officialWebsiteUrl:
          type:
            - string
            - 'null'
          example: https://www.argentina.gob.ar
    Error:
      type: object
      required:
        - statusCode
        - code
        - message
        - timestamp
        - path
      properties:
        statusCode:
          type: integer
          example: 404
        code:
          type: string
          example: NOT_FOUND
        message:
          type: string
          example: Country with id 9999 not found
        timestamp:
          type: string
          format: date-time
          example: '2026-04-30T10:00:00.000Z'
        path:
          type: string
          example: /v1/countries/9999
  responses:
    Unauthorized:
      description: Missing, malformed, revoked, or unknown API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource does not exist.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API key minted at developer.ceibo.me. Send on every request.

````