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

# Get API Welcome Message

> Returns a simple welcome message, translated based on the Accept-Language header.



## OpenAPI

````yaml get /
openapi: 3.0.3
info:
  title: REST Countries API (Hono)
  description: >-
    API para obtener información sobre países del mundo, construida con Hono y
    desplegada en Cloudflare Workers.
  version: 1.0.0
servers:
  - url: http://localhost:8787
    description: Servidor de desarrollo local
  - url: https://restcountries.mcp-blockchain-metadata.workers.dev
    description: Servidor de producción (Cloudflare Workers)
security: []
paths:
  /:
    get:
      tags:
        - General
      summary: Obtener Mensaje de Bienvenida de la API
      description: >-
        Devuelve un mensaje de bienvenida simple, traducido según la cabecera
        Accept-Language.
      parameters:
        - name: Accept-Language
          in: header
          required: false
          description: Idiomas preferidos para el mensaje de respuesta (p. ej., es, fr).
          schema:
            type: string
            default: en
      responses:
        '200':
          description: Mensaje de bienvenida exitoso.
          content:
            text/plain:
              schema:
                type: string
                example: Bienvenido a la API
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  responses:
    InternalServerError:
      description: Internal Server Error - Ocurrió un error inesperado.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              status: 500
              message: Ocurrió un error interno del servidor.
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            status:
              type: integer
              format: int32
              description: El código de estado HTTP.
            message:
              type: string
              description: Un mensaje de error legible por humanos.

````