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

# Solana Meme 币市场统计 API

> 获取 Solana Meme 币市场的滚动统计，覆盖 DEX 和发射台，如 all、pumpfun、meteora-curve:bags。接口为 GET /lighthouse。

返回 Solana Meme 币市场的滚动统计，例如 `all`、`pumpfun`、`raydium-all` 和 `meteora-curve:bags`。覆盖 DEX、发射台和已发现的发射台市场。

没有查询参数。

## SDK Example

```typescript
import { Client } from '@solana-tracker/data-api';

const client = new Client({ apiKey: 'YOUR_API_KEY' });

const data = await client.getLighthouse();
```


## OpenAPI

````yaml /cn/data-api/lighthouse.json get /lighthouse
openapi: 3.1.0
info:
  title: Solana Tracker Lighthouse API
  version: 1.0.0
  description: >-
    Solana Meme 币在各 DEX 和发射台上的实时滚动交易统计。


    `GET /lighthouse` 返回 Solana Meme 币市场数组，例如 `all`、`pumpfun`、`raydium-all`
    和已发现的发射台。每个条目包含展示信息（`label`、`icon`、`url`）以及 `5m`、`1h`、`6h` 和 `24h` 的统计。


    每个时间窗口都会报告交易数、交易者数、美元成交量、新建代币数和迁移数，并给出买卖合计以及相对上一周期的百分比变化。


    除非另有说明，金额单位均为美元。
  contact:
    email: contact@solanatracker.io
  license:
    name: Proprietary
    url: https://www.solanatracker.io/terms
servers:
  - url: https://data.solanatracker.io
    description: 生产服务器
security:
  - apiKey: []
tags:
  - name: Lighthouse
    description: Solana Meme 币 DEX 和发射台统计。
paths:
  /lighthouse:
    get:
      tags:
        - Lighthouse
      summary: Solana memecoin market stats
      description: >-
        返回 Solana Meme 币市场的滚动统计，例如 `all`、`pumpfun`、`raydium-all` 和
        `meteora-curve:bags`。覆盖 DEX、发射台和已发现的发射台市场。


        没有查询参数。
      operationId: getLighthouse
      responses:
        '200':
          $ref: '#/components/responses/LighthouseSuccess'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/ServerError'
      x-codeSamples:
        - lang: typescript
          label: SDK
          source: |
            import { Client } from '@solana-tracker/data-api';

            const client = new Client({ apiKey: 'YOUR_API_KEY' });

            const data = await client.getLighthouse();
      x-code-samples:
        - lang: typescript
          label: SDK
          source: |
            import { Client } from '@solana-tracker/data-api';

            const client = new Client({ apiKey: 'YOUR_API_KEY' });

            const data = await client.getLighthouse();
components:
  responses:
    LighthouseSuccess:
      description: Solana Meme 币市场条目数组。响应通常以 `all` 开头，其后依次是 DEX、发射台和发射台子市场。
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: '#/components/schemas/LighthouseMarket'
          examples:
            sample:
              summary: Truncated sample
              value:
                - market: all
                  label: All
                  icon: https://www.solanatracker.io/logo.png
                  url: https://www.solanatracker.io
                  stats:
                    5m:
                      transactions:
                        total: 1200
                        buys: 640
                        sells: 560
                        changePct: 4.2
                      wallets:
                        total: 900
                        changePct: 1.1
                      volume:
                        total: 1500000
                        buys: 800000
                        sells: 700000
                        changePct: -2.5
                      tokensCreated:
                        total: 40
                        changePct: 10
                      migrations:
                        total: 8
                        changePct: 0
                    1h:
                      transactions:
                        total: 0
                        buys: 0
                        sells: 0
                        changePct: 0
                      wallets:
                        total: 0
                        changePct: 0
                      volume:
                        total: 0
                        buys: 0
                        sells: 0
                        changePct: 0
                      tokensCreated:
                        total: 0
                        changePct: 0
                      migrations:
                        total: 0
                        changePct: 0
                    6h:
                      transactions:
                        total: 0
                        buys: 0
                        sells: 0
                        changePct: 0
                      wallets:
                        total: 0
                        changePct: 0
                      volume:
                        total: 0
                        buys: 0
                        sells: 0
                        changePct: 0
                      tokensCreated:
                        total: 0
                        changePct: 0
                      migrations:
                        total: 0
                        changePct: 0
                    24h:
                      transactions:
                        total: 0
                        buys: 0
                        sells: 0
                        changePct: 0
                      wallets:
                        total: 0
                        changePct: 0
                      volume:
                        total: 0
                        buys: 0
                        sells: 0
                        changePct: 0
                      tokensCreated:
                        total: 0
                        changePct: 0
                      migrations:
                        total: 0
                        changePct: 0
    Unauthorized:
      description: API 密钥缺失或无效。
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Unauthorized
    ServerError:
      description: 服务器发生意外错误。
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Unable to retrieve Solana memecoin market stats
  schemas:
    LighthouseMarket:
      type: object
      required:
        - market
        - label
        - icon
        - url
        - stats
      properties:
        market:
          type: string
          description: >-
            Solana Meme 币
            DEX、发射台或聚合市场的键。例如：`all`、`pumpfun`、`raydium-all`、`meteora-curve:bags`。
          examples:
            - all
            - pumpfun
            - raydium-all
            - meteora-curve:bags
        label:
          type: string
          description: 便于阅读的显示名称。
        icon:
          type: string
          description: Logo URL，没有时为空字符串。
        url:
          type: string
          description: DEX 或发射台的 URL，没有时为空字符串。
        parent:
          type: string
          description: >-
            子市场所属父级 DEX 或发射台的键，例如 `meteora-curve` 或
            `raydium-launchpad`。顶级市场不返回此字段。
        stats:
          $ref: '#/components/schemas/LighthouseMarketStats'
      additionalProperties: false
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
      additionalProperties: false
    LighthouseMarketStats:
      type: object
      required:
        - 5m
        - 1h
        - 6h
        - 24h
      properties:
        5m:
          $ref: '#/components/schemas/LighthouseTimeframeStats'
        1h:
          $ref: '#/components/schemas/LighthouseTimeframeStats'
        6h:
          $ref: '#/components/schemas/LighthouseTimeframeStats'
        24h:
          $ref: '#/components/schemas/LighthouseTimeframeStats'
      additionalProperties: false
    LighthouseTimeframeStats:
      type: object
      required:
        - transactions
        - wallets
        - volume
        - tokensCreated
        - migrations
      properties:
        transactions:
          $ref: '#/components/schemas/SideSplitMetric'
        wallets:
          allOf:
            - $ref: '#/components/schemas/MetricWithChange'
          description: 去重交易者钱包数的近似值（HyperLogLog）。
        volume:
          allOf:
            - $ref: '#/components/schemas/SideSplitMetric'
          description: 该时间窗口的美元成交量。
        tokensCreated:
          $ref: '#/components/schemas/MetricWithChange'
        migrations:
          $ref: '#/components/schemas/MetricWithChange'
      additionalProperties: false
    SideSplitMetric:
      type: object
      required:
        - total
        - buys
        - sells
        - changePct
      properties:
        total:
          type: number
          description: 当前时间窗口的总量。
        buys:
          type: number
          description: 当前时间窗口的买方部分。
        sells:
          type: number
          description: 当前时间窗口的卖方部分。
        changePct:
          type: number
          description: '`total` 相对上一个等长时间窗口的百分比变化。上一窗口总量为 `0` 时返回 `0`。'
      additionalProperties: false
    MetricWithChange:
      type: object
      required:
        - total
        - changePct
      properties:
        total:
          type: number
          description: 当前时间窗口的值。
        changePct:
          type: number
          description: 相对上一个等长时间窗口的百分比变化。上一窗口总量为 `0` 时返回 `0`。
      additionalProperties: false
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key

````

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