Skip to content
AgentCarts.ai
REST + JSON Schema

Add agent-commerce rails to any ecommerce app.

Use one API to expose product data, policies, availability, checkout links, and merchant trust signals to AI agents — without building custom agent infrastructure from scratch.

Built for developers

A clean API designed for the agent era.

Small, deterministic, well-documented. The agent layer of your stack should feel like calling Stripe — not scraping a storefront.

REST API + JSON schema

A small surface area: products, policies, checkout intents. Open schemas, no vendor SDK required.

Webhooks

Subscribe to product, inventory, and policy events so agents always see the freshest state.

Agent discovery endpoint

/.well-known/agent-commerce.json broadcasts capabilities and endpoints to any compliant agent.

Platform-agnostic

Built for Shopify first. Extensible to WooCommerce, custom storefronts, and headless commerce.

Endpoints
GET /agent/products
GET /agent/policies
POST /agent/checkout-intent
GET /.well-known/agent-commerce.json
GET /agent/products
{
  "merchant": "Example Store",
  "products": [
    {
      "id": "prod_8421",
      "name": "Standing Desk Pro",
      "price": { "amount": 299, "currency": "USD" },
      "availability": "in_stock",
      "constraints": ["under_50lbs", "wood_top"],
      "scores": { "durability": 8.7, "assembly": 6.2 },
      "agent_summary": "Best budget standing desk under $300",
      "policies": { "returns": "30d", "warranty": "5y" }
    }
  ]
}
POST /agent/checkout-intent
{
  "agent_id": "agt_anthropic_001",
  "user_consent": "handoff_required",
  "items": [
    { "product_id": "prod_8421", "qty": 1 }
  ],
  "ship_to": { "country": "US" }
}
Response
{
  "intent_id": "int_9af72",
  "checkout_url": "https://example.com/c/int_9af72",
  "expires_at": "2026-05-02T10:00:00Z",
  "permissions": "handoff_required"
}
Build with us

Want to ship agent-commerce in your platform?

We're onboarding select developer partners to extend AgentCarts beyond Shopify.

Become a partner