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

# Parse transaction

> Fetches a Solana transaction by signature and parses it into a trade, deploy, or migration summary.
Trade responses expose a human-readable `platform` label such as `PumpFun` or `PumpSwap`.




## OpenAPI

````yaml openapi-spec/history.yaml get /api/sol/tx/parse/{signature}
openapi: 3.0.3
info:
  title: Raze Database API
  description: >
    Paid subscription API for Solana transaction data and history.


    ## Batch Requests

    All endpoints with path parameters (mint, signer, address, tokenMint,
    ownerAddress) support batch queries

    via comma-separated values. For example:
    `/api/sol/trades/mint/mint1,mint2,mint3?limit=50`


    - Maximum 10 values per batch request

    - Each value must be a valid address (>= 32 characters)

    - Single values behave identically to non-batch requests

    - Batch response format: `{ "success": true, "results": { "value1": {...},
    "value2": {...} }, "count": N, "timestamp": "..." }`

    - Each key in `results` contains the full single-entity response

    - Queries run in parallel for maximum performance
  version: 1.0.0
servers:
  - url: https://api.raze.bot
    description: >-
      Raze global History API — GeoDNS routes to the nearest region
      automatically
security:
  - ApiKeyAuth: []
paths:
  /api/sol/tx/parse/{signature}:
    get:
      summary: Parse transaction
      description: >
        Fetches a Solana transaction by signature and parses it into a trade,
        deploy, or migration summary.

        Trade responses expose a human-readable `platform` label such as
        `PumpFun` or `PumpSwap`.
      operationId: parseTransaction
      parameters:
        - name: signature
          in: path
          required: true
          schema:
            type: string
          description: Solana transaction signature
      responses:
        '200':
          description: Parsed transaction
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ParseTransactionResponse'
              example:
                success: true
                signature: >-
                  5LwxuLMJN5sz8ZvGShzePNcZnewFkgkzYkwugGPudMNDvV8BNbJL1HZrHwgkMyckGmyMnnJ5ppUXeGGqHAJHsKfo
                slot: 415226473
                blockTime: 1776986394
                timestamp: '2026-04-23T23:19:54+00:00'
                type: sell
                signer: haqqiUUXB5gp7gDbSjpEkw3phAjQb25r86uXJsZQgWq
                tokenMint: BoKddsvQKJMesFvDSUAdwMrTFuK6WAoZnWJFmgPNPMKZ
                solAmount: 0.020001841
                tokensAmount: 703395.787615
                avgPrice: 2.8436111435668564e-8
                fee: 0.000088018
                proTrade: false
                pool: 3K8hSiGL2D2i1hiefZVF9UFvRfKcaF3m9vVSmHRu5BJs
                platform: PumpFun
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedResponse'
        '500':
          description: Parse or RPC error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ParseTransactionResponse:
      type: object
      properties:
        success:
          type: boolean
        signature:
          type: string
        slot:
          type: integer
        blockTime:
          type: integer
          description: Unix timestamp in seconds
        timestamp:
          type: string
          format: date-time
        type:
          type: string
          enum:
            - buy
            - sell
            - deploy
            - migration
            - unknown
        signer:
          type: string
        tokenMint:
          type: string
        solAmount:
          type: number
        tokensAmount:
          type: number
        avgPrice:
          type: number
        fee:
          type: number
        proTrade:
          type: boolean
        pool:
          type: string
        platform:
          type: string
          description: Human-readable DEX/platform label, not the raw program address
          example: PumpFun
        isBundle:
          type: boolean
        isSniper:
          type: boolean
        name:
          type: string
          description: Present for deploy transactions
        symbol:
          type: string
          description: Present for deploy transactions
        uri:
          type: string
          description: Present for deploy transactions
        creatorBuySol:
          type: number
          description: Present for deploy transactions with a creator buy
        creatorBuyTokens:
          type: number
          description: Present for deploy transactions with a creator buy
        creatorBuyPrice:
          type: number
          description: Present for deploy transactions with a creator buy
        poolDex:
          type: string
          description: Present for migration transactions
        quoteMint:
          type: string
          description: >
            For trade rows, the native pool-quote mint (USDC, wSOL, USDT, USD1,
            PYUSD). For migration rows, the migration's quote mint. Empty when
            unrecognised.
        fundingCandidates:
          type: array
          description: >
            Live-only. Candidate funding transfers detected in the transaction
            (present only when the wallet-funding pipeline is enabled).
          items:
            type: object
            properties:
              wallet:
                type: string
              funder:
                type: string
              lamports:
                type: integer
                format: int64
              solAmount:
                type: number
              idx:
                type: integer
        holderEdges:
          type: array
          description: >
            Live-only. User-to-user transfer edges (SPL or native SOL) detected
            in the transaction (present only when the holder-graph pipeline is
            enabled).
          items:
            type: object
            properties:
              kind:
                type: string
                enum:
                  - token
                  - sol
              mint:
                type: string
              sourceOwner:
                type: string
              destinationOwner:
                type: string
              amount:
                type: string
              uiAmount:
                type: number
              idx:
                type: integer
    UnauthorizedResponse:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        code:
          type: string
      example:
        error: Unauthorized
        message: Invalid API key
        code: INVALID_KEY
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        code:
          type: string
        success:
          type: boolean
      example:
        error: Unauthorized
        message: Invalid API key
        code: INVALID_KEY
        success: false
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: query
      name: apiKey

````