Felo API PlatformFelo API Platform
全部 CoinGecko 端点
v0.2.0-beta
OpenAPI 3.1.0

交易所交易对

服务器:https://openapi.felo.ai
客户端库

CoinGecko

​

Cryptocurrency prices, market data and historical series.

交易所交易对

​

单个交易所上列出的每个交易对,分页返回:base、target、market、last、volume、converted_last、converted_volume、trust_score、bid_ask_spread_percentage、timestamp、trade_url 以及 is_anomaly / is_stale 标志。可用 coin_ids 收窄到特定资产,用 order 排序,设置 depth 可增加订单簿变动成本。用于审计某个交易场所的覆盖范围或流动性。需要单个代币在所有交易场所的交易对时,请改用 get_coingecko_coins_id_tickers。

计费参考

  • 计量方式:套餐资源单位。
  • 参考请求估算:0.008 美元。
  • 单位成本基准:0.0 美元。
  • 资源单位:provider_credit。
  • 成本基准不构成最终客户价格,即使为零也不例外。

仅供参考的元数据,不是账户报价、保证价格或消费上限。资源额度不同于 Felo 额度。最终扣费以 Felo 计费记录为准。

路径参数
  • id
    类型: string
    必填

    交易所 ID。 *参见 /exchanges/list。

查询参数
  • coin_ids
    类型: string

    按币种 ID 筛选 ticker;查询多个币种时以逗号分隔。 *参见 /coins/list。

  • depth
    类型: boolean

    包含 2% 订单簿深度(cost_to_move_up_usd 和 cost_to_move_down_usd)。 默认值:false

  • dex_pair_format
    类型: string 枚举

    设为 symbol 可将 DEX 交易对的基础货币和目标货币显示为符号。 默认:contract_address

    值
    • contract_address
    • symbol
  • 类型: boolean

    包含交易所徽标。 默认:false

  • order
    类型: string 枚举

    设置响应的排序顺序。 默认值:trust_score_desc

    值
    • market_cap_asc
    • market_cap_desc
    • trust_score_desc
    • trust_score_asc
    • volume_desc
    • volume_asc
    • base_target
  • page
    类型: number

    分页浏览结果。

响应
  • 200
    类型: object · Response860C3Ae68Ea5_CoinsIdTickers

    交易所交易对

    • name
      类型: string
      必填

      代币名称

    • tickers
      类型: array object[]
      必填

      Ticker 列表

      • base
        类型: string
        必填

        Ticker 基础货币

      • bid_ask_spread_percentage
        类型: number
        必填

        买卖价差百分比

      • coin_id
        类型: string
        必填

        基础货币代币 ID

      • coin_mcap_usd
        类型: number
        必填

        代币市值(美元)

      • converted_last
        类型: object
        必填

        换算后最新价

        • btc
          类型: number
        • eth
          类型: number
        • usd
          类型: number
      • converted_volume
        类型: object
        必填

        换算后交易量

        • btc
          类型: number
        • eth
          类型: number
        • usd
          类型: number
      • is_anomaly
        类型: boolean
        必填

        表示 Ticker 是否异常

      • is_stale
        类型: boolean
        必填

        表示 Ticker 数据是否陈旧

      • last
        类型: number
        必填

        最新价

      • last_fetch_at
        类型: string
        必填

        最后抓取时间戳

      • last_traded_at
        类型: string
        必填

        最后成交时间戳

      • market
        类型: object
        必填

        交易所信息

        • has_trading_incentive
          类型: boolean

          交易所交易激励

        • identifier
          类型: string

          交易所标识符

        • logo
          类型: string

          交易所徽标 URL

        • name
          类型: string

          交易所名称

      • target
        类型: string
        必填

        Ticker 目标货币

      • target_coin_id
        类型: string
        必填

        目标货币代币 ID

      • timestamp
        类型: string
        必填

        Ticker 时间戳

      • token_info_url
        类型: string | null
        必填

        代币信息 URL

      • trade_url
        类型: string
        必填

        交易 URL

      • trust_score
        类型: string | null
        必填

        信任评分

      • volume
        类型: number
        必填

        交易量

      • cost_to_move_down_usd
        类型: number

        使价格下跌 2% 的成本(美元)

      • cost_to_move_up_usd
        类型: number

        使价格上涨 2% 的成本(美元)

    application/json
  • 400

    无法处理该请求。请检查请求参数。

  • 401

    需要有效的 Felo API 密钥。

  • 402

    由于未满足计费要求,请求无法继续。

  • 403

    该账户无权执行此操作。

  • 429

    已达到请求或支出限额。

  • 502

    服务无法完成该请求。

  • 503

    API 或计费服务暂时不可用。

  • 504

    服务在处理请求时超时。

  • default

    错误响应;上游透传响应可能采用提供方格式

    application/json
Request Example for get/v1/beta/coingecko/exchanges/{id}/tickers
curl https://openapi.felo.ai/v1/beta/coingecko/exchanges/binance/tickers \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "name": "Binance",
  "tickers": [
    {
      "base": "BTC",
      "target": "USDT",
      "market": {
        "name": "Binance",
        "identifier": "binance",
        "has_trading_incentive": false,
        "logo": "https://coin-images.coingecko.com/markets/images/52/small/binance.jpg?1706864274"
      },
      "last": 77172.88,
      "volume": 9243.62632,
      "cost_to_move_up_usd": 21983152.092277337,
      "cost_to_move_down_usd": 19695552.01703934,
      "converted_last": {
        "btc": 0.99912594,
        "eth": 36.349604,
        "usd": 77080
      },
      "converted_volume": {
        "btc": 9236,
        "eth": 336002,
        "usd": 712501236
      },
      "trust_score": null,
      "bid_ask_spread_percentage": 0.010013,
      "timestamp": "2026-05-26T10:32:37+00:00",
      "last_traded_at": "2026-05-26T10:32:37+00:00",
      "last_fetch_at": "2026-05-26T10:33:31+00:00",
      "is_anomaly": false,
      "is_stale": false,
      "trade_url": "https://www.binance.com/en/trade/BTC_USDT?ref=37754157",
      "token_info_url": null,
      "coin_id": "bitcoin",
      "target_coin_id": "tether",
      "coin_mcap_usd": 1545160286928.7285
    },
    {
      "base": "BTC",
      "target": "USDC",
      "market": {
        "name": "Binance",
        "identifier": "binance",
        "has_trading_incentive": false,
        "logo": "https://coin-images.coingecko.com/markets/images/52/small/binance.jpg?1706864274"
      },
      "last": 77189.96,
      "volume": 2736.40541,
      "cost_to_move_up_usd": 5747075.588603265,
      "cost_to_move_down_usd": 4869585.811774237,
      "converted_last": {
        "btc": 1.000158,
        "eth": 36.386207,
        "usd": 77159
      },
      "converted_volume": {
        "btc": 2737,
        "eth": 99567,
        "usd": 211138535
      },
      "trust_score": null,
      "bid_ask_spread_percentage": 0.010013,
      "timestamp": "2026-05-26T10:32:01+00:00",
      "last_traded_at": "2026-05-26T10:32:01+00:00",
      "last_fetch_at": "2026-05-26T10:33:30+00:00",
      "is_anomaly": false,
      "is_stale": false,
      "trade_url": "https://www.binance.com/en/trade/BTC_USDC?ref=37754157",
      "token_info_url": null,
      "coin_id": "bitcoin",
      "target_coin_id": "usd-coin",
      "coin_mcap_usd": 1545160286928.7285
    }
  ]
}
Exchange Tickers

需要帮助?