> ## 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.

# Batch-enrich a set of mints

> Enrich up to 80 mints in one request. For each mint the response merges:
24h volume aggregates, the deploy block, and (when the mint is currently
live in RAM) live-board passthrough fields.

Input rules: entries shorter than 32 characters are dropped, duplicates are
deduped. `data` is a MAP keyed by mint. When `sparkline_limit > 0`, each
per-mint value additionally includes a `sparkline` array.




## OpenAPI

````yaml openapi-spec/history.yaml post /api/sol/tokens/batch-enrich
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/tokens/batch-enrich:
    post:
      summary: Batch-enrich a set of mints
      description: >
        Enrich up to 80 mints in one request. For each mint the response merges:

        24h volume aggregates, the deploy block, and (when the mint is currently

        live in RAM) live-board passthrough fields.


        Input rules: entries shorter than 32 characters are dropped, duplicates
        are

        deduped. `data` is a MAP keyed by mint. When `sparkline_limit > 0`, each

        per-mint value additionally includes a `sparkline` array.
      operationId: batchEnrichTokens
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - mints
              properties:
                mints:
                  type: array
                  items:
                    type: string
                  minItems: 1
                  maxItems: 80
                  description: >-
                    Mints to enrich (1..80). Entries under 32 chars are dropped;
                    duplicates deduped.
                sparkline_limit:
                  type: integer
                  minimum: 0
                  maximum: 120
                  default: 0
                  description: >-
                    When > 0, include a `sparkline` array of up to this many
                    points per mint.
      responses:
        '200':
          description: |
            Success. On empty / all-invalid input or when more than 80 mints are
            supplied, returns HTTP 200 with `{ success: false, error }` instead.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchEnrichResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedResponse'
        '422':
          description: Request body is missing the required `mints` field.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    BatchEnrichResponse:
      type: object
      properties:
        success:
          type: boolean
        count:
          type: integer
        data:
          type: object
          description: Map keyed by mint; each value is the merged enrichment object.
          additionalProperties:
            $ref: '#/components/schemas/BatchEnrichItem'
        error:
          type: string
          description: >-
            Present only on failure responses (empty/all-invalid input or > 80
            mints).
    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
    BatchEnrichItem:
      type: object
      description: >
        Per-mint enrichment value. Merges 24h volume aggregates, the deploy
        block,

        and (when the mint is live in RAM) live-board passthrough fields. Fields

        may be absent when the underlying source has no data for the mint.
      properties:
        trade_count:
          type: integer
        total_sol_volume:
          type: number
        volume_24h:
          type: number
        buy_count:
          type: integer
        sell_count:
          type: integer
        bundle_trades:
          type: integer
        sniper_trades:
          type: integer
        fees_total:
          type: number
        unique_traders:
          type: integer
        holders:
          type: integer
          description: Alias of `unique_traders` (NOT the on-chain holder count).
        buy_sol_volume:
          type: number
        sell_sol_volume:
          type: number
        net_flow:
          type: number
        buy_sell_ratio:
          type: number
        sparkline:
          type: array
          description: Only present when `sparkline_limit > 0`.
          items:
            type: number
        time:
          type: string
          format: date-time
        mint:
          type: string
        signer:
          type: string
        platform:
          type: string
        name:
          type: string
        symbol:
          type: string
        uri:
          type: string
        slot:
          type: integer
        migrated:
          type: string
          format: date-time
          nullable: true
        created_at:
          type: string
          format: date-time
        creator_buy_sol:
          type: number
          nullable: true
        creator_buy_tokens:
          type: number
          nullable: true
        creator_buy_price:
          type: number
          nullable: true
        is_cashback:
          type: boolean
        has_cashback:
          type: boolean
        quote_mint:
          type: string
        quote_kind:
          type: string
        currentPrice:
          type: number
        lastPrice:
          type: number
        creatorDeploys:
          type: integer
        creatorMigrations:
          type: integer
        creator_deploys:
          type: integer
        creator_migrations:
          type: integer
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: query
      name: apiKey

````