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

# Get Solana Transaction Status with Raptor

> Check a transaction sent through POST /send-transaction. Poll about once a second until status is no longer pending. Others return 404.

Status of a transaction sent through `POST /send-transaction`. Poll about once a second until `status` is no longer `pending`. Transactions sent elsewhere return 404.


## OpenAPI

````yaml /raptor/http/openapi.json get /transaction/{signature}
openapi: 3.0.3
info:
  title: Raptor Swap API
  description: >-
    Solana swap quotes, ready-to-sign swap transactions, transaction sending and
    status tracking. No API key is required.
  version: 1.0.0
  contact:
    name: Solana Tracker Discord
    url: https://discord.gg/JH2e9rR9fc
servers:
  - url: https://raptor.solanatracker.io
    description: Hosted Raptor
security: []
paths:
  /transaction/{signature}:
    get:
      summary: Get transaction status
      description: >-
        Status of a transaction sent through `POST /send-transaction`. Poll
        about once a second until `status` is no longer `pending`. Transactions
        sent elsewhere return 404.
      operationId: getTransaction
      parameters:
        - name: signature
          in: path
          required: true
          description: Transaction signature, base58 or base64.
          schema:
            type: string
          example: >-
            5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW
      responses:
        '200':
          description: Transaction status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransactionStatus'
              example:
                signature: >-
                  5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW
                status: confirmed
                slot: 454215402
                sent_at: 1791374181491
                confirmed_at: 1791374182103
                latency_ms: 612
                events:
                  - name: SwapEvent
                    data: …
                    parsed:
                      amountIn: 100000000
                      amountOut: 11703794
        '404':
          description: Not sent through this API, or no longer tracked
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Transaction not found.
                code: 404
        '503':
          description: Tracking is not enabled on this instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    TransactionStatus:
      type: object
      required:
        - signature
        - status
        - sent_at
      properties:
        signature:
          type: string
        status:
          type: string
          enum:
            - pending
            - confirmed
            - failed
            - expired
          description: >-
            `pending`: not landed yet. `confirmed`: landed at confirmed
            commitment. `failed`: landed with an error. `expired`: did not land
            in time.
        slot:
          type: integer
          description: Slot the transaction landed in
        sent_at:
          type: integer
          description: When it was sent, Unix ms
        confirmed_at:
          type: integer
          description: When it confirmed, Unix ms
        latency_ms:
          type: integer
          description: Time from send to confirmation, ms
        error:
          type: string
          description: Error message when `status` is `failed`
        transaction:
          type: object
          description: Full transaction with metadata, once landed
        transaction_base64:
          type: string
          description: Raw transaction, base64
        events:
          type: array
          description: Raptor program events emitted by the transaction
          items:
            $ref: '#/components/schemas/RaptorEvent'
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: What went wrong
        code:
          type: integer
          description: HTTP status code
    RaptorEvent:
      type: object
      required:
        - name
        - data
      properties:
        name:
          type: string
          description: >-
            `SwapEvent`, `SwapCompleteEvent`, `PlaceOrderEvent`,
            `FillOrderEvent`, `CancelOrderEvent` or `UpdateOrderEvent`
        data:
          type: string
          description: Raw event data, base64
        parsed:
          type: object
          additionalProperties: true
          description: Decoded event fields

````

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