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

# Health Check

> Check the API service health status, database connectivity, and version information

<Info>
  **Public Endpoint**: No API key required
</Info>

This endpoint is useful for:

* Monitoring API uptime
* Verifying database connectivity
* Checking API version

## Response

<ResponseField name="status" type="string">
  Service health status (`ok` or `error`)
</ResponseField>

<ResponseField name="database" type="string">
  Database connection status (`connected` or `disconnected`)
</ResponseField>

<ResponseField name="version" type="string">
  Current API version
</ResponseField>

<ResponseField name="message" type="string">
  Human-readable status message
</ResponseField>

<ResponseExample>
  ```json Response theme={null}
  {
    "timestamp": "2025-11-15T08:43:32.135Z",
    "status": "healthy",
    "version": "1.0.0",
    "message": "Mr. Doge API is operational"
  }
  ```
</ResponseExample>


## OpenAPI

````yaml /api-reference/openapi.json GET /v2/health
openapi: 3.1.0
info:
  title: Mr. Doge API
  description: >-
    Comprehensive sports betting odds, AI predictions, and live data API
    covering 8 major sports with real-time updates and value betting
    recommendations.
  version: 1.0.0
  contact:
    name: Mr. Doge Support
    email: support@mrdoge.co
    url: https://mrdoge.co
servers:
  - url: https://api.mrdoge.co
    description: Production server
security:
  - bearerAuth: []
tags:
  - name: Odds
    description: Endpoints for accessing sports events, odds, and betting markets
  - name: AI
    description: AI-powered betting recommendations and value opportunities
paths:
  /v2/health:
    get:
      tags:
        - Odds
      summary: Health Check
      description: >-
        Check the API service health status, database connectivity, and version
        information.
      responses:
        '200':
          description: Service is healthy
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: ok
                  database:
                    type: string
                    example: connected
                  version:
                    type: string
                    example: 1.0.0
      security: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Use your API key from the Mr. Doge dashboard. Format: `Bearer
        sk_live_...` or `Bearer sk_test_...`

````