跳转到主要内容
GET
按 Token 地址获取代币数据
按合约地址而非 CoinGecko id 查询完整的币种档案。id 是资产所在链,contract_address 是代币地址;两者均为必填,且没有其他参数。返回结构与 get_coingecko_coins_id 相同——description、links、image、categories、platforms、detail_platforms、market_cap_rank、market_data 区块和内嵌的 tickers 数组——并额外包含 contract_address 本身。适合用于从地址识别未知代币。如果只需要当前价格,get_coingecko_simple_token_price_id 更轻量。
第一次用? 把任意 MCP 客户端指向 https://mcp.aisa.one/mcp —— Claude Code、 Codex、Cursor、VS Code 都可以。鉴权走 OAuth:客户端打开浏览器,你点一次 Allow,不需要粘贴任何 key。之后智能体通过几个元工具调用所有端点: search、list_categories、get_details 和 batch_quote 免费,batch_use 按次计费。各客户端的接入步骤见通过 MCP 连接;实时工具列表和 每次调用的价格见 aisa.one/zh-cn/mcp。
在你的 agent 里把这个端点跑起来 →

请求规范

  • 方法与路径: GET /apis/v1/coingecko/coins/{id}/contract/{contract_address}
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/coingecko/coins/{id}/contract/{contract_address}
  • contract_address: path; 必填
  • id: path; 必填
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

公开参考价格:每次成功请求 $0.008 USD。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

contract_address
string
默认值:0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
必填

The contract address of token.

id
string
默认值:ethereum
必填

Asset platform ID. *refers to /asset_platforms.

响应

Coin data by token contract address

additional_notices
string[]
必填

Additional notices

asset_platform_id
string | null
必填

Coin asset platform ID

block_time_in_minutes
number
必填

Blockchain block time in minutes

categories
string[]
必填

Coin categories

contract_address
string
必填

Coin contract address

country_origin
string
必填

Country of origin

description
object
必填

Coin description

detail_platforms
object
必填

Detailed coin asset platform and contract address

genesis_date
string | null
必填

Genesis date

has_supply_breakdown
boolean
必填

Whether detailed supply breakdown data is available via /coins/supply_breakdown

hashing_algorithm
string | null
必填

Blockchain hashing algorithm

id
string
必填

Coin ID

image
object
必填

Coin image URL

last_updated
string
必填

Last updated timestamp

链接

market_cap_rank
integer | null
必填

Market cap rank

market_cap_rank_with_rehypothecated
integer | null
必填

Market cap rank including rehypothecated tokens

name
string
必填

Coin name

platforms
object
必填

Coin asset platform and contract address

preview_listing
boolean
必填

Preview listing coin

public_notice
string | null
必填

Public notice

sentiment_votes_down_percentage
number | null
必填

Sentiment votes down percentage

sentiment_votes_up_percentage
number | null
必填

Sentiment votes up percentage

status_updates
object[]
必填

Status updates

symbol
string
必填

Coin symbol

watchlist_portfolio_users
number
必填

Number of users watching this coin in portfolio

web_slug
string
必填

Coin web slug

localization
object

Coin name localization

market_data
object

Market data

tickers
object[]

Tickers