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

# List websocket notification prices

> Public endpoint returning current websocket notification prices per chain ID and subscription type. No authentication required. Rate-limited per IP (default 30 requests per 60 seconds). Empty results return an empty JSON array.



## OpenAPI

````yaml /api-reference/openapi.json get /pricing/ws
openapi: 3.0.0
info:
  title: RouteMesh API
  version: 1.0.0
  description: >-
    HTTP API for routing JSON-RPC requests across providers, managing API keys,
    and viewing usage.
  license:
    name: Proprietary
    url: https://routeme.sh
servers:
  - url: https://api.routeme.sh
    description: API server — health, chains, API keys, usage, and public submissions
  - url: https://lb.routeme.sh
    description: RPC router (primary load balancer)
  - url: https://lb2.routeme.sh
    description: RPC router (AWS backup load balancer)
security: []
tags:
  - name: RPC
    description: Forward JSON-RPC requests to the router.
  - name: Chains
    description: Discover supported chains.
  - name: Submissions
    description: Public chain and node listing requests (rate-limited per IP).
  - name: API Keys
    description: Manage your API keys for self-service access.
  - name: Usage
    description: View your usage and billing data.
  - name: Pricing
    description: >-
      Current RPC route and websocket notification prices (public,
      rate-limited).
  - name: Health
    description: Service health checks.
paths:
  /pricing/ws:
    servers:
      - url: https://api.routeme.sh
    get:
      tags:
        - Pricing
      summary: List websocket notification prices
      description: >-
        Public endpoint returning current websocket notification prices per
        chain ID and subscription type. No authentication required. Rate-limited
        per IP (default 30 requests per 60 seconds). Empty results return an
        empty JSON array.
      operationId: getWSPrices
      parameters:
        - name: chain_id
          in: query
          description: Filter by chain ID (e.g. 1, 137, 8453).
          schema:
            type: string
          example: '1'
        - name: subscription_type
          in: query
          description: Filter by websocket subscription type (e.g. newHeads).
          schema:
            type: string
          example: newHeads
      responses:
        '200':
          description: Current websocket notification prices
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WSNotificationPrice'
              example:
                - vm: evm
                  chain_id: '1'
                  subscription_type: newHeads
                  price_per_million: 6
        '429':
          description: >-
            Rate limit exceeded (per-IP limit; default 30 requests per 60
            seconds)
        '503':
          description: Pricing data temporarily unavailable
components:
  schemas:
    WSNotificationPrice:
      type: object
      properties:
        vm:
          type: string
          enum:
            - evm
          description: Virtual machine type (currently always "evm").
        chain_id:
          type: string
          description: Numeric chain ID (e.g. "1", "137", "8453").
        subscription_type:
          type: string
          description: Websocket subscription type (e.g. "newHeads").
        price_per_million:
          type: number
          description: Price per one million notifications.
      required:
        - vm
        - chain_id
        - subscription_type
        - price_per_million
      additionalProperties: false

````