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

# perpetual.(instrument_name).(interval) 

> Provide current interest rate - but only for **perpetual** instruments. Other types won't generate any notification.



## AsyncAPI

````yaml api-reference/coinbase-deribit-app-api/adv-starbase-asyncapi.json perpetual.(instrument_name).(interval)
id: perpetual.(instrument_name).(interval)
title: 'perpetual.(instrument_name).(interval) '
description: >-
  Provide current interest rate - but only for **perpetual** instruments. Other
  types won't generate any notification.
servers:
  - id: public
    protocol: wss
    host: streams.drb.coinbase.com/ws/api/v2
    bindings: []
    variables: []
address: perpetual.{instrument_name}.{interval}
parameters:
  - id: instrument_name
    jsonSchema:
      type: string
      description: The name of the instrument
    description: The name of the instrument
    type: string
    required: true
    deprecated: false
  - id: interval
    jsonSchema:
      type: string
      description: >-
        Frequency of notifications. Events will be aggregated over this
        interval. The value `raw` selects the finest granularity - events are
        aggregated over a 1 millisecond interval **(Please note that `raw`
        interval is only available to authorized users)**


        **Allowed values:** `raw`, `100ms`, `agg2`
      enum:
        - 100ms
        - agg2
        - raw
    description: >-
      Frequency of notifications. Events will be aggregated over this interval.
      The value `raw` selects the finest granularity - events are aggregated
      over a 1 millisecond interval **(Please note that `raw` interval is only
      available to authorized users)**


      **Allowed values:** `raw`, `100ms`, `agg2`
    type: string
    required: true
    deprecated: false
bindings: []
operations:
  - &ref_1
    id: receive_perpetual_instrument_name_interval_updates
    title: Receive perpetual updates
    description: Client receives perpetual update notifications
    type: receive
    messages:
      - &ref_3
        id: subscribe_request
        contentType: application/json
        payload:
          - name: Subscription Request
            description: >-
              Client sends subscription request to subscribe to notification
              channel. Please refer to [Notification
              page](https://deribit.mintlify.app/articles/notifications) for
              more information.
            type: object
            properties:
              - name: id
                type: integer
                description: Client request id, echoed in the response.
                required: true
              - name: jsonrpc
                type: string
                description: JSON-RPC version. Always `2.0`.
                required: true
              - name: method
                type: string
                description: '`public/subscribe` on the public WebSocket.'
                enumValues:
                  - public/subscribe
                required: true
              - name: params
                type: object
                required: true
                properties:
                  - name: channels
                    type: array
                    description: >-
                      Stream names to subscribe to, for example
                      `quote.BTC-PERPETUAL`.
                    required: true
                    properties:
                      - name: item
                        type: string
                        required: false
        headers: []
        jsonPayloadSchema:
          additionalProperties: false
          properties:
            id:
              default: 42
              description: Client request id, echoed in the response.
              type: integer
              x-parser-schema-id: <anonymous-schema-237>
            jsonrpc:
              default: '2.0'
              description: JSON-RPC version. Always `2.0`.
              type: string
              x-parser-schema-id: <anonymous-schema-238>
            method:
              default: public/subscribe
              description: '`public/subscribe` on the public WebSocket.'
              enum:
                - public/subscribe
              type: string
              x-parser-schema-id: <anonymous-schema-239>
            params:
              additionalProperties: false
              properties:
                channels:
                  default:
                    - perpetual.BTC-PERPETUAL.100ms
                  description: >-
                    Stream names to subscribe to, for example
                    `quote.BTC-PERPETUAL`.
                  items:
                    type: string
                    x-parser-schema-id: <anonymous-schema-242>
                  type: array
                  x-parser-schema-id: <anonymous-schema-241>
              required:
                - channels
              type: object
              x-parser-schema-id: <anonymous-schema-240>
          required:
            - id
            - jsonrpc
            - method
            - params
          type: object
          x-parser-schema-id: <anonymous-schema-236>
        title: Subscription Request
        description: >-
          Client sends subscription request to subscribe to notification
          channel. Please refer to [Notification
          page](https://deribit.mintlify.app/articles/notifications) for more
          information.
        example: |-
          {
            "id": 42,
            "jsonrpc": "2.0",
            "method": "public/subscribe",
            "params": {
              "channels": [
                "perpetual.BTC-PERPETUAL.100ms"
              ]
            }
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: subscribe_request
    bindings: []
    extensions: &ref_0
      - id: x-parser-unique-object-id
        value: perpetual.(instrument_name).(interval)
  - &ref_2
    id: send_subscribe_perpetual_instrument_name_interval
    title: Send subscribe request for perpetual
    description: Client sends subscription request for perpetual updates
    type: send
    messages:
      - &ref_4
        id: subscription_message
        contentType: application/json
        payload:
          - name: Subscription Notification Data
            description: Server sends subscription notification data
            type: object
            properties:
              - name: data
                type: object
                required: true
                properties:
                  - name: index_price
                    type: number
                    description: Current index price
                    required: true
                  - name: interest
                    type: number
                    description: Current interest
                    required: true
                  - name: timestamp
                    type: integer
                    description: The timestamp (milliseconds since the Unix epoch)
                    required: true
        headers: []
        jsonPayloadSchema:
          additionalProperties: false
          description: Response containing notification data
          properties:
            data:
              additionalProperties: false
              properties:
                index_price:
                  description: Current index price
                  example: 8247.27
                  type: number
                  x-parser-schema-id: <anonymous-schema-245>
                interest:
                  description: Current interest
                  type: number
                  x-parser-schema-id: <anonymous-schema-246>
                timestamp:
                  description: The timestamp (milliseconds since the Unix epoch)
                  example: 1536569522277
                  type: integer
                  x-parser-schema-id: <anonymous-schema-247>
              required:
                - index_price
                - interest
                - timestamp
              type: object
              x-parser-schema-id: <anonymous-schema-244>
          required:
            - data
          type: object
          x-parser-schema-id: <anonymous-schema-243>
        title: Subscription Notification Data
        description: Server sends subscription notification data
        example: |-
          {
            "data": {
              "index_price": 7872.88,
              "interest": 0.004999511380756577,
              "timestamp": 1571386349530
            }
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: subscription_message
    bindings: []
    extensions: *ref_0
sendOperations:
  - *ref_1
receiveOperations:
  - *ref_2
sendMessages:
  - *ref_3
receiveMessages:
  - *ref_4
extensions:
  - id: x-parser-unique-object-id
    value: perpetual.(instrument_name).(interval)
securitySchemes: []

````