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

# Get Country



## OpenAPI

````yaml get /countries/{idOrCode}
openapi: 3.0.3
info:
  title: Monime API
  description: Monime REST API. Please visit https://docs.momime.io/api for more details.
  termsOfService: https://monime.io/legal/terms-of-service
  contact:
    name: Monime Developers
    url: https://github.com/monimesl
    email: dev@monime.io
  version: '2024-08-01'
servers:
  - url: https://api.monime.io/
security:
  - bearerAuth: []
paths:
  /countries/{idOrCode}:
    get:
      tags:
        - Country
      summary: Get Country
      operationId: GetCountry
      parameters:
        - name: idOrCode
          in: path
          description: The id or country code for the country.
          required: true
          schema:
            type: string
            description: The id or country code for the country.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    description: >-
                      Represents the status of the query operation, confirming
                      if it was successful. This field is always true
                  messages:
                    type: array
                    items: {}
                    description: >-
                      Contains a list of messages providing relevant information
                      or feedback related to the query or operation
                  result:
                    $ref: '#/components/schemas/Country'
components:
  schemas:
    Country:
      type: object
      properties:
        id:
          type: string
          description: The ID of the country.
          example: cnt-TJh76H8hj778hftdtu66gjio
        code:
          type: string
          description: The ISO 3166-1 alpha-2 country code.
          example: SL
        name:
          type: string
          description: The name of the country.
          example: Sierra Leone
        currency:
          type: object
          properties:
            code:
              type: string
              description: The ISO 4217 currency code.
              example: SLE
            unit:
              type: string
              description: The subunit for the currency.
              example: cent
            unitLength:
              type: integer
              description: The unit length for the currency's subunit.
              example: 2
          description: The default currency object of the country.
        supportedCurrencies:
          type: array
          items:
            type: string
          description: >-
            The list supported currency codes in ISO 4217 format in that
            country. It includes the default currency's code.
          nullable: true
          example:
            - SLE
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: auth-scheme
      description: >-
        Bearer HTTP authentication specified with the header Authorization:
        Bearer <access_token>

````