> ## 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.

# Retrieves the collection of Traffic resources.

> Retrieves the collection of Traffic resources.



## OpenAPI

````yaml /openapi.json get /api/traffics
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:
    get:
      tags:
        - Traffic
      summary: Retrieves the collection of Traffic resources.
      description: Retrieves the collection of Traffic resources.
      operationId: api_traffics.__format_get_collection
      parameters:
        - name: date[before]
          in: query
          description: ''
          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[after]
          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: 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: Traffic collection
          content:
            application/ld+json:
              schema:
                type: object
                properties:
                  hydra:member:
                    type: array
                    items:
                      $ref: '#/components/schemas/Traffic.jsonld-read'
                  hydra:totalItems:
                    type: integer
                    minimum: 0
                  hydra:view:
                    type: object
                    properties:
                      '@id':
                        type: string
                        format: iri-reference
                      '@type':
                        type: string
                      hydra:first:
                        type: string
                        format: iri-reference
                      hydra:last:
                        type: string
                        format: iri-reference
                      hydra:previous:
                        type: string
                        format: iri-reference
                      hydra:next:
                        type: string
                        format: iri-reference
                    example:
                      '@id': string
                      type: string
                      hydra:first: string
                      hydra:last: string
                      hydra:previous: string
                      hydra:next: string
                  hydra:search:
                    type: object
                    properties:
                      '@type':
                        type: string
                      hydra:template:
                        type: string
                      hydra:variableRepresentation:
                        type: string
                      hydra:mapping:
                        type: array
                        items:
                          type: object
                          properties:
                            '@type':
                              type: string
                            variable:
                              type: string
                            property:
                              type:
                                - string
                                - 'null'
                            required:
                              type: boolean
                required:
                  - hydra:member
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Traffic-read'
            text/html:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Traffic-read'
        '403':
          description: Forbidden
      deprecated: false
components:
  schemas:
    Traffic.jsonld-read:
      type: object
      description: ''
      deprecated: false
      properties:
        '@id':
          readOnly: true
          type: string
        '@type':
          readOnly: true
          type: string
        id:
          readOnly: true
          type: string
        date:
          type: string
          format: date-time
        requests:
          type: integer
        bytes_recv:
          type: integer
        bytes_sent:
          type: integer
        consumption:
          readOnly: true
          type: integer
        consumption_str:
          readOnly: true
          type: string
    Traffic-read:
      type: object
      description: ''
      deprecated: false
      properties:
        id:
          readOnly: true
          type: string
        date:
          type: string
          format: date-time
        requests:
          type: integer
        bytes_recv:
          type: integer
        bytes_sent:
          type: integer
        consumption:
          readOnly: true
          type: integer
        consumption_str:
          readOnly: true
          type: string
  securitySchemes:
    apiHeader:
      type: apiKey
      description: Value for the api-key header parameter.
      name: api-key
      in: header

````