{
  "openapi": "3.1.0",
  "info": {
    "title": "SSANVPS Open Data API",
    "description": "Free, machine-readable open API providing daily-refreshed VPS specifications, benchmark value indexes, exchange rates, and 1-5 year domain total cost of ownership (TCO) comparisons across global registrars.",
    "version": "1.0.0",
    "contact": {
      "name": "SSANVPS Support",
      "url": "https://ssanvps.com/en/about/",
      "email": "help@ssanvps.com"
    },
    "license": {
      "name": "Free with attribution",
      "url": "https://ssanvps.com/api/"
    }
  },
  "servers": [
    {
      "url": "https://ssanvps.com",
      "description": "Production API Server"
    }
  ],
  "paths": {
    "/api/v1/index.json": {
      "get": {
        "summary": "API Catalog & Metadata",
        "description": "Returns list of available endpoints, last update date, and MCP server endpoint.",
        "operationId": "getApiCatalog",
        "responses": {
          "200": {
            "description": "API Catalog",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "api_version": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string"
                    },
                    "attribution": {
                      "type": "string"
                    },
                    "docs": {
                      "type": "string"
                    },
                    "endpoints": {
                      "type": "object"
                    },
                    "mcp": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/vps.json": {
      "get": {
        "summary": "Get All VPS Plans with Value Score",
        "description": "Returns all 320 monitored no-commitment monthly VPS plans with hardware specifications, monthly pre-tax USD prices, value score, rankings, Seoul latency, and source URLs.",
        "operationId": "getAllVpsPlans",
        "responses": {
          "200": {
            "description": "Complete list of VPS plans and providers",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "api_version": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string"
                    },
                    "attribution": {
                      "type": "string"
                    },
                    "count": {
                      "type": "integer"
                    },
                    "plans": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "provider_id": {
                            "type": "string"
                          },
                          "provider": {
                            "type": "string"
                          },
                          "plan": {
                            "type": "string"
                          },
                          "vcpu": {
                            "type": "number"
                          },
                          "ram_gb": {
                            "type": "number"
                          },
                          "disk_gb": {
                            "type": "number"
                          },
                          "usd_monthly_pretax": {
                            "type": "number"
                          },
                          "value_index": {
                            "type": "number"
                          },
                          "rank": {
                            "type": "integer"
                          },
                          "seoul_region": {
                            "type": "boolean"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/domains.json": {
      "get": {
        "summary": "Get Domain Registrar Prices (1-5 Year TCO)",
        "description": "Returns domain registration and renewal prices across 19 global/Korean registrars for .com, .net, .org, .kr, .co.kr, .io, .ai with full 1-5 year total cost of ownership.",
        "operationId": "getDomainPrices",
        "responses": {
          "200": {
            "description": "Domain pricing matrix by TLD and registrar",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "api_version": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string"
                    },
                    "tlds": {
                      "type": "object"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/mcp": {
      "post": {
        "summary": "Model Context Protocol (MCP) Endpoint",
        "description": "Streamable HTTP endpoint for AI assistants (Claude, Cursor, Antigravity) to query VPS rankings and domain prices as native tools.",
        "operationId": "mcpQuery",
        "responses": {
          "200": {
            "description": "JSON-RPC 2.0 MCP response"
          }
        }
      }
    }
  }
}