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

# Ranking distribution overview

> Get an aggregate ranking overview for the project including: keyword count by position bucket (top 3/10/20/50/100), average position, and last check timestamp.



## OpenAPI

````yaml https://api.surnex.io/openapi.json get /v1/projects/{project_id}/tracking/overview
openapi: 3.1.0
info:
  title: Surnex API
  description: |-
    Surnex SEO Platform API — api.surnex.io

    Provides the complete backend for the Surnex SEO dashboard including:
    - Multi-tenant organization management
    - Project tracking (domains)
    - Keyword rank tracking (Phase 1+)
    - Backlink analysis (Phase 3+)
    - Site auditing (Phase 4+)
    - Stripe billing integration
    - MCP endpoint for AI agents at /mcp
  version: 0.1.0
servers: []
security: []
paths:
  /v1/projects/{project_id}/tracking/overview:
    get:
      tags:
        - Rank Tracking
      summary: Ranking distribution overview
      description: >-
        Get an aggregate ranking overview for the project including: keyword
        count by position bucket (top 3/10/20/50/100), average position, and
        last check timestamp.
      operationId: get_ranking_overview_v1_projects__project_id__tracking_overview_get
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Project Id
        - name: as_of_date
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date
              - type: 'null'
            description: Date for snapshot (defaults to today, YYYY-MM-DD)
            title: As Of Date
          description: Date for snapshot (defaults to today, YYYY-MM-DD)
        - name: X-API-Key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIResponse_RankingOverviewResponse_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    APIResponse_RankingOverviewResponse_:
      properties:
        success:
          type: boolean
          title: Success
          default: true
        data:
          anyOf:
            - $ref: '#/components/schemas/RankingOverviewResponse'
            - type: 'null'
      type: object
      title: APIResponse[RankingOverviewResponse]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    RankingOverviewResponse:
      properties:
        project_id:
          type: string
          format: uuid
          title: Project Id
        total_tracked:
          type: integer
          title: Total Tracked
          description: Total number of active tracked keywords.
        as_of_date:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: As Of Date
          description: The date these distribution numbers reflect.
        distribution:
          $ref: '#/components/schemas/RankingDistribution'
        average_position:
          anyOf:
            - type: number
            - type: 'null'
          title: Average Position
          description: Average position across all ranking keywords (excludes not-ranking).
        last_check_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Check At
          description: Timestamp of the most recent rank check for this project.
      type: object
      required:
        - project_id
        - total_tracked
        - distribution
      title: RankingOverviewResponse
      description: Aggregate ranking overview for a project.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    RankingDistribution:
      properties:
        top_3:
          type: integer
          title: Top 3
          description: Keywords ranking in positions 1–3.
        top_10:
          type: integer
          title: Top 10
          description: Keywords ranking in positions 4–10.
        top_20:
          type: integer
          title: Top 20
          description: Keywords ranking in positions 11–20.
        top_50:
          type: integer
          title: Top 50
          description: Keywords ranking in positions 21–50.
        top_100:
          type: integer
          title: Top 100
          description: Keywords ranking in positions 51–100.
        not_ranking:
          type: integer
          title: Not Ranking
          description: Keywords not in top 100 or unchecked.
      type: object
      required:
        - top_3
        - top_10
        - top_20
        - top_50
        - top_100
        - not_ranking
      title: RankingDistribution
      description: Breakdown of tracked keywords by SERP position bucket.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````