行情数据

一个接口获取 100 个加密货币交易对、37 个外汇货币对、11 种商品的实时价格与日线历史。以 USDC 按次计费,每次 $0.0011,无需订阅。

一个接口获取 100 个加密货币交易对、37 个外汇货币对、11 种商品的实时价格与日线历史。以 USDC 按次计费,每次 $0.0011,无需订阅。

下列每个端点都可以用同一个 API 密钥调用,或通过 x402 以 USDC 按次付费。没有订阅,也没有最低消费,用多少付多少。

Crypto Prices

100 crypto pairs with realtime quotes and daily history

Spot prices for the 100 covered pairs (BTC-USD, ETH-USD, SOL-USD and the rest of the major set), plus daily-resolution history by Unix epoch range. The catalogue endpoint lists every covered symbol, so a pipeline can discover coverage rather than hardcoding it.

定价: $0.0011/call

付款方式端点价格说明信息
GET/crypto/list$0.0011Every covered crypto symbol (100)
GET/crypto/price/BTC-USD$0.0011Realtime pair price
GET/crypto/history/BTC-USD?resolution=D&from={unix}&to={unix}$0.0011Daily OHLC bars over a range

FX Rates

37 currency pairs with realtime rates and daily history

Foreign-exchange rates across the 37 covered pairs (EUR-USD, GBP-USD, USD-JPY and others), with the same realtime and daily-history shape as the other categories. History takes a Unix epoch range.

定价: $0.0011/call

付款方式端点价格说明信息
GET/fx/list$0.0011Every covered FX pair (37)
GET/fx/price/EUR-USD$0.0011Realtime pair rate
GET/fx/history/EUR-USD?resolution=D&from={unix}&to={unix}$0.0011Daily bars over a range

Commodity Prices

11 commodities including metals and energy

Spot prices for the 11 covered commodities — gold (XAU-USD), silver (XAG-USD) and the energy set — with daily history over a Unix epoch range. Same request shape as crypto and FX, so one client covers all three.

定价: $0.0011/call

付款方式端点价格说明信息
GET/commodity/list$0.0011Every covered commodity (11)
GET/commodity/price/XAU-USD$0.0011Realtime spot price
GET/commodity/history/XAU-USD?resolution=D&from={unix}&to={unix}$0.0011Daily bars over a range

如何付费

直接调用任意端点。不带密钥时会收到 HTTP 402,其中写明精确的 USDC 价格;用 Base 或 Solana 钱包签名该报价后重发请求即可。使用账户 API 密钥时,同一请求改为从余额扣费。

curl -i https://api.jarvisclaw.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"auto/free","messages":[{"role":"user","content":"Hello"}]}'