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

# Minimal token search

> Returns compact token matches containing identity, protocol, migration, creation, price, and market-cap fields.

```bash theme={null}
curl "https://staging-api.struct.to/v1/token/discovery/search-minimal?chain=robinhood&chain_id=4663&limit=20&fields=short" \
  -H "X-API-Key: YOUR_API_KEY"
```

```json Response (Long) theme={null}
[
  {
    "address": "0x39dBED3a2bd333467115dE45665cC57F813C4571",
    "chain_id": 4663,
    "name": "Pons",
    "symbol": "PONS",
    "image_url": "https://cdn.example.com/pons.png",
    "created_at": 1784216377000,
    "pool_id": "0xEd50bDeeA8aDC232f159486192a4157281D722ff",
    "protocol": "PonsV2",
    "is_migrated": false,
    "migrated_from_protocol": "PonsV2",
    "price_usd": 0.09664868619,
    "market_cap_usd": 96648686.19
  }
]
```

```jsonc Response (Short) theme={null}
[
  {
    "a": "0x39dBED3a2bd333467115dE45665cC57F813C4571",
    "ci": 4663,
    "n": "Pons",
    "sy": "PONS",
    "iu": "https://cdn.example.com/pons.png",
    "ca": 1784216377000,
    "p": "0xEd50bDeeA8aDC232f159486192a4157281D722ff",
    "pr": "PonsV2",
    "im": false,
    "mfp": "PonsV2",
    "pu": 0.09664868619,
    "mcu": 96648686.19
  }
]
```


## OpenAPI

````yaml onchain-openapi.json GET /token/discovery/search-minimal
openapi: 3.1.0
info:
  title: Struct On-chain API
  description: >-
    RESTful API for token market data, discovery, holders, audits, and trader
    analytics across supported chains. Pass `fields=short` or header
    `x-field-names: short` for abbreviated keys. HTTP defaults to `long`. Token
    candlesticks, token trades and wallet batch trades also support
    `fields=array` for typed positional rows.
  version: 1.0.0
servers:
  - url: https://staging-api.struct.to/v1
    description: Staging
security:
  - ApiKey: []
paths:
  /token/discovery/search-minimal:
    get:
      tags:
        - Token
      summary: Minimal token search
      description: >-
        Returns compact token matches containing identity, protocol, migration,
        creation, price, and market-cap fields.
      operationId: search_tokens_minimal
      parameters:
        - name: chain
          in: query
          description: Chain name. Required unless `chain_id` is provided.
          required: false
          schema:
            type: string
          example: robinhood
        - name: chain_id
          in: query
          description: Chain id. Required unless `chain` is provided. Use `-1` for Solana.
          required: false
          schema:
            type: integer
            format: int64
          example: 4663
        - name: query
          in: query
          description: Token name or symbol query.
          required: true
          schema:
            type: string
        - name: limit
          in: query
          description: Result limit. Defaults to 20 and is capped at 100.
          required: false
          schema:
            type: integer
            minimum: 0
          example: 20
        - name: asset_mode
          in: query
          description: Return each token with its main pool. Defaults to `false`.
          required: false
          schema:
            type: boolean
        - name: x-field-names
          in: header
          required: false
          description: >-
            Select long (full) or short (abbreviated) field names. HTTP defaults
            to `long`. Takes precedence over `fields`. See [Response
            Format](/api-reference/response-format#long-and-short-field-names).
          schema:
            type: string
            enum:
              - long
              - short
            default: long
          example: short
        - name: fields
          in: query
          required: false
          description: >-
            Same as `x-field-names`. Use `long` or `short`. HTTP defaults to
            `long`. Ignored when the header is set. `field_names` is accepted as
            an alias.
          schema:
            type: string
            enum:
              - long
              - short
            default: long
          example: short
      responses:
        '200':
          description: Compact matching tokens
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ImageReuseToken'
              examples:
                long:
                  summary: Response (Long)
                  value:
                    - address: '0x39dBED3a2bd333467115dE45665cC57F813C4571'
                      chain_id: 4663
                      name: Pons
                      symbol: PONS
                      image_url: https://cdn.example.com/pons.png
                      created_at: 1784216377000
                      pool_id: '0xEd50bDeeA8aDC232f159486192a4157281D722ff'
                      protocol: PonsV2
                      is_migrated: false
                      migrated_from_protocol: PonsV2
                      price_usd: 0.09664868619
                      market_cap_usd: 96648686.19
                short:
                  summary: Response (Short)
                  value:
                    - a: '0x39dBED3a2bd333467115dE45665cC57F813C4571'
                      ci: 4663
                      'n': Pons
                      sy: PONS
                      iu: https://cdn.example.com/pons.png
                      ca: 1784216377000
                      p: '0xEd50bDeeA8aDC232f159486192a4157281D722ff'
                      pr: PonsV2
                      im: false
                      mfp: PonsV2
                      pu: 0.09664868619
                      mcu: 96648686.19
        '400':
          description: Missing or invalid query, limit, or chain.
components:
  schemas:
    ImageReuseToken:
      type: object
      required:
        - address
        - chain_id
        - is_migrated
      properties:
        address:
          type: string
        chain_id:
          type: integer
          format: int64
        name:
          type:
            - string
            - 'null'
        symbol:
          type:
            - string
            - 'null'
        image_url:
          type:
            - string
            - 'null'
        created_at:
          type:
            - integer
            - 'null'
          format: int64
          description: Pool creation time, in milliseconds.
          minimum: 0
        pool_id:
          type:
            - string
            - 'null'
        protocol:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/Protocol'
        underlying_protocol:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/Protocol'
              description: >-
                AMM venue holding the pool's liquidity when `protocol` is a
                launchpad

                living on another AMM.
        is_migrated:
          type: boolean
        migrated_from_protocol:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/Protocol'
        price_usd:
          type:
            - number
            - 'null'
          format: double
        market_cap_usd:
          type:
            - number
            - 'null'
          format: double
      example:
        address: '0x39dBED3a2bd333467115dE45665cC57F813C4571'
        chain_id: 4663
        name: Pons
        symbol: PONS
        image_url: https://cdn.example.com/pons.png
        created_at: 1784216377000
        pool_id: '0xEd50bDeeA8aDC232f159486192a4157281D722ff'
        protocol: PonsV2
        is_migrated: false
        migrated_from_protocol: PonsV2
        price_usd: 0.09664868619
        market_cap_usd: 96648686.19
    Protocol:
      type: string
      description: DEX protocol name (e.g. "RaydiumAMM", "UniswapV3").
      enum:
        - Unknown
        - Jupiter
        - MeteoraDLMM
        - MeteoraPools
        - RaydiumAMM
        - RaydiumCPMM
        - RaydiumCLMM
        - OrcaWhirlpool
        - PumpFun
        - PumpAMM
        - Moonit
        - System
        - Token22
        - Token
        - RaydiumLaunchLab
        - LaunchACoin
        - Bonk
        - MeteoraDBC
        - MeteoraDAMM2
        - BoopFun
        - Believe
        - JupiterStudio
        - Moonshot
        - Bags
        - Heaven
        - WenDev
        - StonkFun
        - TrendsFun
        - AnonCoin
        - AssociatedTokenProgram
        - UniswapV2
        - UniswapV3
        - UniswapV4
        - PancakeSwapV2
        - SushiSwapV2
        - PancakeSwapV3
        - SushiSwapV3
        - PancakeSwapV4
        - FourMeme
        - XMode
        - Flap
        - Alloca
        - AllocaChad
        - AllocaDex
        - NadFun
        - NadFunDex
        - Kuru
        - ClankerV3
        - ClankerV4
        - Bankr
        - Aerodrome
        - AerodromeSlipstream
        - ZoraContent
        - ZoraCreator
        - BaseApp
        - Basememe
        - Virtuals
        - PurpsV2
        - OctoSwapV2
        - TayaV2
        - AtlantisV2
        - DyorSwap
        - DyorFun
        - DyorV3
        - NoxaFun
        - Pons
        - PonsV2
        - PoolsInstant
        - FlapVault
        - FlapTax
        - Trench
        - PoolsCCA
        - RobinSwap
        - LongXyz
        - O1
        - Flywheel
        - Launchpad
        - Foci
        - LiftFun
        - Argus
        - TollyLabs
        - RadarDex
        - Sharc
        - ArcReactor
        - Archemist
        - ArchemistV4
        - Minara
        - StonkBrokers
        - Robinfun
        - UpV2
        - UpCL
        - Livo
        - HoodFun
        - Circus
        - HyperMeme
        - Lemon
        - Flutch
        - Stoxes
        - Holoworld
        - LaunchHood
        - StandardReserve
        - Commodities
        - LeaveHood
        - GeniusFun
        - Cubepeg
        - LikwidDex
        - GoPlusCreator
        - GoPlusSkill
        - TapeOut
        - OpenFour
        - FlapAI
        - Brew
        - MemecoinFunV2
        - Printr
        - CheesePad
        - CheesePadMicroSale
        - CheesePadMelt
        - LunaFun
        - Urcoin
        - FeelCash
        - Flaunch
        - Klik
        - Rwagmi
        - Doppler
        - BaseStonk
        - TheStonks
        - Stonx
        - Embow
        - Hydropump
        - HydrexIntegral
        - HydrexClassic
        - Stockereum
        - Sender
        - Stroid
        - MotoFun
        - Motoswap
        - Programmable
        - Strategy
        - Meridian
        - RobinVista
        - Odys
        - OdysElite
        - CamelotV2
        - CamelotV3
        - CamelotIntegral
        - Ignix
        - EulrFun
        - AltFun
        - MotionMeme
        - LiquidLaunch
        - LiquidLaunchV2
        - Signal
        - SignalCurve
        - SignalV4
        - Kumbaya
        - KumbayaV3
        - Bonad
        - NadFunDexV2
        - HyperSwapV2
        - HyperSwapV3
        - ProjectXV2
        - ProjectXV3
        - PotatoSwapV2
        - PotatoSwapV3
        - MondayTradeV3
        - Pangea
        - ClankerV5
      examples:
        - UniswapV3
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: Secret API key (`sk_*`) or JWT public key (`pk_jwt_*`).

````

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