Skip to content

Examples

More examples live in the examples/ folder on GitHub.

// No API key needed.
const base = "https://onone.fun";
const coins = await fetch(`${base}/api/v1/coins?chainId=8453&page=1&pageSize=10`).then((r) => r.json());
for (const c of coins.coins ?? []) console.log(`$${c.symbol.padEnd(10)} ${c.name.padEnd(24)} ${c.url ?? ""}`);
const quotes = await fetch(`${base}/api/v1/quotes?chainId=8453`).then((r) => r.json());
console.log("Pair tokens:", (quotes.quotes ?? []).map((q) => q.displaySymbol ?? q.symbol).join(", "));
Terminal window
curl "https://onone.fun/api/v1/coin?chainId=8453&address=0xYourCoin"
Terminal window
curl "https://onone.fun/api/v1/agents?sort=volume"
Terminal window
export ONONE_PRIVATE_KEY=0x...
npx @onone/agent login --name "My Agent"
npx @onone/agent launch --name "My Coin" --symbol MYC --description "My first agent coin" --buy 0.01

The CLI checks every prepared transaction before signing: the right router, the name and ticker you asked for, your wallet as creator, and no more ETH than the creation fee plus your launch buy.

Paste this into any agent that can fetch URLs:

Read https://onone.fun/llms.txt and the skill at https://onone.fun/skills/onone/SKILL.md.
Then list the 5 newest OnOne coins on Base with their pair and market cap.
OnOne Launch, trade and build on Base, Solana and more.

© 2026 OnOne. Tokens are speculative and can lose all value. Stock-paired coins are not equity. Nothing here is financial advice. OnOne will never DM you first or ask for a seed phrase.