{
  "openapi": "3.1.0",
  "info": {
    "title": "FastSocialz public API",
    "version": "1.0.0",
    "summary": "Public, unauthenticated HTTP endpoints exposed by fastsocialz.com.",
    "description": "FastSocialz is a managed social media growth service. Ordering and account data are not exposed publicly; these endpoints cover public utilities only.",
    "contact": { "name": "FastSocialz support", "email": "support@fastsocialz.com" }
  },
  "servers": [{ "url": "https://fastsocialz.com" }],
  "paths": {
    "/api/public/audience/check": {
      "get": {
        "operationId": "checkAudience",
        "summary": "Audience-quality snapshot for a public social profile",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": { "type": "string", "format": "uri" },
            "description": "Public profile URL to inspect."
          }
        ],
        "responses": {
          "200": {
            "description": "Audience-quality summary",
            "content": { "application/json": { "schema": { "type": "object" } } }
          },
          "400": { "description": "Missing or invalid url" }
        }
      }
    },
    "/api/public/unsubscribe": {
      "get": {
        "operationId": "unsubscribe",
        "summary": "One-click unsubscribe from marketing email",
        "parameters": [
          {
            "name": "t",
            "in": "query",
            "required": true,
            "schema": { "type": "string" },
            "description": "Signed unsubscribe token from the email footer."
          }
        ],
        "responses": {
          "200": { "description": "Unsubscribed" },
          "400": { "description": "Invalid or expired token" }
        }
      }
    },
    "/sitemap.xml": {
      "get": {
        "operationId": "getSitemap",
        "summary": "XML sitemap of public pages",
        "responses": {
          "200": {
            "description": "Sitemap",
            "content": { "application/xml": { "schema": { "type": "string" } } }
          }
        }
      }
    },
    "/llms.txt": {
      "get": {
        "operationId": "getLlmsTxt",
        "summary": "Agent-readable index of the site",
        "responses": {
          "200": {
            "description": "llms.txt",
            "content": { "text/plain": { "schema": { "type": "string" } } }
          }
        }
      }
    }
  }
}
