{
  "openapi": "3.1.0",
  "info": {
    "title": "AI SEO Pricing Calculator Public API",
    "version": "1.0.0",
    "description": "Free source-cited AI SEO and GEO monthly pricing lane estimator (DIY tools, hybrid editorial, and managed lanes). No API key required."
  },
  "servers": [
    {
      "url": "https://aiseopricing.com"
    }
  ],
  "paths": {
    "/api/v1/calculate": {
      "get": {
        "operationId": "estimate_ai_seo_pricing",
        "summary": "AI SEO Pricing Calculator Public API",
        "parameters": [
          {
            "name": "lane",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "diy_tools",
                "hybrid_editorial",
                "managed_agency"
              ]
            }
          },
          {
            "name": "articlesPerMonth",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 8
            }
          },
          {
            "name": "includeGeoTracking",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Deterministic JSON calculation result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "estimate_ai_seo_pricing_post",
        "summary": "AI SEO Pricing Calculator Public API (JSON body)",
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Deterministic JSON calculation result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/mcp": {
      "post": {
        "operationId": "mcp_jsonrpc",
        "summary": "Stateless MCP JSON-RPC 2.0 endpoint",
        "responses": {
          "200": {
            "description": "JSON-RPC 2.0 response"
          }
        }
      }
    },
    "/api/v1/a2a": {
      "post": {
        "operationId": "a2a_jsonrpc",
        "summary": "Google A2A JSON-RPC 2.0 endpoint",
        "responses": {
          "200": {
            "description": "A2A task result"
          }
        }
      }
    }
  },
  "x-example-request": "https://aiseopricing.com/api/v1/calculate?lane=hybrid_editorial&articlesPerMonth=8"
}
