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

# Search tokens by name/symbol, creator, or update authority

> Find tokens across multiple dimensions. At least one of `q`, `creator`, or `authority` is required.

- **`q` only:** uses our local trade-derived token index (fast, but limited to mints we've seen trades for).
- **`creator` or `authority` (with optional `q`):** routes through CryptoHouse `solana.tokens` to filter by Metaplex creators array or `update_authority`. Supports `page`-based pagination. Returns Metaplex metadata fields (`mint`, `name`, `symbol`, `uri`, `updateAuthority`, `creators[]`, `sellerFeeBasisPoints`, `isMutable`).

Combining `q` with `creator`/`authority` narrows results by name/symbol substring within the filtered set.




## OpenAPI

````yaml openapi-spec/history.yaml get /api/sol/tokens/search
openapi: 3.0.3
info:
  title: Raze Database API
  description: >
    Paid subscription API for Solana transaction data and history.


    Also hosts write utilities (`/utils/sol/*`): token launch, transfer, burn,

    consolidate, fees claim/config, and agent initialize — previously on

    `router.raze.bot`. Mixer/distribute removed 2026-07-25.


    ## 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/search:
    get:
      summary: Search tokens by name/symbol, creator, or update authority
      description: >
        Find tokens across multiple dimensions. At least one of `q`, `creator`,
        or `authority` is required.


        - **`q` only:** uses our local trade-derived token index (fast, but
        limited to mints we've seen trades for).

        - **`creator` or `authority` (with optional `q`):** routes through
        CryptoHouse `solana.tokens` to filter by Metaplex creators array or
        `update_authority`. Supports `page`-based pagination. Returns Metaplex
        metadata fields (`mint`, `name`, `symbol`, `uri`, `updateAuthority`,
        `creators[]`, `sellerFeeBasisPoints`, `isMutable`).


        Combining `q` with `creator`/`authority` narrows results by name/symbol
        substring within the filtered set.
      operationId: searchTokens
      parameters:
        - name: q
          in: query
          schema:
            type: string
            minLength: 2
          description: >-
            Case-insensitive substring match against `name` or `symbol`.
            Optional when `creator` or `authority` is supplied.
        - name: creator
          in: query
          schema:
            type: string
          description: Filter to mints whose Metaplex `creators[]` includes this address.
        - name: authority
          in: query
          schema:
            type: string
          description: Filter to mints whose Metaplex `update_authority` matches.
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 1000
            default: 20
          description: Maximum number of results to return.
        - name: page
          in: query
          schema:
            type: integer
            minimum: 1
            default: 1
          description: 1-indexed page (creator/authority paths only).
      responses:
        '200':
          description: >
            Success. The `data[]` item shape depends on the path:

            - **`q`-only (local index):** `{ mint, symbol, name, platform, uri,
            time, created_at }`.

            - **`creator`/`authority` (Metaplex via CryptoHouse):**
              `{ mint, name, symbol, uri, updateAuthority, sellerFeeBasisPoints, isMutable, creators[] }`.

            The envelope for the `q`-only path is `{ success, data[], count,
            query, sol_price }`;

            the creator/authority path additionally returns `limit`, `page`,
            `creator`, `authority`.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: array
                    items:
                      type: object
                  count:
                    type: integer
                  query:
                    type: string
                  sol_price:
                    type: number
                    nullable: true
                  limit:
                    type: integer
                    description: Creator/authority path only.
                  page:
                    type: integer
                    description: Creator/authority path only.
                  creator:
                    type: string
                    description: Echoed creator filter (creator/authority path only).
                  authority:
                    type: string
                    description: >-
                      Echoed update-authority filter (creator/authority path
                      only).
        '400':
          description: Missing or invalid search query
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Database error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    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

````