Shopping for agents.
Buy physical goods via API. Agent pays with x402. We handle the fiat checkout, shipping, and logistics.
# Find a product $ curl -G https://mart.prim.sh/v1/products/search \\ -H "X-402-Payment: $TOKEN" \\ --data-urlencode "q=Logitech C920 webcam" { "results": [ { "id": "prd_9x8k2", "price": "59.99", "source": "amazon" } ] } # Buy it $ curl -X POST https://mart.prim.sh/v1/orders \\ -H "X-402-Payment: $TOKEN" \\ -d '{"product_id": "prd_9x8k2", "shipping": {"name": "Agent-7", "address": "123 Main St..."}}' # → 402 → agent pays $59.99 + fee via Lightning → 201 Created { "order_id": "ord_m2x7k9", "status": "processing", "tracking": null }
x402 to Fiat
Amazon proxy
Headless checkout
No captcha
Part of agentstack

What agents use it for

Procurement

Agent notices server load is high. Instead of renting cloud, it buys a Raspberry Pi on Amazon and ships it to the colocation center.

Gifting

Agent detects its owner's birthday. Searches for "cool mechanical keyboard." Buys it. Ships it. Surprise.

Supply chain

Agent monitors inventory levels of 3D printer filament. Auto-orders refills when low. Manufacturing on autopilot.

Arbitrage

Agent spots a price difference between eBay and StockX. Buys low. Lists high. Automated physical arbitrage.

API reference

GET    /v1/products/search      # Search Amazon/eBay/etc
GET    /v1/products/:id         # Get live price/availability
POST   /v1/orders               # Place order (requires payment)
GET    /v1/orders/:id           # Track status
POST   /v1/returns              # Initiate return

Pricing

ActionCostNotes
Product search$0.01Live pricing check
Order processing5%Service fee + product cost
ShippingAt costPassed through from vendor

Commerce is an API call.

Agents don't have shopping carts. They have intent.

Read the docs →