You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Coinbase API账户列表接口pagination已移除?文档未同步求解决方案

Coinbase API账户列表接口已移除pagination对象,官方文档未同步更新

我对比了分页功能移除前后的接口返回值,确认Coinbase已经移除了账户列表接口的pagination功能,但官方文档还没同步更新。

我目前在通过Coinbase API获取账户列表,按照官方文档的描述,接口响应应该包含pagination对象和data数组——pagination对象对处理大型数据集的高效分页导航至关重要。

但最近调用接口时,响应里完全没有pagination对象,只返回了data数组。这种和文档不符的情况,已经给数据处理和应用功能带来了严重问题。

响应示例

实际获取的响应:

{
  "data": [
    {
      "allow_deposits": true,
      "allow_withdrawals": true,
      "balance": { "amount": "0.00000000", "currency": "BIGTIME" },
      "created_at": "2023-11-22T17:19:42Z",
      ...
    },
    ...
  ]
}

文档描述的预期响应:

{
  "pagination": {
    "ending_before": null,
    "starting_after": null,
    "limit": 25,
    "order": "desc",
    "previous_uri": null,
    "next_uri": null
  },
  "data": [
    {
      "id": "58542935-67b5-56e1-a3f9-42686e07fa40",
      "name": "My Vault",
      ...
    },
    ...
  ]
}

想问下有没有其他开发者遇到过这个问题?或者是不是旧版本API实现的问题?求分页功能相关的解决方案。

内容的提问来源于stack exchange,提问作者Ahmed Esmail

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.03 20:40:26