Skip to content
Fourohtwo

http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/crypto/spot-price

Return one current Coinbase spot-product snapshot for an exact BASE-QUOTE product id, including venue price, 24-hour price change and provider-reported 24-hour product volume. Forest reads only Coinbase Advanced Trade public market data; it does not infer tickers, infer the provider volume denomination, aggregate venues, read an account or wallet, place orders, provide an executable quote, forecas

BaseAnswering
POSThttps://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/crypto/spot-price

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/crypto/spot-price", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"product":"BTC-USD"}),
});
console.log(await res.json());

Example input

{
  "product": "BTC-USD"
}

More from Forest MarketsProvider status