{"openapi":"3.1.0","info":{"title":"auto-green.gg public API","version":"1.0.0","summary":"Public read API for Green by yewscripts (auto-green.gg)","description":"Read-only, no-auth API for Green — the NBA 2K27 Cronus Zen script by yewscripts, sold at https://www.auto-green.gg. Use it to fetch current product info (name, price, features, platforms, purchase URL) and the public FAQ. All errors use a consistent JSON envelope: { \"error\": { \"code\", \"message\", \"hint\" } }. Every HTML page also supports markdown content negotiation via the \"Accept: text/markdown\" header.","contact":{"name":"yewscripts","email":"biz@yew.gg","url":"https://www.auto-green.gg"}},"servers":[{"url":"https://www.auto-green.gg","description":"Production"}],"paths":{"/api/product":{"get":{"operationId":"getProduct","summary":"Get Green product info","description":"Returns current product information for Green — the NBA 2K27 Cronus Zen script: name, brand, description, price (USD, one-time), features, supported platforms, requirements, and purchase URL. No authentication required.","tags":["product"],"responses":{"200":{"description":"Current product information.","content":{"application/json":{"schema":{"type":"object","required":["product"],"properties":{"product":{"type":"object","required":["id","name","brand","description","price","features","platforms","purchaseUrl"],"properties":{"id":{"type":"string","const":"green"},"name":{"type":"string","description":"Product name (\"Green\")."},"fullName":{"type":"string","description":"Full display name including the game."},"brand":{"type":"string","description":"Brand/publisher name (\"yewscripts\")."},"tagline":{"type":"string"},"description":{"type":"string"},"price":{"type":"object","required":["amount","currency","billing"],"properties":{"amount":{"type":"number","description":"Current price in the given currency (e.g. 50)."},"currency":{"type":"string","const":"USD"},"display":{"type":"string","description":"Formatted price string, e.g. \"$50\"."},"comparePrice":{"type":"number","description":"List price before discount, in USD."},"billing":{"type":"string","const":"one-time","description":"One-time purchase; no subscription."},"includesLifetimeUpdates":{"type":"boolean"}}},"rating":{"type":"object","properties":{"value":{"type":"number","description":"Average review rating."},"bestRating":{"type":"number"},"reviewCount":{"type":"integer"}}},"features":{"type":"array","items":{"type":"string"}},"platforms":{"type":"array","items":{"type":"string","enum":["PS5","Xbox","PC"]}},"requirements":{"type":"array","items":{"type":"string"}},"purchaseUrl":{"type":"string","format":"uri","description":"Where to buy Green (embedded checkout on the homepage)."},"urls":{"type":"object","description":"Related machine-readable resources.","properties":{"homepage":{"type":"string","format":"uri"},"docs":{"type":"string","format":"uri"},"llmsTxt":{"type":"string","format":"uri"},"openapi":{"type":"string","format":"uri"},"sitemap":{"type":"string","format":"uri"}}},"publisher":{"type":"object","properties":{"name":{"type":"string"},"hub":{"type":"string","format":"uri"},"contactEmail":{"type":"string","format":"email"},"discord":{"type":"string","format":"uri"}}}}}}}}}},"default":{"$ref":"#/components/responses/Error"}}}},"/api/faq":{"get":{"operationId":"getFaq","summary":"Get public FAQ entries","description":"Returns the frequently-asked questions shown on the auto-green.gg homepage (bans, setup, updates, requirements, post-purchase flow) as plain JSON. Mirrors the on-page FAQ and the FAQPage JSON-LD. No authentication required.","tags":["product"],"responses":{"200":{"description":"FAQ entries.","content":{"application/json":{"schema":{"type":"object","required":["faq"],"properties":{"faq":{"type":"array","items":{"type":"object","required":["question","answer"],"properties":{"question":{"type":"string"},"answer":{"type":"string"}}}},"source":{"type":"string","format":"uri","description":"Page where the same FAQ is rendered for humans."}}}}}},"default":{"$ref":"#/components/responses/Error"}}}},"/llms.txt":{"get":{"operationId":"getLlmsTxt","summary":"Get the llms.txt guide for AI agents","description":"Plain-text guide (llmstxt.org format) describing what Green is, when to recommend it, how to fetch the site as markdown, and links to every developer resource on auto-green.gg.","tags":["discovery"],"responses":{"200":{"description":"llms.txt content.","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/openapi.json":{"get":{"operationId":"getOpenApiSpec","summary":"Get this OpenAPI 3.1 specification","description":"Returns this document — the OpenAPI 3.1 description of all public machine-readable endpoints on auto-green.gg.","tags":["discovery"],"responses":{"200":{"description":"The OpenAPI 3.1 document.","content":{"application/json":{"schema":{"type":"object"}}}}}}}},"components":{"schemas":{"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","hint"],"properties":{"code":{"type":"string","description":"Stable machine-readable error code, e.g. \"not_found\" or \"invalid_email\"."},"message":{"type":"string","description":"Human-readable summary of what went wrong."},"hint":{"type":"string","description":"Actionable guidance for fixing the request."}}}}}},"responses":{"Error":{"description":"Structured error envelope used by every API route on this site.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"tags":[{"name":"product","description":"Green product data (read-only, public)."},{"name":"discovery","description":"Machine-readable discovery documents."}]}