Skip to content
Fourohtwo

Cost-optimised endpoint selection

datastand.dev/api/bazaar/cheapest

Cost-optimised endpoint selection: name a capability (web search, token safety, enrichment) and get the x402 endpoints that provide it ranked cheapest-first in USDC per call, with adoption stats. Refreshed daily from the Bazaar discovery index. The corpus is the most-used slice of the Bazaar, so read `price_floor_complete` and `corpus.cutoff` for whether the price floor you get is the Bazaar's or

BaseUnchecked
GEThttps://datastand.dev/api/bazaar/cheapest

UptimeNot checked yet

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://datastand.dev/api/bazaar/cheapest?capability=web+search&limit=20&min_payers=1&offset=0");
console.log(await res.json());

Example input

{
  "capability": "web search",
  "limit": "20",
  "min_payers": "1",
  "offset": "0"
}