{
  "openapi": "3.1.0",
  "info": {
    "title": "PolarJay facts API",
    "version": "2026-11-20",
    "description": "Read-only facts about PolarJay, an official DigitalOcean partner. Every fact here is also on the website. The same facts are served over the Model Context Protocol at https://polarjay.com/api/mcp.",
    "contact": {
      "name": "PolarJay",
      "email": "info@polarjay.com",
      "url": "https://polarjay.com"
    }
  },
  "servers": [
    {
      "url": "https://polarjay.com"
    }
  ],
  "paths": {
    "/api/facts.json": {
      "get": {
        "operationId": "getFacts",
        "summary": "Every published fact about PolarJay",
        "description": "Product, owner, scanner, trial, plans, key facts, questions and every page with its Markdown version, in English. A field that is missing is not confirmed yet.",
        "responses": {
          "200": {
            "description": "The facts.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "schemaVersion",
                    "name",
                    "url",
                    "updated",
                    "description",
                    "partner",
                    "partnerPrograms",
                    "contact",
                    "product",
                    "scan",
                    "query",
                    "realCase",
                    "keyFacts",
                    "faq",
                    "pages",
                    "llms",
                    "agents"
                  ],
                  "properties": {
                    "schemaVersion": {
                      "type": "string",
                      "description": "Changes when the shape changes, not the content."
                    },
                    "name": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "sameAs": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "format": "uri"
                      },
                      "description": "PolarJay's profiles outside polarjay.com that exist and link back to it."
                    },
                    "updated": {
                      "type": "string",
                      "format": "date"
                    },
                    "description": {
                      "type": "object",
                      "properties": {
                        "es": {
                          "type": "string"
                        },
                        "en": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "es",
                        "en"
                      ]
                    },
                    "slogan": {
                      "type": "object",
                      "properties": {
                        "es": {
                          "type": "string"
                        },
                        "en": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "es",
                        "en"
                      ]
                    },
                    "partner": {
                      "type": "object",
                      "description": "PolarJay is an official partner of this company.",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "url": {
                          "type": "string",
                          "format": "uri"
                        },
                        "description": {
                          "type": "object",
                          "properties": {
                            "es": {
                              "type": "string"
                            },
                            "en": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "es",
                            "en"
                          ]
                        }
                      }
                    },
                    "partnerPrograms": {
                      "type": "array",
                      "description": "The official partner programs, in text: the program as its company writes it, and the real level (null when the program gives none).",
                      "items": {
                        "type": "object",
                        "properties": {
                          "program": {
                            "type": "string"
                          },
                          "company": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string",
                            "format": "uri"
                          },
                          "level": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        }
                      }
                    },
                    "contact": {
                      "type": "object",
                      "properties": {
                        "email": {
                          "type": "string",
                          "format": "email"
                        }
                      }
                    },
                    "product": {
                      "type": "object",
                      "properties": {
                        "category": {
                          "type": "object",
                          "properties": {
                            "es": {
                              "type": "string"
                            },
                            "en": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "es",
                            "en"
                          ]
                        },
                        "engines": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "The AI assistants PolarJay measures today, in its order."
                        },
                        "enginesSoon": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "The AI assistants coming soon: not measured yet. Empty once all are live."
                        },
                        "enginesNote": {
                          "type": "object",
                          "properties": {
                            "es": {
                              "type": "string"
                            },
                            "en": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "es",
                            "en"
                          ]
                        },
                        "languages": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "audience": {
                          "type": "object",
                          "properties": {
                            "es": {
                              "type": "string"
                            },
                            "en": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "es",
                            "en"
                          ]
                        },
                        "does": {
                          "type": "object",
                          "properties": {
                            "es": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "en": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "es",
                            "en"
                          ]
                        },
                        "doesNot": {
                          "type": "object",
                          "properties": {
                            "es": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "en": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "es",
                            "en"
                          ]
                        },
                        "method": {
                          "type": "object",
                          "properties": {
                            "es": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "en": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "es",
                            "en"
                          ]
                        }
                      }
                    },
                    "scan": {
                      "type": "object",
                      "description": "The free scanner: no account, ChatGPT with web search.",
                      "properties": {
                        "url": {
                          "type": "object",
                          "properties": {
                            "es": {
                              "type": "string"
                            },
                            "en": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "es",
                            "en"
                          ]
                        },
                        "price": {
                          "type": "number"
                        },
                        "priceCurrency": {
                          "type": "string"
                        },
                        "account": {
                          "type": "boolean"
                        },
                        "checks": {
                          "type": "integer"
                        },
                        "questions": {
                          "type": "integer"
                        },
                        "engines": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "The AI assistants the free scan asks, in the order shown."
                        },
                        "perDay": {
                          "type": "integer",
                          "description": "New scans a day per person."
                        },
                        "perDomainPerDay": {
                          "type": "integer",
                          "description": "New scans a day per domain; repeats return the saved result."
                        },
                        "resultRetentionHours": {
                          "type": "integer",
                          "description": "Hours a scan result is kept. The same figure as the privacy policy."
                        },
                        "ipRetentionHours": {
                          "type": "integer",
                          "description": "Hours the HMAC of the IP address is kept to apply the daily limit. The same figure as the privacy policy."
                        },
                        "what": {
                          "type": "object",
                          "properties": {
                            "es": {
                              "type": "string"
                            },
                            "en": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "es",
                            "en"
                          ]
                        }
                      }
                    },
                    "query": {
                      "type": "object",
                      "description": "The unit plans are measured in.",
                      "properties": {
                        "definition": {
                          "type": "object",
                          "properties": {
                            "es": {
                              "type": "string"
                            },
                            "en": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "es",
                            "en"
                          ]
                        }
                      }
                    },
                    "trial": {
                      "type": "object",
                      "description": "Present once the trial terms are published.",
                      "properties": {
                        "url": {
                          "type": "object",
                          "properties": {
                            "es": {
                              "type": "string"
                            },
                            "en": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "es",
                            "en"
                          ]
                        },
                        "days": {
                          "type": "integer"
                        },
                        "card": {
                          "type": "boolean"
                        },
                        "engines": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "brands": {
                          "type": "integer"
                        },
                        "questions": {
                          "type": "integer"
                        },
                        "queries": {
                          "type": "integer"
                        }
                      }
                    },
                    "plans": {
                      "type": "array",
                      "description": "Monthly plans with a published price, excluding tax. Spanish pages price in EUR and English pages in USD: priceCurrency is per published language. Present once prices are published.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "object",
                            "properties": {
                              "es": {
                                "type": "string"
                              },
                              "en": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "es",
                              "en"
                            ]
                          },
                          "price": {
                            "type": "number"
                          },
                          "priceCurrency": {
                            "type": "object",
                            "properties": {
                              "es": {
                                "type": "string"
                              },
                              "en": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "es",
                              "en"
                            ]
                          },
                          "billing": {
                            "type": "string"
                          },
                          "vatIncluded": {
                            "type": "boolean"
                          },
                          "priceYearlyPerMonth": {
                            "type": "number",
                            "description": "Only on plans that can be paid yearly."
                          },
                          "queriesPerMonth": {
                            "type": "integer"
                          },
                          "brands": {
                            "type": "integer"
                          },
                          "questions": {
                            "type": "integer"
                          },
                          "engines": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "includes": {
                            "type": "object",
                            "properties": {
                              "es": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "en": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            },
                            "required": [
                              "es",
                              "en"
                            ]
                          },
                          "url": {
                            "type": "object",
                            "properties": {
                              "es": {
                                "type": "string"
                              },
                              "en": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "es",
                              "en"
                            ]
                          }
                        }
                      }
                    },
                    "pricingCurrency": {
                      "type": "object",
                      "properties": {
                        "es": {
                          "type": "string"
                        },
                        "en": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "es",
                        "en"
                      ],
                      "description": "Currency of plans per published language: USD in English."
                    },
                    "customPlan": {
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "annualDiscountPct": {
                      "type": "number",
                      "description": "Discount for paying the whole year, on the plans with priceYearlyPerMonth."
                    },
                    "doneForYou": {
                      "type": "object",
                      "properties": {
                        "priceFrom": {
                          "type": "number"
                        },
                        "priceCurrency": {
                          "type": "object",
                          "properties": {
                            "es": {
                              "type": "string"
                            },
                            "en": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "es",
                            "en"
                          ]
                        },
                        "vatIncluded": {
                          "type": "boolean"
                        },
                        "oneOff": {
                          "type": "boolean"
                        },
                        "contact": {
                          "type": "string"
                        }
                      }
                    },
                    "realCase": {
                      "type": "object",
                      "description": "The one real measurement that can be shared, anonymised.",
                      "properties": {
                        "date": {
                          "type": "string",
                          "format": "date"
                        },
                        "who": {
                          "type": "object",
                          "properties": {
                            "es": {
                              "type": "string"
                            },
                            "en": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "es",
                            "en"
                          ]
                        },
                        "engine": {
                          "type": "object",
                          "properties": {
                            "es": {
                              "type": "string"
                            },
                            "en": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "es",
                            "en"
                          ]
                        },
                        "questions": {
                          "type": "integer"
                        },
                        "appeared": {
                          "type": "integer"
                        },
                        "note": {
                          "type": "object",
                          "properties": {
                            "es": {
                              "type": "string"
                            },
                            "en": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "es",
                            "en"
                          ]
                        }
                      }
                    },
                    "crmHosting": {
                      "type": "object",
                      "description": "PolarJay CRM Hosting: managed Odoo Community hosting on a dedicated US server. Plans in USD per month, taxes extra.",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "url": {
                          "type": "object",
                          "properties": {
                            "es": {
                              "type": "string"
                            },
                            "en": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "es",
                            "en"
                          ]
                        },
                        "software": {
                          "type": "string"
                        },
                        "license": {
                          "type": "string"
                        },
                        "provider": {
                          "type": "string"
                        },
                        "region": {
                          "type": "object",
                          "properties": {
                            "es": {
                              "type": "string"
                            },
                            "en": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "es",
                            "en"
                          ]
                        },
                        "plans": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "object",
                                "properties": {
                                  "es": {
                                    "type": "string"
                                  },
                                  "en": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "es",
                                  "en"
                                ]
                              },
                              "price": {
                                "type": "number"
                              },
                              "priceCurrency": {
                                "type": "string"
                              },
                              "billing": {
                                "type": "string"
                              },
                              "taxIncluded": {
                                "type": "boolean"
                              },
                              "usersUpTo": {
                                "type": "integer"
                              },
                              "includes": {
                                "type": "object",
                                "properties": {
                                  "es": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "en": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "required": [
                                  "es",
                                  "en"
                                ]
                              }
                            }
                          }
                        },
                        "onRequest": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "trademarks": {
                          "type": "object",
                          "properties": {
                            "es": {
                              "type": "string"
                            },
                            "en": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "es",
                            "en"
                          ]
                        }
                      }
                    },
                    "keyFacts": {
                      "type": "object",
                      "properties": {
                        "es": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "en": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "es",
                        "en"
                      ]
                    },
                    "faq": {
                      "type": "object",
                      "properties": {
                        "es": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "q": {
                                "type": "string"
                              },
                              "a": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "en": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "q": {
                                "type": "string"
                              },
                              "a": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      },
                      "required": [
                        "es",
                        "en"
                      ]
                    },
                    "pages": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "object",
                            "properties": {
                              "es": {
                                "type": "string"
                              },
                              "en": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "es",
                              "en"
                            ]
                          },
                          "summary": {
                            "type": "object",
                            "properties": {
                              "es": {
                                "type": "string"
                              },
                              "en": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "es",
                              "en"
                            ]
                          },
                          "url": {
                            "type": "object",
                            "properties": {
                              "es": {
                                "type": "string"
                              },
                              "en": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "es",
                              "en"
                            ]
                          },
                          "markdown": {
                            "type": "object",
                            "properties": {
                              "es": {
                                "type": "string"
                              },
                              "en": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "es",
                              "en"
                            ]
                          },
                          "updated": {
                            "type": "string",
                            "format": "date"
                          }
                        }
                      }
                    },
                    "llms": {
                      "type": "object",
                      "properties": {
                        "es": {
                          "type": "object",
                          "properties": {
                            "index": {
                              "type": "string"
                            },
                            "full": {
                              "type": "string"
                            }
                          }
                        },
                        "en": {
                          "type": "object",
                          "properties": {
                            "index": {
                              "type": "string"
                            },
                            "full": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "required": [
                        "es",
                        "en"
                      ]
                    },
                    "agents": {
                      "type": "object",
                      "properties": {
                        "facts": {
                          "type": "string"
                        },
                        "openapi": {
                          "type": "string"
                        },
                        "mcp": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/mcp": {
      "get": {
        "operationId": "describeMcp",
        "summary": "Describe the MCP server",
        "description": "A readable description of the read-only MCP server and its tools.",
        "responses": {
          "200": {
            "description": "The description.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "callMcp",
        "summary": "Model Context Protocol (JSON-RPC 2.0)",
        "description": "Streamable HTTP without streaming. Methods: initialize, ping, tools/list, tools/call. Read-only tools: get_product, get_pricing, list_faq, get_page, how_to_start.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": [
                  "object",
                  "array"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON-RPC response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "object",
                    "array"
                  ]
                }
              }
            }
          },
          "202": {
            "description": "Only notifications were sent."
          }
        }
      }
    },
    "/api/scan": {
      "post": {
        "operationId": "scanSite",
        "summary": "Free scan: does ChatGPT recommend this company?",
        "description": "Reads the home page of a public website the way AI crawlers do, writes three buyer questions that do not name the company and asks them to ChatGPT (OpenAI, through OpenRouter) with web search, all three at the same time. Only ChatGPT runs in the free scan. The trial and the plans measure ChatGPT, Perplexity, Claude and Google AI Overviews today. Gemini is coming soon. Answers stream as NDJSON, one event per line: start, readability, questions, one answer per question and engine as each arrives, summary, done. If one answer fails, the others still arrive. Limited per IP, per site and per day; a site scanned in the last 24 hours returns the cached result.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "url"
                ],
                "additionalProperties": false,
                "properties": {
                  "url": {
                    "type": "string",
                    "maxLength": 300,
                    "description": "Public domain or URL. Only the home page of its host is scanned."
                  },
                  "locale": {
                    "type": "string",
                    "enum": [
                      "es",
                      "en"
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "NDJSON stream of scan events.",
            "content": {
              "application/x-ndjson": {
                "schema": {
                  "type": "object",
                  "required": [
                    "type"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid body or URL."
          },
          "409": {
            "description": "This site is being scanned right now; retryAfter says when to try again."
          },
          "429": {
            "description": "A rate limit or the daily cap was reached."
          },
          "503": {
            "description": "The scanner is off or not available."
          }
        }
      }
    },
    "/api/trial": {
      "post": {
        "operationId": "requestTrial",
        "summary": "Request the free 7-day trial or a PolarJay CRM Hosting migration plan",
        "description": "Sends a request to PolarJay (info@polarjay.com). With a PolarJay plan (start, pro, agencia) it asks for the free 7-day trial. With a PolarJay CRM Hosting plan (crm-essentials, crm-business, crm-enterprise) it asks for a migration plan, and then users and current are required; they are rejected with a PolarJay plan. Every request is reviewed and the answer arrives by email. consent must be the boolean true after reading the privacy policy. human is the person check token, required only when the site has it switched on.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "email",
                  "company",
                  "url",
                  "plan",
                  "consent"
                ],
                "additionalProperties": false,
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 2,
                    "maxLength": 80
                  },
                  "email": {
                    "type": "string",
                    "format": "email",
                    "maxLength": 254
                  },
                  "company": {
                    "type": "string",
                    "minLength": 2,
                    "maxLength": 120
                  },
                  "url": {
                    "type": "string",
                    "maxLength": 300
                  },
                  "plan": {
                    "type": "string",
                    "enum": [
                      "start",
                      "pro",
                      "agencia",
                      "crm-essentials",
                      "crm-business",
                      "crm-enterprise"
                    ]
                  },
                  "users": {
                    "type": "string",
                    "pattern": "^\\d{1,6}$",
                    "description": "Internal users who sign in to Odoo, from 1 to 5000. Required with a PolarJay CRM Hosting plan; not allowed with a PolarJay plan."
                  },
                  "current": {
                    "type": "string",
                    "enum": [
                      "odoo-sh",
                      "odoo-online",
                      "on-premise",
                      "other-crm"
                    ],
                    "description": "Where the CRM runs today. Required with a PolarJay CRM Hosting plan; not allowed with a PolarJay plan."
                  },
                  "consent": {
                    "type": "boolean",
                    "const": true
                  },
                  "locale": {
                    "type": "string",
                    "enum": [
                      "es",
                      "en"
                    ]
                  },
                  "human": {
                    "type": "string",
                    "description": "Person check token (Cloudflare Turnstile), when the site has it switched on."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Request received.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ok": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "A field is missing or invalid; error names it."
          },
          "429": {
            "description": "Too many requests from this connection."
          },
          "502": {
            "description": "The request could not be delivered."
          }
        }
      }
    }
  }
}
