{
  "openapi": "3.1.0",
  "info": {
    "title": "Launch500 public data",
    "version": "1.0.0",
    "summary": "Read-only live data behind Launch500's pages: listings, counts, product activity, discussions.",
    "description": "Unauthenticated, read-only JSON, cached at the edge for a minute. Listing data is each company's own claim, never a Launch500 measurement. Crash Test results, prices and category pages are published as pages and markdown mirrors; see the documentation link.",
    "contact": {
      "name": "Launch500",
      "email": "hello@launch500.com",
      "url": "https://launch500.com/data"
    }
  },
  "externalDocs": {
    "description": "Open data, mirrors and terms of use",
    "url": "https://launch500.com/data"
  },
  "servers": [
    {
      "url": "https://launch500.com"
    }
  ],
  "security": [],
  "paths": {
    "/api/public/listings": {
      "get": {
        "operationId": "listListings",
        "summary": "Approved listings, newest first, for the homepage strip and the category hubs",
        "description": "Up to 200 listings, newest first. Nothing leads because it paid: there is no featured placement.",
        "parameters": [
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "A category slug: one of the catalogue's, or one staff approved (see /api/public/categories). An unknown one is a 404.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The listings.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "listings"
                  ],
                  "properties": {
                    "listings": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Listing"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "No such category.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "The database did not answer. Not cached; try again shortly.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/public/categories": {
      "get": {
        "operationId": "listCategories",
        "summary": "Every category a listing may be filed under: the catalogue's, then those staff approved",
        "description": "D56: a company with a Premium listing may ask for a new category; a person at Launch500 reviews each request, and an approved one joins this list. A request still waiting for review is never listed. `live` is false when the database did not answer, and the list is then the catalogue's alone.",
        "responses": {
          "200": {
            "description": "The categories, the catalogue's first in their own order, then the approved by name.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "categories",
                    "live"
                  ],
                  "properties": {
                    "categories": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "slug",
                          "name",
                          "group",
                          "definition",
                          "source"
                        ],
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "group": {
                            "type": "string",
                            "enum": [
                              "ai-automation",
                              "business-software"
                            ]
                          },
                          "definition": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "type": "string",
                            "enum": [
                              "catalogue",
                              "approved"
                            ]
                          }
                        }
                      }
                    },
                    "live": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/public/browse": {
      "get": {
        "operationId": "browseProducts",
        "summary": "Every product Browse all products lists, catalogue and company listings, as one set of rows",
        "description": "Each field comes from a record or is null: `receipt` is a dated capture of the pricing page we hold, `free` is our capture's or the company's own word (`freeBy` says which). No row says whether a company is raising: that list is for investors with access only. `live` is false when the company listings could not be read; the catalogue still comes back.",
        "responses": {
          "200": {
            "description": "The rows, in no particular order.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "rows",
                    "live"
                  ],
                  "properties": {
                    "live": {
                      "type": "boolean"
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "slug",
                          "name",
                          "status",
                          "from"
                        ],
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "tagline": {
                            "type": "string"
                          },
                          "cat": {
                            "type": "string"
                          },
                          "catName": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "group": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "logo": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "from": {
                            "type": "string",
                            "enum": [
                              "catalogue",
                              "listing"
                            ]
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "crash-tested",
                              "reviewed",
                              "listed",
                              "claimed",
                              "unclaimed"
                            ]
                          },
                          "commissioned": {
                            "type": "boolean",
                            "description": "Its Crash Test was paid for by the vendor (Vendor-commissioned); false for a listing."
                          },
                          "claimed": {
                            "type": "boolean"
                          },
                          "receipt": {
                            "type": "boolean"
                          },
                          "free": {
                            "type": [
                              "boolean",
                              "null"
                            ]
                          },
                          "freeBy": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "enum": [
                              "capture",
                              "company",
                              null
                            ]
                          },
                          "date": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "filled": {
                            "type": "integer"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/public/crash-reports": {
      "get": {
        "operationId": "crashReports",
        "summary": "The latest published Crash Test report of every product, one summary each",
        "responses": {
          "200": {
            "description": "Newest first. Each summary carries the score and verdict computed from the report's sub-scores, the date tested, the named failures counted, and commissioned (the vendor paid for the test, always labelled Vendor-commissioned where the score is quoted). No person is named here; the report page names its tester and editor. live is false only when the site runs without its database.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "reports",
                    "live"
                  ],
                  "properties": {
                    "live": {
                      "type": "boolean"
                    },
                    "reports": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "slug",
                          "category_slug",
                          "version",
                          "overall",
                          "verdict",
                          "commissioned",
                          "tested_on",
                          "failures",
                          "name"
                        ],
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "category_slug": {
                            "type": "string"
                          },
                          "version": {
                            "type": "integer",
                            "description": "1 for the first test; a re-test is the next version."
                          },
                          "overall": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 100,
                            "description": "Computed from the sub-scores by the published weights."
                          },
                          "verdict": {
                            "type": "string",
                            "enum": [
                              "pass",
                              "conditional",
                              "fail"
                            ]
                          },
                          "commissioned": {
                            "type": "boolean",
                            "description": "The vendor paid for the test. The result was not for sale."
                          },
                          "tested_on": {
                            "type": "string",
                            "format": "date"
                          },
                          "failures": {
                            "type": "integer",
                            "description": "How many failures the report names."
                          },
                          "name": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "The database did not answer. Not cached; try again shortly.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/public/crash-availability/{category}": {
      "get": {
        "operationId": "crashAvailability",
        "summary": "Whether a Crash Test is on sale in a category right now",
        "parameters": [
          {
            "name": "category",
            "in": "path",
            "required": true,
            "description": "A category's slug: the last segment of its hub URL, /best/<slug>.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "available is true while a covering, unconflicted, active tester has a free place. It names nobody. False also where the site runs without its database (the Crash Test is then by enquiry).",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "category",
                    "available"
                  ],
                  "properties": {
                    "category": {
                      "type": "string"
                    },
                    "available": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "A category without a published rubric, or one that does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "The database did not answer. Not cached; try again shortly.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/public/listing-counts": {
      "get": {
        "operationId": "listingCounts",
        "summary": "How many approved listings each catalogue category holds",
        "responses": {
          "200": {
            "description": "Counts by category slug.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "counts"
                  ],
                  "properties": {
                    "counts": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "integer"
                      }
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "The database did not answer. Not cached; try again shortly.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/public/corrections": {
      "get": {
        "operationId": "corrections",
        "summary": "The corrections log, newest first",
        "description": "Every correction Launch500 has issued: the page, what was wrong, what changed, who raised it and when. A correction issued in error is withdrawn, not deleted: it stays, with withdrawn_at set. Takes no parameters.",
        "responses": {
          "200": {
            "description": "The log.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "corrections"
                  ],
                  "properties": {
                    "corrections": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "subject",
                          "page",
                          "page_href",
                          "what",
                          "why",
                          "raised_by",
                          "issued_at"
                        ],
                        "properties": {
                          "id": {
                            "type": "integer"
                          },
                          "subject": {
                            "type": "string",
                            "description": "A product slug, or site."
                          },
                          "page": {
                            "type": "string"
                          },
                          "page_href": {
                            "type": "string"
                          },
                          "what": {
                            "type": "string"
                          },
                          "why": {
                            "type": "string"
                          },
                          "raised_by": {
                            "type": "string",
                            "enum": [
                              "reader",
                              "vendor",
                              "staff"
                            ]
                          },
                          "issued_at": {
                            "type": "string",
                            "format": "date"
                          },
                          "report_id": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "withdrawn_at": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "format": "date-time"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "This address takes no parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "The database did not answer. Not cached; try again shortly.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/public/articles": {
      "get": {
        "operationId": "latestArticles",
        "summary": "The three newest published contributed articles",
        "description": "The same read /blog makes, so the two never disagree about what is published. An empty list while contributed articles are switched off. Every field is already public on /blog. Takes no parameters.",
        "responses": {
          "200": {
            "description": "Up to three articles, newest first.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "articles"
                  ],
                  "properties": {
                    "articles": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "slug",
                          "title",
                          "standfirst",
                          "author_name",
                          "author_company",
                          "published_at"
                        ],
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "standfirst": {
                            "type": "string"
                          },
                          "body_md": {
                            "type": "string"
                          },
                          "author_name": {
                            "type": "string"
                          },
                          "author_role": {
                            "type": "string"
                          },
                          "author_company": {
                            "type": "string"
                          },
                          "author_url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "published_at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "corrected_at": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "This address takes no parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "The database did not answer. Not cached; try again shortly.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/public/pulse": {
      "get": {
        "operationId": "hourlyPulse",
        "summary": "Whether the site's hourly job and its alerts are still running",
        "description": "For an uptime monitor: `ok` is true while the hourly job (which sends the owners' alerts) and its alerting step both last ran within 135 minutes; otherwise, or when the database does not answer, the answer is a 503 with the reason. Takes no parameters.",
        "responses": {
          "200": {
            "description": "The hourly job and its alerts are running.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "ok",
                    "hourly_minutes",
                    "why"
                  ],
                  "properties": {
                    "ok": {
                      "type": "boolean"
                    },
                    "hourly_minutes": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "why": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "This address takes no parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "The hourly job or its alerting step has not run for over 135 minutes, or the database did not answer."
          }
        }
      }
    },
    "/api/public/count": {
      "get": {
        "operationId": "companyCount",
        "summary": "How many companies the directory lists right now",
        "description": "The number of rows /api/public/browse returns: catalogue companies and every live company listing. `live` is false when the company listings could not be read and the count is the catalogue's alone. Takes no parameters.",
        "responses": {
          "200": {
            "description": "The count.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "companies",
                    "live"
                  ],
                  "properties": {
                    "companies": {
                      "type": "integer"
                    },
                    "live": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "This address takes no parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "The database did not answer. Not cached; try again shortly.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/public/compare/{slug}": {
      "get": {
        "operationId": "compareCandidates",
        "summary": "The products one product can be compared with: every product sharing a category with it, most relevant first",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "description": "A listing's slug: 2 to 60 lower-case letters, digits and hyphens, starting with a letter or digit. Any other value is a 404.",
            "schema": {
              "type": "string",
              "pattern": "^[a-z0-9][a-z0-9-]{1,59}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Catalogue products and live listings in a category the subject is filed under, never itself and never another category. Ordered: the subject's own category first, then the most rows a comparison can fill (filled), then the newest listing, then by name. href is the comparison page at its one address.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "subject",
                    "candidates"
                  ],
                  "properties": {
                    "subject": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "category": {
                          "type": "string"
                        },
                        "categorySlug": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "The category page's slug; null while the category is a proposal waiting for review, which has no page."
                        }
                      }
                    },
                    "candidates": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "catalogue",
                              "listing"
                            ]
                          },
                          "tagline": {
                            "type": "string"
                          },
                          "category": {
                            "type": "string"
                          },
                          "filled": {
                            "type": "integer"
                          },
                          "listed": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "href": {
                            "type": "string"
                          },
                          "host": {
                            "type": "string"
                          },
                          "disclosure": {
                            "type": "string",
                            "description": "Present on one of our own products: the sentence that says so (D49)."
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "No live product has this slug, or it is not well-formed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/public/product/{slug}": {
      "get": {
        "operationId": "productActivity",
        "summary": "A product page's live part: its claim, Crew recommendations and published reviews",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "description": "A listing's slug: 2 to 60 lower-case letters, digits and hyphens, starting with a letter or digit. Any other value is a 404.",
            "schema": {
              "type": "string",
              "pattern": "^[a-z0-9][a-z0-9-]{1,59}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "available is false when the site runs without its database. Reviews are verified Crew reviews, newest first, at most 50.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "available",
                    "claim",
                    "recommendations",
                    "reviews"
                  ],
                  "properties": {
                    "available": {
                      "type": "boolean"
                    },
                    "claim": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "companyName": {
                          "type": "string"
                        },
                        "verifiedAt": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    },
                    "recommendations": {
                      "type": "integer"
                    },
                    "crash": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "required": [
                        "slug",
                        "category_slug",
                        "version",
                        "overall",
                        "verdict",
                        "commissioned",
                        "tested_on",
                        "failures"
                      ],
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "category_slug": {
                          "type": "string"
                        },
                        "version": {
                          "type": "integer",
                          "description": "1 for the first test; a re-test is the next version."
                        },
                        "overall": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 100,
                          "description": "Computed from the sub-scores by the published weights."
                        },
                        "verdict": {
                          "type": "string",
                          "enum": [
                            "pass",
                            "conditional",
                            "fail"
                          ]
                        },
                        "commissioned": {
                          "type": "boolean",
                          "description": "The vendor paid for the test. The result was not for sale."
                        },
                        "tested_on": {
                          "type": "string",
                          "format": "date"
                        },
                        "failures": {
                          "type": "integer",
                          "description": "How many failures the report names."
                        }
                      },
                      "description": "The product's latest published Crash Test report, or null when none is published or crashAvailable is false. versions counts the report's versions (a re-test is a new version; the earlier ones stay published)."
                    },
                    "crashAvailable": {
                      "type": "boolean",
                      "description": "False when the reports could not be read just now: crash is then null because it is unknown, not because there is none."
                    },
                    "reviews": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "published_at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "rating": {
                            "type": "number",
                            "minimum": 1,
                            "maximum": 5,
                            "multipleOf": 0.5
                          },
                          "headline": {
                            "type": "string"
                          },
                          "pros": {
                            "type": "string"
                          },
                          "cons": {
                            "type": "string"
                          },
                          "best_for": {
                            "type": "string"
                          },
                          "months_used": {
                            "type": "integer"
                          },
                          "switched_from": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "company_stage": {
                            "type": "string"
                          },
                          "team_size": {
                            "type": "string"
                          },
                          "tier": {
                            "type": "string",
                            "description": "How much proof is behind the review."
                          },
                          "purchase_verified": {
                            "type": "boolean"
                          },
                          "incentive": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "helpful_count": {
                            "type": "integer"
                          },
                          "affiliation": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The reviewer's role at a company this product competes with, as written when the review was."
                          }
                        }
                      }
                    },
                    "responses": {
                      "type": "array",
                      "description": "Vendors' public replies to reviews, one per review; empty where a vendor has not replied.",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not a well-formed slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "The database did not answer. Not cached; try again shortly.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/public/team": {
      "get": {
        "operationId": "crashTestTeam",
        "summary": "The people who run a Crash Test, who agreed to be named",
        "description": "Each person's name, title, bio, relationship to the company (employee, contractor, director, shareholder or external), the categories they test (slug and name) and whether they are a former tester. Only people who agreed to be named appear, and no login, email or declared conflict is ever returned. Takes no parameters.",
        "responses": {
          "200": {
            "description": "The people.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "people",
                    "live"
                  ],
                  "properties": {
                    "people": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "live": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "This address takes no parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "The database did not answer. Not cached; try again shortly.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/public/thread/{slug}": {
      "get": {
        "operationId": "listingThread",
        "summary": "A paid listing's discussion thread and makers' notes, oldest first",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "description": "A listing's slug: 2 to 60 lower-case letters, digits and hyphens, starting with a letter or digit. Any other value is a 404.",
            "schema": {
              "type": "string",
              "pattern": "^[a-z0-9][a-z0-9-]{1,59}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "At most 200 posts. A comment names its author's handle, a note its company.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "available",
                    "posts"
                  ],
                  "properties": {
                    "available": {
                      "type": "boolean"
                    },
                    "posts": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string"
                          },
                          "body": {
                            "type": "string"
                          },
                          "posted_at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "handle": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "company_name": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "affiliation": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The author's role at a company this listing competes with, as written when the comment was."
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "The discussion is switched off, or the slug is not well-formed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "The database did not answer. Not cached; try again shortly.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/public/upcoming": {
      "get": {
        "operationId": "upcomingListings",
        "summary": "Paid listings in their coming-soon state, newest first",
        "responses": {
          "200": {
            "description": "At most 100 listings.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "listings"
                  ],
                  "properties": {
                    "listings": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "product_name": {
                            "type": "string"
                          },
                          "website_host": {
                            "type": "string"
                          },
                          "tagline": {
                            "type": "string"
                          },
                          "description": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "logo_path": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "launch_note": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "listed_at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "quick": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "disclosure": {
                            "type": "string",
                            "description": "Only on one of Launch500's own products: the sentence every surface shows beside it, who makes the product: 99 Developers Ltd, which has the same director as Launch 500 Ltd, the company that runs Launch500. Show it with the listing."
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "The database did not answer. Not cached; try again shortly.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string",
            "description": "A sentence for a person."
          }
        },
        "required": [
          "error"
        ]
      },
      "Listing": {
        "type": "object",
        "description": "An approved listing, as its company described it. Not a Launch500 measurement.",
        "properties": {
          "slug": {
            "type": "string"
          },
          "product_name": {
            "type": "string"
          },
          "website_host": {
            "type": "string"
          },
          "category_slug": {
            "type": "string"
          },
          "tagline": {
            "type": "string"
          },
          "listed_at": {
            "type": "string",
            "format": "date-time"
          },
          "tier": {
            "type": "string",
            "enum": [
              "free",
              "listing"
            ],
            "description": "listing is the paid Premium listing."
          },
          "featured_until": {
            "type": [
              "string",
              "null"
            ],
            "deprecated": true,
            "description": "Retired in R1 (26 Oct 2026): always null. Placement is not for sale, so there is no span; this version does not send the field, and a client written against the old shape should read it as null."
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "logo_path": {
            "type": [
              "string",
              "null"
            ]
          },
          "launch_state": {
            "type": "string",
            "enum": [
              "launched",
              "coming_soon"
            ]
          },
          "facts": {
            "type": "object",
            "description": "The answers the category filters read, as the company gave them."
          },
          "quick": {
            "type": [
              "string",
              "null"
            ],
            "description": "The card's one line: price, free plan, platforms, deployment."
          },
          "terms": {
            "type": "string",
            "description": "Lower-case words the listing can be searched by."
          },
          "cells": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "price": {
            "type": [
              "object",
              "null"
            ],
            "description": "The cheapest plan's monthly price in the company's own currency, for sorting.",
            "properties": {
              "amount": {
                "type": "number"
              },
              "currency": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "industries": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "uses": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "competitors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "pricing": {
            "type": "boolean",
            "description": "Whether /pricing/<slug> exists."
          },
          "confirmed": {
            "type": [
              "string",
              "null"
            ],
            "description": "YYYY-MM-DD the company last confirmed its answers."
          },
          "answered": {
            "type": "integer",
            "description": "How many questions it answered."
          },
          "disclosure": {
            "type": "string",
            "description": "Only on one of Launch500's own products: the sentence every surface shows beside it, who makes the product: 99 Developers Ltd, which has the same director as Launch 500 Ltd, the company that runs Launch500. Show it with the listing."
          }
        }
      }
    }
  }
}