{
  "openapi": "3.1.0",
  "info": {
    "title": "AppGate Pack API",
    "version": "1.0.0",
    "description": "Free Guideline 4.2 / 4.3 / metadata precheck and Capacitor evidence checklist for vibe-coded and WebView apps. Not legal advice. No approval guarantee. We never log into App Store Connect.\n\nFree, no API key, CORS open. Fair use: about 120 requests per minute per IP. Also available as MCP tools at https://free-agent-tools.vercel.app/mcp"
  },
  "servers": [
    {
      "url": "https://appgate-pack.vercel.app"
    }
  ],
  "paths": {
    "/api/precheck": {
      "get": {
        "operationId": "appStoreWrapperPrecheck",
        "summary": "Precheck an iOS app for App Store Guideline 4.2 (minimum functionality / web wrapper), 4.3 (spam / clone), and metadata rejection risk",
        "description": "For Capacitor, WebView, PWA-shell, React Native, or vibe-coded apps. Give the app name, a one-line description, the stack, and up to three key features. Returns an overall HIGH / MED / LOW risk, per-guideline scores (0-100) with reasons, and how strongly each feature reads as native (high / medium / low signal).\n\nExample: https://appgate-pack.vercel.app/api/precheck?name=FluxNotes&description=Our%20web%20app%20in%20an%20iOS%20shell&stack=capacitor&f1=Splash%20screen&f2=Pull%20to%20refresh&f3=Capacitor%20plugins",
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "required": true,
            "description": "App name as it would appear on the App Store.",
            "schema": {
              "type": "string",
              "description": "App name as it would appear on the App Store."
            }
          },
          {
            "name": "description",
            "in": "query",
            "required": true,
            "description": "One-line description of what the app does.",
            "schema": {
              "type": "string",
              "description": "One-line description of what the app does."
            }
          },
          {
            "name": "stack",
            "in": "query",
            "required": true,
            "description": "How the app is built.",
            "schema": {
              "type": "string",
              "description": "How the app is built.",
              "enum": [
                "capacitor",
                "webview",
                "react-native",
                "pwa",
                "other"
              ]
            }
          },
          {
            "name": "f1",
            "in": "query",
            "required": false,
            "description": "Feature 1 (GET alternative to features).",
            "schema": {
              "type": "string",
              "description": "Feature 1 (GET alternative to features)."
            }
          },
          {
            "name": "f2",
            "in": "query",
            "required": false,
            "description": "Feature 2.",
            "schema": {
              "type": "string",
              "description": "Feature 2."
            }
          },
          {
            "name": "f3",
            "in": "query",
            "required": false,
            "description": "Feature 3.",
            "schema": {
              "type": "string",
              "description": "Feature 3."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Result as JSON. Always includes a `disclaimer` field.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid input. The body explains what to send and gives an example."
          },
          "429": {
            "description": "Too many requests from one IP. Retry after the Retry-After seconds."
          }
        }
      },
      "post": {
        "operationId": "appStoreWrapperPrecheckPost",
        "summary": "Precheck an iOS app for App Store Guideline 4.2 (minimum functionality / web wrapper), 4.3 (spam / clone), and metadata rejection risk (JSON body)",
        "description": "For Capacitor, WebView, PWA-shell, React Native, or vibe-coded apps. Give the app name, a one-line description, the stack, and up to three key features. Returns an overall HIGH / MED / LOW risk, per-guideline scores (0-100) with reasons, and how strongly each feature reads as native (high / medium / low signal).",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "description",
                  "stack"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "App name as it would appear on the App Store."
                  },
                  "description": {
                    "type": "string",
                    "description": "One-line description of what the app does."
                  },
                  "stack": {
                    "type": "string",
                    "description": "How the app is built.",
                    "enum": [
                      "capacitor",
                      "webview",
                      "react-native",
                      "pwa",
                      "other"
                    ]
                  },
                  "features": {
                    "type": "array",
                    "description": "Up to three key features, e.g. [\"Home screen widget\", \"iOS share sheet\", \"Face ID lock\"]. For GET use f1, f2, f3 or features=a|b|c.",
                    "items": {
                      "type": "string"
                    }
                  },
                  "f1": {
                    "type": "string",
                    "description": "Feature 1 (GET alternative to features)."
                  },
                  "f2": {
                    "type": "string",
                    "description": "Feature 2."
                  },
                  "f3": {
                    "type": "string",
                    "description": "Feature 3."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Result as JSON. Always includes a `disclaimer` field.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid input. The body explains what to send and gives an example."
          },
          "429": {
            "description": "Too many requests from one IP. Retry after the Retry-After seconds."
          }
        }
      }
    }
  }
}