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

# Market movement by chain

> Trading volume, swap counts, distinct traders, token creations and migrations by chain, with percentage changes against the preceding period and daily-average chart points for 24h, 6h, 1h and 5m. Cross-chain trader totals count each wallet separately on each chain. Graduation is period migrations divided by period creations, multiplied by 100, and can exceed 100%. Unavailable chains are omitted. Comparisons without sufficient data are null.

```bash theme={null}
curl "https://staging-api.struct.to/v1/token/discovery/market-movement?chains=robinhood%2Csolana&chain_ids=4663%2C-1&fields=short&timeframe=1h" \
  -H "X-API-Key: YOUR_API_KEY"
```

```json Response (Long) theme={null}
{
  "totals": {
    "current": {
      "volume_usd": 864000.0,
      "trades": 12960,
      "traders": 6480,
      "created": 864,
      "migrated": 216
    },
    "previous": {
      "volume_usd": 691200.0,
      "trades": 10800,
      "traders": 5400,
      "created": 648,
      "migrated": 108
    },
    "change": {
      "volume_pct": 25.0,
      "trades_pct": 20.0,
      "traders_pct": 20.0,
      "created_pct": 33.33333333333333,
      "migrated_pct": 100.0
    },
    "graduation_rate_pct": 25.0
  },
  "chains": [
    {
      "chain": "solana",
      "chain_id": -1,
      "current": {
        "volume_usd": 768000.0,
        "trades": 11520,
        "traders": 5760,
        "created": 768,
        "migrated": 192
      },
      "previous": {
        "volume_usd": 614400.0,
        "trades": 9600,
        "traders": 4800,
        "created": 576,
        "migrated": 96
      },
      "change": {
        "volume_pct": 25.0,
        "trades_pct": 20.0,
        "traders_pct": 20.0,
        "created_pct": 33.33333333333333,
        "migrated_pct": 100.0
      },
      "graduation_rate_pct": 25.0
    },
    {
      "chain": "robinhood",
      "chain_id": 4663,
      "current": {
        "volume_usd": 96000.0,
        "trades": 1440,
        "traders": 720,
        "created": 96,
        "migrated": 24
      },
      "previous": {
        "volume_usd": 76800.0,
        "trades": 1200,
        "traders": 600,
        "created": 72,
        "migrated": 12
      },
      "change": {
        "volume_pct": 25.0,
        "trades_pct": 20.0,
        "traders_pct": 20.0,
        "created_pct": 33.33333333333333,
        "migrated_pct": 100.0
      },
      "graduation_rate_pct": 25.0
    }
  ],
  "daily_average": {
    "baseline": "24h",
    "chains": [
      {
        "chain": "solana",
        "chain_id": -1,
        "points": [
          {
            "timeframe": "24h",
            "volume_usd": 11520000.0,
            "expected_volume_usd": 11520000.0,
            "multiplier": 1.0,
            "activity": "normal"
          },
          {
            "timeframe": "6h",
            "volume_usd": 3600000.0,
            "expected_volume_usd": 2880000.0,
            "multiplier": 1.25,
            "activity": "high"
          },
          {
            "timeframe": "1h",
            "volume_usd": 768000.0,
            "expected_volume_usd": 480000.0,
            "multiplier": 1.6,
            "activity": "high"
          },
          {
            "timeframe": "5m",
            "volume_usd": 96000.0,
            "expected_volume_usd": 40000.0,
            "multiplier": 2.4,
            "activity": "high"
          }
        ]
      },
      {
        "chain": "robinhood",
        "chain_id": 4663,
        "points": [
          {
            "timeframe": "24h",
            "volume_usd": 1440000.0,
            "expected_volume_usd": 1440000.0,
            "multiplier": 1.0,
            "activity": "normal"
          },
          {
            "timeframe": "6h",
            "volume_usd": 450000.0,
            "expected_volume_usd": 360000.0,
            "multiplier": 1.25,
            "activity": "high"
          },
          {
            "timeframe": "1h",
            "volume_usd": 96000.0,
            "expected_volume_usd": 60000.0,
            "multiplier": 1.6,
            "activity": "high"
          },
          {
            "timeframe": "5m",
            "volume_usd": 12000.0,
            "expected_volume_usd": 5000.0,
            "multiplier": 2.4,
            "activity": "high"
          }
        ]
      }
    ]
  }
}
```

```jsonc Response (Short) theme={null}
{
  "tt": {
    "cu": {
      "vu": 864000.0,
      "td": 12960,
      "trs": 6480,
      "cr": 864,
      "mg": 216
    },
    "pr": {
      "vu": 691200.0,
      "td": 10800,
      "trs": 5400,
      "cr": 648,
      "mg": 108
    },
    "ch": {
      "vp": 25.0,
      "tp": 20.0,
      "trp": 20.0,
      "cp": 33.33333333333333,
      "mp": 100.0
    },
    "gr": 25.0
  },
  "ch": [
    {
      "c": "solana",
      "ci": -1,
      "cu": {
        "vu": 768000.0,
        "td": 11520,
        "trs": 5760,
        "cr": 768,
        "mg": 192
      },
      "pr": {
        "vu": 614400.0,
        "td": 9600,
        "trs": 4800,
        "cr": 576,
        "mg": 96
      },
      "ch": {
        "vp": 25.0,
        "tp": 20.0,
        "trp": 20.0,
        "cp": 33.33333333333333,
        "mp": 100.0
      },
      "gr": 25.0
    },
    {
      "c": "robinhood",
      "ci": 4663,
      "cu": {
        "vu": 96000.0,
        "td": 1440,
        "trs": 720,
        "cr": 96,
        "mg": 24
      },
      "pr": {
        "vu": 76800.0,
        "td": 1200,
        "trs": 600,
        "cr": 72,
        "mg": 12
      },
      "ch": {
        "vp": 25.0,
        "tp": 20.0,
        "trp": 20.0,
        "cp": 33.33333333333333,
        "mp": 100.0
      },
      "gr": 25.0
    }
  ],
  "da": {
    "b": "24h",
    "ch": [
      {
        "c": "solana",
        "ci": -1,
        "pt": [
          {
            "tf": "24h",
            "vu": 11520000.0,
            "evu": 11520000.0,
            "mul": 1.0,
            "act": "normal"
          },
          {
            "tf": "6h",
            "vu": 3600000.0,
            "evu": 2880000.0,
            "mul": 1.25,
            "act": "high"
          },
          {
            "tf": "1h",
            "vu": 768000.0,
            "evu": 480000.0,
            "mul": 1.6,
            "act": "high"
          },
          {
            "tf": "5m",
            "vu": 96000.0,
            "evu": 40000.0,
            "mul": 2.4,
            "act": "high"
          }
        ]
      },
      {
        "c": "robinhood",
        "ci": 4663,
        "pt": [
          {
            "tf": "24h",
            "vu": 1440000.0,
            "evu": 1440000.0,
            "mul": 1.0,
            "act": "normal"
          },
          {
            "tf": "6h",
            "vu": 450000.0,
            "evu": 360000.0,
            "mul": 1.25,
            "act": "high"
          },
          {
            "tf": "1h",
            "vu": 96000.0,
            "evu": 60000.0,
            "mul": 1.6,
            "act": "high"
          },
          {
            "tf": "5m",
            "vu": 12000.0,
            "evu": 5000.0,
            "mul": 2.4,
            "act": "high"
          }
        ]
      }
    ]
  }
}
```


## OpenAPI

````yaml onchain-openapi.json GET /token/discovery/market-movement
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/market-movement:
    get:
      tags:
        - Token / Discovery
      summary: Market movement by chain
      description: >-
        Trading volume, swap counts, distinct traders, token creations and
        migrations by chain, with percentage changes against the preceding
        period and daily-average chart points for 24h, 6h, 1h and 5m.
        Cross-chain trader totals count each wallet separately on each chain.
        Graduation is period migrations divided by period creations, multiplied
        by 100, and can exceed 100%. Unavailable chains are omitted. Comparisons
        without sufficient data are null.
      operationId: get_market_movement
      parameters:
        - name: chains
          in: query
          description: >-
            Comma-separated chain names. Omit all chain selectors to include
            every chain with available data.
          required: false
          schema:
            type: string
          example: robinhood,solana
        - name: chain_ids
          in: query
          description: Comma-separated chain IDs; -1 is Solana.
          required: false
          schema:
            type: string
          example: 4663,-1
        - name: chain
          in: query
          description: Single-chain alias.
          required: false
          schema:
            type: string
        - name: chain_id
          in: query
          description: Single-chain ID alias.
          required: false
          schema:
            type: integer
            format: int64
        - name: fields
          in: query
          description: >-
            Select `long` (HTTP default), `short` abbreviated field names, or
            `array` for token candlesticks, token trades, and wallet batch
            trades. Same as header `x-field-names`. `field_names` is accepted as
            an alias.
          required: false
          schema:
            type: string
          example: short
        - name: x-field-names
          in: header
          description: >-
            Select `long` (HTTP default) or `short` field names. Takes
            precedence over `fields`.
          required: false
          schema:
            type:
              - string
              - 'null'
        - name: timeframe
          in: query
          description: >-
            5m, 1h, 6h or 24h. Default 24h. The chart always includes all four
            windows.
          required: false
          schema:
            type: string
          example: 1h
      responses:
        '200':
          description: Market movement by chain and daily-average volume chart
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MarketMovementResponse'
              examples:
                long:
                  summary: Response (Long)
                  value:
                    totals:
                      current:
                        volume_usd: 864000
                        trades: 12960
                        traders: 6480
                        created: 864
                        migrated: 216
                      previous:
                        volume_usd: 691200
                        trades: 10800
                        traders: 5400
                        created: 648
                        migrated: 108
                      change:
                        volume_pct: 25
                        trades_pct: 20
                        traders_pct: 20
                        created_pct: 33.33333333333333
                        migrated_pct: 100
                      graduation_rate_pct: 25
                    chains:
                      - chain: solana
                        chain_id: -1
                        current:
                          volume_usd: 768000
                          trades: 11520
                          traders: 5760
                          created: 768
                          migrated: 192
                        previous:
                          volume_usd: 614400
                          trades: 9600
                          traders: 4800
                          created: 576
                          migrated: 96
                        change:
                          volume_pct: 25
                          trades_pct: 20
                          traders_pct: 20
                          created_pct: 33.33333333333333
                          migrated_pct: 100
                        graduation_rate_pct: 25
                      - chain: robinhood
                        chain_id: 4663
                        current:
                          volume_usd: 96000
                          trades: 1440
                          traders: 720
                          created: 96
                          migrated: 24
                        previous:
                          volume_usd: 76800
                          trades: 1200
                          traders: 600
                          created: 72
                          migrated: 12
                        change:
                          volume_pct: 25
                          trades_pct: 20
                          traders_pct: 20
                          created_pct: 33.33333333333333
                          migrated_pct: 100
                        graduation_rate_pct: 25
                    daily_average:
                      baseline: 24h
                      chains:
                        - chain: solana
                          chain_id: -1
                          points:
                            - timeframe: 24h
                              volume_usd: 11520000
                              expected_volume_usd: 11520000
                              multiplier: 1
                              activity: normal
                            - timeframe: 6h
                              volume_usd: 3600000
                              expected_volume_usd: 2880000
                              multiplier: 1.25
                              activity: high
                            - timeframe: 1h
                              volume_usd: 768000
                              expected_volume_usd: 480000
                              multiplier: 1.6
                              activity: high
                            - timeframe: 5m
                              volume_usd: 96000
                              expected_volume_usd: 40000
                              multiplier: 2.4
                              activity: high
                        - chain: robinhood
                          chain_id: 4663
                          points:
                            - timeframe: 24h
                              volume_usd: 1440000
                              expected_volume_usd: 1440000
                              multiplier: 1
                              activity: normal
                            - timeframe: 6h
                              volume_usd: 450000
                              expected_volume_usd: 360000
                              multiplier: 1.25
                              activity: high
                            - timeframe: 1h
                              volume_usd: 96000
                              expected_volume_usd: 60000
                              multiplier: 1.6
                              activity: high
                            - timeframe: 5m
                              volume_usd: 12000
                              expected_volume_usd: 5000
                              multiplier: 2.4
                              activity: high
                short:
                  summary: Response (Short)
                  value:
                    tt:
                      cu:
                        vu: 864000
                        td: 12960
                        trs: 6480
                        cr: 864
                        mg: 216
                      pr:
                        vu: 691200
                        td: 10800
                        trs: 5400
                        cr: 648
                        mg: 108
                      ch:
                        vp: 25
                        tp: 20
                        trp: 20
                        cp: 33.33333333333333
                        mp: 100
                      gr: 25
                    ch:
                      - c: solana
                        ci: -1
                        cu:
                          vu: 768000
                          td: 11520
                          trs: 5760
                          cr: 768
                          mg: 192
                        pr:
                          vu: 614400
                          td: 9600
                          trs: 4800
                          cr: 576
                          mg: 96
                        ch:
                          vp: 25
                          tp: 20
                          trp: 20
                          cp: 33.33333333333333
                          mp: 100
                        gr: 25
                      - c: robinhood
                        ci: 4663
                        cu:
                          vu: 96000
                          td: 1440
                          trs: 720
                          cr: 96
                          mg: 24
                        pr:
                          vu: 76800
                          td: 1200
                          trs: 600
                          cr: 72
                          mg: 12
                        ch:
                          vp: 25
                          tp: 20
                          trp: 20
                          cp: 33.33333333333333
                          mp: 100
                        gr: 25
                    da:
                      b: 24h
                      ch:
                        - c: solana
                          ci: -1
                          pt:
                            - tf: 24h
                              vu: 11520000
                              evu: 11520000
                              mul: 1
                              act: normal
                            - tf: 6h
                              vu: 3600000
                              evu: 2880000
                              mul: 1.25
                              act: high
                            - tf: 1h
                              vu: 768000
                              evu: 480000
                              mul: 1.6
                              act: high
                            - tf: 5m
                              vu: 96000
                              evu: 40000
                              mul: 2.4
                              act: high
                        - c: robinhood
                          ci: 4663
                          pt:
                            - tf: 24h
                              vu: 1440000
                              evu: 1440000
                              mul: 1
                              act: normal
                            - tf: 6h
                              vu: 450000
                              evu: 360000
                              mul: 1.25
                              act: high
                            - tf: 1h
                              vu: 96000
                              evu: 60000
                              mul: 1.6
                              act: high
                            - tf: 5m
                              vu: 12000
                              evu: 5000
                              mul: 2.4
                              act: high
        '400':
          description: Invalid chain selector or timeframe
components:
  schemas:
    MarketMovementResponse:
      type: object
      required:
        - totals
        - chains
        - daily_average
      properties:
        totals:
          $ref: '#/components/schemas/MarketSummary'
        chains:
          type: array
          items:
            $ref: '#/components/schemas/MarketChain'
        daily_average:
          $ref: '#/components/schemas/DailyAverageChart'
    MarketSummary:
      type: object
      required:
        - current
        - previous
        - change
      properties:
        current:
          $ref: '#/components/schemas/MarketTotals'
        previous:
          $ref: '#/components/schemas/MarketTotals'
        change:
          $ref: '#/components/schemas/MarketChanges'
        graduation_rate_pct:
          type:
            - number
            - 'null'
          format: double
    MarketChain:
      allOf:
        - $ref: '#/components/schemas/MarketSummary'
        - type: object
          required:
            - chain
            - chain_id
          properties:
            chain:
              type: string
            chain_id:
              type: integer
              format: int64
    DailyAverageChart:
      type: object
      required:
        - baseline
        - chains
      properties:
        baseline:
          type: string
        chains:
          type: array
          items:
            $ref: '#/components/schemas/ChainDailyAverage'
    MarketTotals:
      type: object
      required:
        - volume_usd
        - trades
        - traders
        - created
        - migrated
      properties:
        volume_usd:
          type: number
          format: double
        trades:
          type: integer
          format: int64
          description: >-
            Number of swaps. A single blockchain transaction can contain
            multiple swaps.
          minimum: 0
        traders:
          type: integer
          format: int64
          description: >-
            Distinct wallets that traded during the period, counted separately
            on each chain.
          minimum: 0
        created:
          type: integer
          format: int64
          minimum: 0
        migrated:
          type: integer
          format: int64
          minimum: 0
    MarketChanges:
      type: object
      properties:
        volume_pct:
          type:
            - number
            - 'null'
          format: double
        trades_pct:
          type:
            - number
            - 'null'
          format: double
        traders_pct:
          type:
            - number
            - 'null'
          format: double
        created_pct:
          type:
            - number
            - 'null'
          format: double
        migrated_pct:
          type:
            - number
            - 'null'
          format: double
    ChainDailyAverage:
      type: object
      required:
        - chain
        - chain_id
        - points
      properties:
        chain:
          type: string
        chain_id:
          type: integer
          format: int64
        points:
          type: array
          items:
            $ref: '#/components/schemas/DailyAveragePoint'
    DailyAveragePoint:
      type: object
      required:
        - timeframe
        - volume_usd
        - expected_volume_usd
        - activity
      properties:
        timeframe:
          type: string
        volume_usd:
          type: number
          format: double
        expected_volume_usd:
          type: number
          format: double
          description: volume_24h * window_seconds / 86400.
        multiplier:
          type:
            - number
            - 'null'
          format: double
        activity:
          $ref: '#/components/schemas/VolumeActivity'
          description: Low < 0.8x, normal 0.8x..=1.2x, high > 1.2x.
    VolumeActivity:
      type: string
      enum:
        - low
        - normal
        - high
        - unavailable
  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.