Skip to content
Fourohtwo

flat-rate-llm.kikoribera03.workers.dev/v1/random/pick

Use when an agent has several options and no reason to prefer any, and the choice has to be defensible: picks one or more items from the list you send, with or without repeats, and tells you how many it had to choose from. Do not use to order the whole list (/v1/random/shuffle) or to draw a number in a range (/v1/random/number). No API key, no account.

BasePolygonArbitrumAnswering
GEThttps://flat-rate-llm.kikoribera03.workers.dev/v1/random/pick

Uptime100% of 4 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://flat-rate-llm.kikoribera03.workers.dev/v1/random/pick?count=1&items=red%2Cgreen%2Cblue");
console.log(await res.json());

Example input

{
  "count": 1,
  "items": "red,green,blue"
}