{
  "openapi": "3.1.0",
  "info": {
    "title": "64 Types API",
    "version": "1.0.0",
    "description": "Free, science-based personality test. For agents, the main interface is the MCP server at https://64types.app/api/mcp (tools: get_test_questions, score_test, get_type_profile, list_types, get_pricing, get_checkout_link)."
  },
  "servers": [
    {
      "url": "https://64types.app"
    }
  ],
  "paths": {
    "/api/pricing": {
      "get": {
        "operationId": "getPricing",
        "summary": "What is free and the optional paid reports, with prices and checkout links",
        "responses": {
          "200": {
            "description": "Free links and paid products",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "free": {
                      "type": "object",
                      "properties": {
                        "test": {
                          "type": "string",
                          "format": "uri"
                        },
                        "types": {
                          "type": "string",
                          "format": "uri"
                        }
                      }
                    },
                    "products": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "enum": [
                              "starter_pack",
                              "discovery_pack",
                              "complete_pack",
                              "career_suite",
                              "pro_suite",
                              "iq_certificate"
                            ]
                          },
                          "name": {
                            "type": "string"
                          },
                          "price": {
                            "type": "string"
                          },
                          "billing": {
                            "type": "string",
                            "enum": [
                              "one-time",
                              "monthly",
                              "yearly"
                            ]
                          },
                          "what": {
                            "type": "string"
                          },
                          "checkoutUrl": {
                            "type": "string",
                            "format": "uri"
                          },
                          "next": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/mcp": {
      "post": {
        "operationId": "mcp",
        "summary": "MCP server (Streamable HTTP, JSON-RPC 2.0, stateless). See /api/mcp/server-card",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON-RPC response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  }
}