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

# Ping

> Keep-alive: call it every 30 to 60 seconds on a quiet connection. It counts against no send rate. Without a key it answers `pong`. With a key it answers the key's prefix and its tier.



## OpenAPI

````yaml /api-reference/openapi.yaml get /v1/ping
openapi: 3.1.0
info:
  title: Tracefall Sender
  version: 1.0.0
  description: >-
    The endpoints of Tracefall Sender: JSON-RPC (`POST /`, also served at Jito's
    paths `POST /api/v1/transactions` and `POST /api/v1/bundles`) and the REST
    endpoints. The WebSocket (`GET /v1/ws`) is described in the Sending guide. A
    key is optional: with none, a request is admitted at the keyless rate for
    its client address. Pass a key in `Authorization: Bearer <key>`, `x-api-key`
    or `?api-key=`. A request body is at most 16 KiB, or 64 KiB for a bundle or
    a JSON-RPC batch. Every HTTP answer to a send, status lookup (`GET
    /v1/transactions/{signature}`), or tip-floor read (`GET /v1/tip-floor`)
    carries the rate headers `x-ratelimit-limit` and `x-ratelimit-remaining`
    (and `retry-after` on a 429), and CORS lets a web page on any origin read
    them.
servers:
  - url: https://sender.tracefall.xyz
    description: Frankfurt
security: []
tags:
  - name: JSON-RPC
  - name: Sending
  - name: Tips
  - name: Status
paths:
  /v1/ping:
    get:
      tags:
        - Status
      summary: Ping
      description: >-
        Keep-alive: call it every 30 to 60 seconds on a quiet connection. It
        counts against no send rate. Without a key it answers `pong`. With a key
        it answers the key's prefix and its tier.
      operationId: ping
      parameters:
        - $ref: '#/components/parameters/ApiKeyHeader'
        - $ref: '#/components/parameters/ApiKeyQuery'
      responses:
        '200':
          description: The connection is open.
          content:
            text/plain:
              schema:
                type: string
                const: pong
            application/json:
              schema:
                $ref: '#/components/schemas/Ping'
        '401':
          $ref: '#/components/responses/Refused'
        '429':
          $ref: '#/components/responses/Refused'
        '503':
          $ref: '#/components/responses/Refused'
components:
  parameters:
    ApiKeyHeader:
      name: x-api-key
      in: header
      required: false
      description: >-
        Your key, if you have one: `tfs_` followed by 48 hex characters.
        `Authorization: Bearer <key>` works the same. Leave it out to send
        keyless.
      schema:
        type: string
    ApiKeyQuery:
      name: api-key
      in: query
      required: false
      description: >-
        Your key in the URL, for clients that can set only a URL. Prefer a
        header.
      schema:
        type: string
  schemas:
    Ping:
      type: object
      required:
        - key
        - tier
      properties:
        key:
          type: string
          description: The key's prefix.
        tier:
          type: string
          enum:
            - standard
            - plus
            - pro
            - scale
          description: The key's tier.
          example: standard
    Error:
      type: object
      required:
        - error
      properties:
        signature:
          type: string
          description: The transaction's first signature, base58, when we could read one.
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              $ref: '#/components/schemas/ErrorCode'
            message:
              type: string
              description: For people. It may change; match on `code`.
            memberIndex:
              type: integer
              minimum: 0
              maximum: 3
              description: >-
                Zero-based index of the offending transaction in a bundle
                refusal, when one member failed.
    ErrorCode:
      type: string
      enum:
        - unauthorized
        - unavailable
        - paused
        - rate_limited
        - too_large
        - not_a_transaction
        - bad_signature
        - bad_request
        - tip_missing
        - tip_too_small
        - tip_in_lookup_table
        - tip_account_retired
        - bundle_too_large
        - nonce_not_bundled
        - bundle_unavailable
        - not_found
  responses:
    Refused:
      description: Refused. `error.code` names why; see the Errors guide.
      headers:
        x-ratelimit-limit:
          $ref: '#/components/headers/RateLimit'
        x-ratelimit-remaining:
          $ref: '#/components/headers/RateRemaining'
        retry-after:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            signature: >-
              5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW
            error:
              code: tip_too_small
              message: >-
                the tip is 50,000 lamports; the minimum is 100,000 lamports
                (0.0001 SOL)
  headers:
    RateLimit:
      description: >-
        Your rate, in sends a second. Omitted on refusals before rate checks
        (401, 403, 503 while starting).
      schema:
        type: integer
    RateRemaining:
      description: >-
        What is left of your rate now. Omitted on refusals before rate checks
        (401, 403, 503 while starting).
      schema:
        type: integer
    RetryAfter:
      description: On a 429, how long to wait, in seconds.
      schema:
        type: integer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.