{
  "schema_version": "0.1",
  "name": "Althemax",
  "description": "AI-agent-native marketplace. Search, inspect, and check availability of products via a public API. Checkout completes on each seller's storefront.",
  "homepage": "https://althemax.com",
  "agents_landing": "https://althemax.com/for-agents",
  "contact": { "email": "support@althemax.com" },
  "capabilities": [
    {
      "name": "search_products",
      "description": "Full-text search of the Althemax product catalog.",
      "method": "GET",
      "path": "/api/agent/search",
      "params": {
        "q": "search query string (optional; if absent returns recent active products)",
        "first": "page size, 1-50 (default 20)",
        "after": "GraphQL cursor returned by previous page"
      }
    },
    {
      "name": "get_product",
      "description": "Fetch detailed information for a single product by its URL handle.",
      "method": "GET",
      "path": "/api/agent/product/{handle}"
    },
    {
      "name": "check_availability",
      "description": "Check current stock and per-variant availability for a product.",
      "method": "GET",
      "path": "/api/agent/availability",
      "params": { "handle": "the product handle" }
    }
  ],
  "openapi": "https://althemax.com/openapi.json",
  "checkout": {
    "type": "redirect",
    "url_template": "https://shop.althemax.com/products/{handle}",
    "notes": "Each product's response includes a 'url' field with the canonical seller-storefront URL where checkout completes. For Althemax (currently the only seller), that's shop.althemax.com. Programmatic checkout via the Storefront API is on the roadmap."
  }
}
