{
  "openapi": "3.1.0",
  "info": {
    "title": "SEO Package Price Calculator Public Calculator API",
    "version": "1.0.0",
    "description": "Free source-cited monthly SEO retainer and first-year package price estimator based on deliverables (articles, backlinks, technical hours, strategy hours, and one-off audit).",
    "contact": {
      "url": "https://seopackageprice.com/"
    }
  },
  "servers": [
    {
      "url": "https://seopackageprice.com"
    }
  ],
  "paths": {
    "/api/v1/calculate": {
      "get": {
        "operationId": "estimate_seo_package_price_get",
        "summary": "Estimate source-backed monthly SEO package cost and first-year budget from a preset or deliverable quantities.",
        "parameters": [
          {
            "name": "preset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "starter"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Deterministic JSON calculation result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "estimate_seo_package_price",
        "summary": "Estimate source-backed monthly SEO package cost and first-year budget from a preset or deliverable quantities.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "preset": {
                    "type": "string",
                    "description": "Package preset (starter, growth, scale)"
                  },
                  "articles": {
                    "type": "integer",
                    "description": "Monthly articles count"
                  },
                  "links": {
                    "type": "integer",
                    "description": "Monthly editorial links count"
                  },
                  "techHours": {
                    "type": "integer",
                    "description": "Monthly technical SEO hours"
                  },
                  "strategyHours": {
                    "type": "integer",
                    "description": "Monthly strategy hours"
                  }
                }
              },
              "example": {
                "preset": "starter"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Deterministic JSON calculation result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/mcp": {
      "post": {
        "operationId": "estimate_seo_package_price_mcp",
        "summary": "Estimate Monthly SEO Package Price stateless MCP JSON-RPC 2.0 endpoint",
        "responses": {
          "200": {
            "description": "JSON-RPC 2.0 response"
          }
        }
      }
    }
  }
}
