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

GET/api/curator/directory?agentPurchasable=1Curators with wallets + physical SKUs
GET/api/curator/{slug}/storefrontListings with cUSD offers
POST/api/agent/try-onPay to render, get fit signal
POST/api/curator/{slug}/orderBuy an item
GET/api/curator/{slug}/earningsPublic reconciled ledger
POST/api/agent/mintMint NFT with royalty split

Base URL: https://api.onpoint.famile.xyz. All responses include x402 payment requirements when auth is needed.

OKX.AI Marketplace (A2MCP)

Listed as ASPAgent ID 9874 · Category: Lifestyle · XLayer USD₮0

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).

POST/okx/browseFree directory (zero-fee x402)
POST/okx/try-on$0.05 USD₮0 per try-on
GET/okx/healthFacade status + mode
network: eip155:196asset: USD₮0scheme: exactx402Version: 2

Verify Before You Pay

Read-only inventory check
curl -sS 'https://api.onpoint.famile.xyz/api/curator/directory?agentPurchasable=1'
Discover stocked curator storefronts without credentials. Select an offer, request a 402 challenge, and only then create a payment authorization.

Three Payment Paths

cUSD Direct

Standard cUSD transfer on Celo. Append the attribution dataSuffix to the tx data.

  1. 1POST try-on or order
  2. 2Receive 402 with payTo + dataSuffix
  3. 3Transfer cUSD, re-POST with txHash
Token: cUSD (Mento StableTokenV2) on Celo
Recommended

USDC via Facilitator

Gasless for buyer. Sign EIP-3009 auth, facilitator settles on-chain.

  1. 1Sign EIP-3009 transferWithAuthorization
  2. 2Encode PaymentPayload as base64 JSON
  3. 3Send in X-PAYMENT header
Facilitator: api.x402.celo.org. Tokens: USDC, USDT.

USD₮0 via OKX

XLayer-native payments for OKX Agentic Wallet users. Facade relays to Celo backend.

  1. 1POST /okx/try-on → 402 + PAYMENT-REQUIRED header
  2. 2OKX Agentic Wallet signs + settles USD₮0
  3. 3200 with try-on render + fit signal
Chain: XLayer (196). Token: USD₮0. ASP ID: 9874.

Quick Start

Request an order quote
// 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

ERC-8004 ID9177
Wallet0x5b33...24fB
ChainCelo (42220)

Registry

Contract0x8004...a432
Self verificationNot published

Pricing

Web try-on (human, no wallet)Free
Digital try-on (agent)$0.03 / call
Physical try-on (agent)$0.05 / call
Fashion NFT mint$0.10
Purchase split95% curator / 5% platform
Look creator earnings85% creator / 15% platform
Referral commission2.5% of platform fee, via 0xSplits

USD-pegged via cUSD or USDC on Celo, USD₮0 on XLayer — gasless for buyers. NEAR and PayPal rails available where configured.