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

# Get leaderboard

> Retrieves the current developer leaderboard.



## OpenAPI

````yaml get /api/v1/developers/leaderboard
openapi: 3.0.0
info:
  title: YapCoder API
  description: API for YapCoder - Developer Reputation and Analytics Platform
  version: 1.0.0
servers:
  - url: https://api.yapcoder.com
    description: Local development server
security:
  - bearerAuth: []
  - apiKeyAuth: []
tags:
  - name: healthchecks
    description: Service health and readiness checks
  - name: developers
    description: Developer management and analytics
  - name: projects
    description: Project analytics and repository details
  - name: sui
    description: Sui ecosystem packages and data
paths:
  /api/v1/developers/leaderboard:
    get:
      tags:
        - developers
      summary: Get leaderboard
      description: Retrieves the current developer leaderboard.
      operationId: Leaderboard
      responses:
        '200':
          description: The leaderboard
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ReputationScore'
        '503':
          description: Service unavailable (generating leaderboard)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ReputationScore:
      type: object
      properties:
        username:
          type: string
        score:
          type: number
          format: double
        details:
          $ref: '#/components/schemas/ReputationDetails'
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
    ReputationDetails:
      type: object
      properties:
        total_stars:
          type: integer
        total_commits:
          type: integer
        sui_repo_count:
          type: integer
        experience_days:
          type: integer
        total_size_kb:
          type: integer
        language_count:
          type: integer
        last_activity:
          type: string
        onboarded_date:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````