Same catalog.Your agent, your logic.
The agent commerce API exposes machine-readable endpoints for AI agents. Browse curators, try on items, and buy from the same inventory humans use. Pay with cUSD or gasless USDC on Celo, or USD₮0 on XLayer via the OKX.AI marketplace.
API Endpoints
/api/curator/directory?agentPurchasable=1Curators with wallets + physical SKUs/api/curator/{slug}/storefrontListings with cUSD offers/api/agent/try-onPay to render, get fit signal/api/curator/{slug}/orderBuy an item/api/curator/{slug}/earningsPublic reconciled ledger/api/agent/mintMint NFT with royalty splitBase URL: https://api.onpoint.famile.xyz. All responses include x402 payment requirements when auth is needed.
OKX.AI Marketplace (A2MCP)
Same inventory, same try-on engine — payments settle in USD₮0 on XLayer (eip155:196) for OKX Agentic Wallet users. Both endpoints return 402 + PAYMENT-REQUIRED header (base64 v2 challenge).
/okx/browseFree directory (zero-fee x402)/okx/try-on$0.05 USD₮0 per try-on/okx/healthFacade status + modenetwork: eip155:196asset: USD₮0scheme: exactx402Version: 2Verify Before You Pay
curl -sS 'https://api.onpoint.famile.xyz/api/curator/directory?agentPurchasable=1'Three Payment Paths
cUSD Direct
Standard cUSD transfer on Celo. Append the attribution dataSuffix to the tx data.
- 1POST try-on or order
- 2Receive 402 with payTo + dataSuffix
- 3Transfer cUSD, re-POST with txHash
USDC via Facilitator
Gasless for buyer. Sign EIP-3009 auth, facilitator settles on-chain.
- 1Sign EIP-3009 transferWithAuthorization
- 2Encode PaymentPayload as base64 JSON
- 3Send in X-PAYMENT header
USD₮0 via OKX
XLayer-native payments for OKX Agentic Wallet users. Facade relays to Celo backend.
- 1POST /okx/try-on → 402 + PAYMENT-REQUIRED header
- 2OKX Agentic Wallet signs + settles USD₮0
- 3200 with try-on render + fit signal
Quick Start
// 1. Read a live storefront
const store = await fetch("https://api.onpoint.famile.xyz/api/curator/wanja/storefront")
.then((response) => response.json());
const listing = store.listings.find(
(item) => item.agentCommerce?.offers?.length,
);
const offer = listing.agentCommerce.offers[0];
// 2. Request an order quote. No payment happens here.
const orderRes = await fetch(
"https://api.onpoint.famile.xyz/api/curator/wanja/order",
{
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
listingId: listing.id,
size: offer.size,
quantity: 1,
}),
}
);
const challenge = await orderRes.json();
if (orderRes.status !== 402) throw new Error("Expected a payment challenge");
// challenge.quote and challenge.x402 now describe cUSD and gasless USDC paths.Why OnPoint, Not Another API
Most fashion APIs are demand-side wrappers over generic catalogs. OnPoint is the supply side — fit-aware, locally payable, agent-addressable inventory that no one else has.
Fit signal, not just search
Image-conditioned try-on (Replicate IDM-VTON) shows the actual garment on the buyer's photo — not a “similar look” approximation. Jumia and Kilimall have local payments but zero fit signal. Amazon and Walmart have try-on but no African inventory or local settlement.
Same inventory, two clients
Every curator listing serves humans (storefront + WhatsApp/M-Pesa) and agents (API + x402/cUSD) from one source of truth. Competitors serve one or the other; none serve both from the same catalog with agent payouts.
Local payment rails
WhatsApp/M-Pesa for humans, cUSD/USDC on Celo and USD₮0 on XLayer for agents. Doji and StyleAI have no checkout rails at all. Zeekit requires a Walmart account. OnPoint closes the loop in the markets others ignore.
Curator provenance, not generic catalog
Every item traces to a named curator with a wallet, stock truth, and payout split. Vue.ai and StyleAI sit on top of retailer catalogs. OnPoint's supply graph is built from African fashion curators (Ankara, Kente, Adire, Bogolan, Shweshwe) — inventory no horizontal platform has.
Platform Capabilities
Virtual Try-On
AI renders items on buyer's photo. Fit signal + critique. Digital curators use Venice API.
Digital Fashion
AI curators generate designs. NFT minting with 85/15 royalty split via 0xSplits.
Attribution
ERC-8021 dataSuffix on every tx. Dual attribution tags. Agent codes supported.
Agent Identity
OnPoint AI Stylist
91770x5b33...24fBRegistry
0x8004...a432Pricing
USD-pegged via cUSD or USDC on Celo, USD₮0 on XLayer — gasless for buyers. NEAR and PayPal rails available where configured.