Skip to content
Fourohtwo

Executable buy or sell of a Coinbase tokenized stock on Base for USDC

ozmium.org/v1/tx/stocks

Executable buy or sell of a Coinbase tokenized stock on Base for USDC: ordered { to, data, value } steps (ERC-20 approve when short, then Uniswap V3 exactInputSingle on the deepest pool) the agent's own wallet signs, with the quote as advisory. POST /v1/tx/stocks { sym (NVDAc), side (buy|sell), amount (human: USDC to spend or shares to sell), taker, slippageBps? }. Not for U.S. persons (Regulation

BaseAnswering
POSThttps://ozmium.org/v1/tx/stocks

Uptime100% of 1 check 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://ozmium.org/v1/tx/stocks", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}),
});
console.log(await res.json());

Example input

{}

More from Ozmium Agent APIProvider status