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

# Get country breakdown

> Retrieve message volume breakdown by country



## OpenAPI

````yaml GET /analytics/country-breakdown
openapi: 3.0.3
info:
  title: NativeMessage API
  version: 1.0.0
  description: Complete API documentation for NativeMessage platform
  contact:
    name: NativeMessage Support
    email: support@nativemessage.com
servers:
  - url: https://api-message.nativehub.live/api/v1
    description: Production server
security:
  - BearerAuth: []
  - ApiKeyAuth: []
paths:
  /analytics/country-breakdown:
    get:
      tags:
        - Analytics
      summary: Get country breakdown
      description: Retrieve message volume breakdown by country
      operationId: getCountryBreakdown
      parameters:
        - name: date_from
          in: query
          description: Start date for country breakdown
          schema:
            type: string
            format: date
        - name: date_to
          in: query
          description: End date for country breakdown
          schema:
            type: string
            format: date
      responses:
        '200':
          description: Country breakdown retrieved successfully
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    country_code:
                      type: string
                    country_name:
                      type: string
                    total:
                      type: integer
                    delivered:
                      type: integer
                    failed:
                      type: integer
                example:
                  - country_code: BD
                    country_name: Bangladesh
                    total: 98520
                    delivered: 95230
                    failed: 3290
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````