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

# Get top 10 domains by traffic

> Retrieves the top 10 domains by traffic for the authenticated user.



## OpenAPI

````yaml /openapi.json get /api/traffics/top-domain
openapi: 3.1.0
info:
  title: AnyIP.io API documentation
  description: >-
    The anyIP REST API allows you to programmatically manage proxy accounts,
    monitor traffic, and access geographic data. Authenticate using your API
    key.
  version: 1.0.0
servers:
  - url: https://dashboard.anyip.io
    description: anyIP Production API
security:
  - apiHeader: []
tags: []
paths:
  /api/traffics/top-domain:
    get:
      tags:
        - Traffic
      summary: Get top 10 domains by traffic
      description: Retrieves the top 10 domains by traffic for the authenticated user.
      operationId: api_trafficstop-domain.__format_get_collection
      parameters:
        - name: date[after]
          in: query
          description: Start date for the date range filter (inclusive).
          required: false
          deprecated: false
          schema:
            type: string
            format: date-time
          style: form
          explode: false
          allowReserved: false
        - name: date[before]
          in: query
          description: End date for the date range filter (inclusive).
          required: false
          deprecated: false
          schema:
            type: string
            format: date-time
          style: form
          explode: false
          allowReserved: false
        - name: proxy_account
          in: query
          description: Filter by proxy account.
          required: false
          deprecated: false
          schema:
            type: string
          style: form
          explode: false
          allowReserved: false
        - name: date[strictly_before]
          in: query
          description: ''
          required: false
          deprecated: false
          schema:
            type: string
          style: form
          explode: false
          allowReserved: false
        - name: date[strictly_after]
          in: query
          description: ''
          required: false
          deprecated: false
          schema:
            type: string
          style: form
          explode: false
          allowReserved: false
        - name: proxy_account[]
          in: query
          description: ''
          required: false
          deprecated: false
          schema:
            type: array
            items:
              type: string
          style: form
          explode: true
          allowReserved: false
      responses:
        '200':
          description: Top 10 domains by traffic
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    request_top_level_domain:
                      type: string
                    requests:
                      type: integer
                    bytes_recv:
                      type: integer
                    bytes_sent:
                      type: integer
        '403':
          description: Access denied
      deprecated: false
      security:
        - bearerAuth: []
components:
  securitySchemes:
    apiHeader:
      type: apiKey
      description: Value for the api-key header parameter.
      name: api-key
      in: header

````