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

# Batched token lookup

> Look up metadata for up to 20 mints in a single call. Response is keyed by mint; unknown mints map to `null` so the client can tell missing-from-DB from missing-in-request.



## OpenAPI

````yaml /api-reference/openapi.json post /tokens/multi
openapi: 3.1.0
info:
  title: Dexploit API
  version: 1.0.0
  description: Real-time and historical Solana DEX swap and OHLCV data.
servers:
  - url: https://api.dexploit.dev
    description: Production
security:
  - ApiKeyHeader: []
  - BearerAuth: []
  - ApiKeyQuery: []
paths:
  /tokens/multi:
    post:
      tags:
        - Tokens
      summary: Batched token lookup
      description: >-
        Look up metadata for up to 20 mints in a single call. Response is keyed
        by mint; unknown mints map to `null` so the client can tell
        missing-from-DB from missing-in-request.
      operationId: batchTokens
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - mints
              properties:
                mints:
                  type: array
                  items:
                    type: string
                  maxItems: 20
      responses:
        '200':
          description: Batched lookup
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokensBatchResponse'
        '400':
          description: More than 20 mints requested
components:
  schemas:
    TokensBatchResponse:
      type: object
      properties:
        results:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/TokenRow'
            nullable: true
          description: >-
            Keyed by mint. Value is null when the mint is not in the tokens
            table.
        computed_at:
          type: integer
    TokenRow:
      type: object
      properties:
        mint:
          type: string
        name:
          type:
            - string
            - 'null'
        symbol:
          type:
            - string
            - 'null'
        decimals:
          type: integer
        supply_atomic:
          type: string
          description: u64 as decimal string for JSON safety.
        creator:
          type:
            - string
            - 'null'
          description: Phase 0 strict precedence — null when unknown.
        creator_source:
          type:
            - string
            - 'null'
          enum:
            - pumpfun_event
            - shyft_graphql
            - lp_create_signer
            - metaplex_update_authority
            - first_swap_trader
            - null
        image_url:
          type:
            - string
            - 'null'
        twitter:
          type:
            - string
            - 'null'
        telegram:
          type:
            - string
            - 'null'
        website:
          type:
            - string
            - 'null'
        created_at:
          type: integer
          description: Unix epoch seconds.
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Preferred for swaps-api endpoints (`/swaps/*`, `/stats/*`, `/trending`,
        `/pool-events`).
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Required by the OHLCV endpoints (`/api/v1/*`) and accepted by every
        other endpoint. Send `Authorization: Bearer ohlcv_live_sk_<your_key>`.
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api_key
      description: >-
        Browser-friendly alternative to the Bearer header — accepted by every
        endpoint and required for WebSocket from the browser.

````