{
  "components": {
    "schemas": {
      "Error": {
        "properties": {
          "error": {
            "description": "the error's code, stable",
            "type": "string"
          },
          "fix": {
            "description": "what to do next",
            "type": "string"
          },
          "message": {
            "description": "what went wrong",
            "type": "string"
          },
          "request": {
            "description": "the request's id",
            "type": "string"
          }
        },
        "required": [
          "error",
          "message",
          "fix",
          "request"
        ],
        "type": "object"
      }
    }
  },
  "info": {
    "description": "Keyless reads of a site's research: its vendors, one vendor's profile, their prices, the bands figures are given in, two vendors side by side and research's cost estimates. Each answers only what the site's pages show, each figure typed by how it is known: published, buyer_reported or estimate.",
    "title": "Public research API",
    "version": "v0.0.0-20261202142302-2bd862b53395"
  },
  "openapi": "3.1.0",
  "paths": {
    "/compare": {
      "get": {
        "description": "Sets two vendors' typed first-year totals side by side in every band either states, each typed (published, buyer_reported or estimate) as the weakest of its lines and with its source, as the site's comparison or pricing pages show them. Use public_prices for one vendor's lines. To ask firms for a quote on a buyer's behalf, call request_quote.",
        "operationId": "compare",
        "parameters": [
          {
            "description": "the first vendor's slug",
            "example": "ledgerworks",
            "in": "query",
            "name": "a",
            "required": true,
            "schema": {
              "description": "the first vendor's slug",
              "type": "string"
            }
          },
          {
            "description": "the second vendor's slug",
            "example": "quoteline",
            "in": "query",
            "name": "b",
            "required": true,
            "schema": {
              "description": "the second vendor's slug",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "example1": {
                    "summary": "Two vendors side by side",
                    "value": {
                      "site": "example.com",
                      "a": {
                        "slug": "ledgerworks",
                        "name": "Ledgerworks",
                        "url": "https://example.com/ledgerworks"
                      },
                      "b": {
                        "slug": "quoteline",
                        "name": "Quoteline",
                        "url": "https://example.com/quoteline"
                      },
                      "page": "https://example.com/compare/ledgerworks-vs-quoteline",
                      "bands": [
                        {
                          "band": "small",
                          "label": "Up to 50",
                          "a": {
                            "value": 1800,
                            "type": "published",
                            "source": "https://ledgerworks.example/pricing",
                            "checked": "2026-11-02"
                          }
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "a": {
                      "type": "object",
                      "description": "the first vendor and its profile page",
                      "properties": {
                        "name": {
                          "type": "string",
                          "description": "its name"
                        },
                        "slug": {
                          "type": "string",
                          "description": "its slug"
                        },
                        "url": {
                          "type": "string",
                          "description": "its page on the site"
                        }
                      },
                      "required": [
                        "slug",
                        "name",
                        "url"
                      ],
                      "additionalProperties": false
                    },
                    "b": {
                      "type": "object",
                      "description": "the second vendor and its profile page",
                      "properties": {
                        "name": {
                          "type": "string",
                          "description": "its name"
                        },
                        "slug": {
                          "type": "string",
                          "description": "its slug"
                        },
                        "url": {
                          "type": "string",
                          "description": "its page on the site"
                        }
                      },
                      "required": [
                        "slug",
                        "name",
                        "url"
                      ],
                      "additionalProperties": false
                    },
                    "bands": {
                      "type": "array",
                      "description": "each band either states a first-year total in, in the site's order",
                      "items": {
                        "type": "object",
                        "properties": {
                          "a": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "description": "the first vendor's first-year total, with its source; none where research states none",
                            "properties": {
                              "basis": {
                                "type": "string",
                                "description": "for an estimate, what it rests on"
                              },
                              "checked": {
                                "type": "string",
                                "description": "the day it was read, YYYY-MM-DD"
                              },
                              "estimate": {
                                "type": "string",
                                "description": "for an estimate, the label the page shows it with, the word estimate in it"
                              },
                              "high": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "the high end research states, where it states one"
                              },
                              "low": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "the low end research states, where it states one"
                              },
                              "n": {
                                "type": "integer",
                                "description": "how many data points it rests on"
                              },
                              "source": {
                                "type": "string",
                                "description": "the URL it was read at"
                              },
                              "type": {
                                "type": "string",
                                "description": "published, buyer_reported or estimate"
                              },
                              "value": {
                                "type": "number",
                                "description": "the amount, in the site's currency"
                              }
                            },
                            "required": [
                              "value"
                            ],
                            "additionalProperties": false
                          },
                          "b": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "description": "the second vendor's first-year total, with its source; none where research states none",
                            "properties": {
                              "basis": {
                                "type": "string",
                                "description": "for an estimate, what it rests on"
                              },
                              "checked": {
                                "type": "string",
                                "description": "the day it was read, YYYY-MM-DD"
                              },
                              "estimate": {
                                "type": "string",
                                "description": "for an estimate, the label the page shows it with, the word estimate in it"
                              },
                              "high": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "the high end research states, where it states one"
                              },
                              "low": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "the low end research states, where it states one"
                              },
                              "n": {
                                "type": "integer",
                                "description": "how many data points it rests on"
                              },
                              "source": {
                                "type": "string",
                                "description": "the URL it was read at"
                              },
                              "type": {
                                "type": "string",
                                "description": "published, buyer_reported or estimate"
                              },
                              "value": {
                                "type": "number",
                                "description": "the amount, in the site's currency"
                              }
                            },
                            "required": [
                              "value"
                            ],
                            "additionalProperties": false
                          },
                          "band": {
                            "type": "string",
                            "description": "the band's key, from segments"
                          },
                          "label": {
                            "type": "string",
                            "description": "the band's name"
                          }
                        },
                        "required": [
                          "band",
                          "label"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "page": {
                      "type": "string",
                      "description": "the page the comparison is read from, where it answers on the domain now; else the nearest page that does, at worst the home"
                    },
                    "site": {
                      "type": "string",
                      "description": "the site's apex domain"
                    }
                  },
                  "required": [
                    "site",
                    "a",
                    "b",
                    "page",
                    "bands"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "description": "the answer; cached an hour"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "a parameter is wrong: the body's fix says which"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "no such site, vendor, band or page on the site"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "over the calls an IP may make a minute; Retry-After says when to call again"
          }
        },
        "summary": "Sets two vendors' typed first-year totals side by side in every band either states, each typed (published, buyer_reported or estimate) as the weakest of its lines and with its source, as the site's comparison or pricing pages show them."
      }
    },
    "/estimate": {
      "get": {
        "description": "Gives a band's typical cost over the first year, and three years where research states them, line by line as the site's cost page shows it: the band medians of the firms' own figures, with low, high and n, each figure typed by how it is known (published, buyer_reported or estimate). Over one money category's firms where category names it, else the site's main one; segments lists them. Use compare for named vendors' typed totals. To ask firms for a quote on a buyer's behalf, call request_quote.",
        "operationId": "estimate",
        "parameters": [
          {
            "description": "the band's key, from segments",
            "example": "small",
            "in": "query",
            "name": "band",
            "required": true,
            "schema": {
              "description": "the band's key, from segments",
              "type": "string"
            }
          },
          {
            "description": "a money category's slug, to estimate over its firms alone; none: the site's main money category",
            "in": "query",
            "name": "category",
            "required": false,
            "schema": {
              "description": "a money category's slug, to estimate over its firms alone; none: the site's main money category",
              "type": "string"
            }
          },
          {
            "description": "cost lines' keys, to show only those; the totals stay only when every line of them is in scope",
            "explode": true,
            "in": "query",
            "name": "scope",
            "required": false,
            "schema": {
              "description": "cost lines' keys, to show only those; the totals stay only when every line of them is in scope",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "example1": {
                    "summary": "What a small company pays",
                    "value": {
                      "site": "example.com",
                      "basis": "cost model method v1",
                      "as_of": "2026-11-01",
                      "page": "https://example.com/cost",
                      "band": "small",
                      "label": "Up to 50",
                      "year_one": {
                        "value": 2400,
                        "low": 1500,
                        "high": 4100,
                        "n": 6,
                        "type": "buyer_reported",
                        "source": "https://example.com/cost",
                        "checked": "2026-11-01"
                      },
                      "lines": [
                        {
                          "key": "license",
                          "label": "Licence",
                          "type": "published",
                          "median": {
                            "value": 1800,
                            "low": 900,
                            "high": 3000,
                            "n": 6,
                            "type": "published",
                            "source": "https://example.com/cost",
                            "checked": "2026-11-01"
                          },
                          "n": 6,
                          "source": "https://example.com/cost",
                          "checked": "2026-11-01"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "as_of": {
                      "type": "string",
                      "description": "the day the cost model stands at"
                    },
                    "band": {
                      "type": "string",
                      "description": "the band's key"
                    },
                    "basis": {
                      "type": "string",
                      "description": "research's cost model and its method, which the band's figures come from: medians of the firms' own figures, each typed by how it is known"
                    },
                    "category": {
                      "type": "string",
                      "description": "the money category whose firms the estimate is over; none: every listed firm"
                    },
                    "label": {
                      "type": "string",
                      "description": "the band's name"
                    },
                    "lines": {
                      "type": "array",
                      "description": "the cost lines the first-year total is made of, then any alternatives",
                      "items": {
                        "type": "object",
                        "properties": {
                          "alternative": {
                            "type": "boolean",
                            "description": "a choice in place of another line, not part of the total"
                          },
                          "checked": {
                            "type": "string",
                            "description": "the newest day a point of the line was read, else the day the cost model stands at, YYYY-MM-DD"
                          },
                          "from": {
                            "type": "boolean",
                            "description": "each amount of the line is a starting price, a minimum and not a full price"
                          },
                          "key": {
                            "type": "string",
                            "description": "the line's key, as scope takes it"
                          },
                          "label": {
                            "type": "string",
                            "description": "what the line is"
                          },
                          "median": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "description": "the median of the firms' figures, with the low and high ends and n, where the line rests on enough points",
                            "properties": {
                              "basis": {
                                "type": "string",
                                "description": "for an estimate, what it rests on"
                              },
                              "checked": {
                                "type": "string",
                                "description": "the day it was read, YYYY-MM-DD"
                              },
                              "estimate": {
                                "type": "string",
                                "description": "for an estimate, the label the page shows it with, the word estimate in it"
                              },
                              "high": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "the high end research states, where it states one"
                              },
                              "low": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "the low end research states, where it states one"
                              },
                              "n": {
                                "type": "integer",
                                "description": "how many data points it rests on"
                              },
                              "source": {
                                "type": "string",
                                "description": "the URL it was read at"
                              },
                              "type": {
                                "type": "string",
                                "description": "published, buyer_reported or estimate"
                              },
                              "value": {
                                "type": "number",
                                "description": "the amount, in the site's currency"
                              }
                            },
                            "required": [
                              "value"
                            ],
                            "additionalProperties": false
                          },
                          "n": {
                            "type": "integer",
                            "description": "how many data points the line rests on"
                          },
                          "source": {
                            "type": "string",
                            "description": "the page that shows the line, with its points' sources"
                          },
                          "sources": {
                            "type": "array",
                            "description": "where the points were read",
                            "items": {
                              "type": "object",
                              "properties": {
                                "checked": {
                                  "type": "string",
                                  "description": "the day it was read, YYYY-MM-DD, where research states it"
                                },
                                "url": {
                                  "type": "string",
                                  "description": "the URL a point was read at"
                                }
                              },
                              "required": [
                                "url"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "type": {
                            "type": "string",
                            "description": "published, buyer_reported or estimate: how its figures are known, an alternative's too"
                          },
                          "values": {
                            "type": "array",
                            "description": "each point, where the line rests on too few for a median",
                            "items": {
                              "type": "number"
                            }
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "n",
                          "source",
                          "checked"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "page": {
                      "type": "string",
                      "description": "the page the estimate is read from, where it answers on the domain now; else the nearest page that does, at worst the home"
                    },
                    "site": {
                      "type": "string",
                      "description": "the site's apex domain"
                    },
                    "three_year": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "description": "research's three-year total; none where research states none or the scope leaves lines out",
                      "properties": {
                        "basis": {
                          "type": "string",
                          "description": "for an estimate, what it rests on"
                        },
                        "checked": {
                          "type": "string",
                          "description": "the day it was read, YYYY-MM-DD"
                        },
                        "estimate": {
                          "type": "string",
                          "description": "for an estimate, the label the page shows it with, the word estimate in it"
                        },
                        "high": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "the high end research states, where it states one"
                        },
                        "low": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "the low end research states, where it states one"
                        },
                        "n": {
                          "type": "integer",
                          "description": "how many data points it rests on"
                        },
                        "source": {
                          "type": "string",
                          "description": "the URL it was read at"
                        },
                        "type": {
                          "type": "string",
                          "description": "published, buyer_reported or estimate"
                        },
                        "value": {
                          "type": "number",
                          "description": "the amount, in the site's currency"
                        }
                      },
                      "required": [
                        "value"
                      ],
                      "additionalProperties": false
                    },
                    "year_one": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "description": "the band's typical first-year total, with low, high and n, typed by how it is known; none where research states none or the scope leaves lines out",
                      "properties": {
                        "basis": {
                          "type": "string",
                          "description": "for an estimate, what it rests on"
                        },
                        "checked": {
                          "type": "string",
                          "description": "the day it was read, YYYY-MM-DD"
                        },
                        "estimate": {
                          "type": "string",
                          "description": "for an estimate, the label the page shows it with, the word estimate in it"
                        },
                        "high": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "the high end research states, where it states one"
                        },
                        "low": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "the low end research states, where it states one"
                        },
                        "n": {
                          "type": "integer",
                          "description": "how many data points it rests on"
                        },
                        "source": {
                          "type": "string",
                          "description": "the URL it was read at"
                        },
                        "type": {
                          "type": "string",
                          "description": "published, buyer_reported or estimate"
                        },
                        "value": {
                          "type": "number",
                          "description": "the amount, in the site's currency"
                        }
                      },
                      "required": [
                        "value"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "site",
                    "basis",
                    "page",
                    "band",
                    "label",
                    "lines"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "description": "the answer; cached an hour"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "a parameter is wrong: the body's fix says which"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "no such site, vendor, band or page on the site"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "over the calls an IP may make a minute; Retry-After says when to call again"
          }
        },
        "summary": "Gives a band's typical cost over the first year, and three years where research states them, line by line as the site's cost page shows it: the band medians of the firms' own figures, with low, high and n, each figure typed by how it is known (published, buyer_reported or estimate)."
      }
    },
    "/prices": {
      "get": {
        "description": "Gives vendors' prices as their pages show them, one vendor's or every one's: each line's amount, what it is per, its type (published, buyer_reported or estimate), its source and the day it was read. Use compare to set two vendors side by side. For a band's typical cost (median, low, high, n), call estimate. To ask firms for a quote on a buyer's behalf, call request_quote.",
        "operationId": "public_prices",
        "parameters": [
          {
            "description": "the vendor's slug, from public_vendors; none: every vendor",
            "example": "ledgerworks",
            "in": "query",
            "name": "vendor",
            "required": false,
            "schema": {
              "description": "the vendor's slug, from public_vendors; none: every vendor",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "example1": {
                    "summary": "A vendor's prices",
                    "value": {
                      "site": "example.com",
                      "vendors": [
                        {
                          "vendor": {
                            "slug": "ledgerworks",
                            "name": "Ledgerworks",
                            "url": "https://example.com/ledgerworks"
                          },
                          "prices": [
                            {
                              "item": "User licence",
                              "plan": "Team",
                              "value": 12,
                              "currency": "USD",
                              "per": "user per month",
                              "type": "published",
                              "source": "https://ledgerworks.example/pricing",
                              "checked": "2026-11-02"
                            }
                          ]
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "site": {
                      "type": "string",
                      "description": "the site's apex domain"
                    },
                    "vendors": {
                      "type": "array",
                      "description": "the vendor asked for, else every vendor with a served profile, in research's order",
                      "items": {
                        "type": "object",
                        "properties": {
                          "prices": {
                            "type": "array",
                            "description": "each price line its profile shows, with its type, source and the day it was read",
                            "items": {
                              "type": "object",
                              "properties": {
                                "alternative": {
                                  "type": "boolean",
                                  "description": "the line is paid only in some cases or in place of another, as research's cost model marks it; estimate lists it as an alternative, out of the totals"
                                },
                                "basis": {
                                  "type": "string",
                                  "description": "for an estimate, what it rests on"
                                },
                                "checked": {
                                  "type": "string",
                                  "description": "the day it was read, YYYY-MM-DD"
                                },
                                "currency": {
                                  "type": "string",
                                  "description": "ISO 4217 code"
                                },
                                "estimate": {
                                  "type": "string",
                                  "description": "for an estimate, the label the page shows it with, the word estimate in it"
                                },
                                "from": {
                                  "type": "boolean",
                                  "description": "the value is a starting price"
                                },
                                "item": {
                                  "type": "string",
                                  "description": "what the price is for"
                                },
                                "n": {
                                  "type": "integer",
                                  "description": "for a buyer-reported price, how many buyers reported it"
                                },
                                "per": {
                                  "type": "string",
                                  "description": "what the amount is per, such as month or user"
                                },
                                "plan": {
                                  "type": "string",
                                  "description": "the plan it belongs to"
                                },
                                "segment": {
                                  "type": "string",
                                  "description": "the band it applies to"
                                },
                                "seller": {
                                  "type": "string",
                                  "description": "for a price a marketplace or reseller lists, its name: the listing's price, not the vendor's own; the listing is source"
                                },
                                "source": {
                                  "type": "string",
                                  "description": "the URL the price was read at"
                                },
                                "text": {
                                  "type": "string",
                                  "description": "the price as the page writes it"
                                },
                                "type": {
                                  "type": "string",
                                  "description": "published, buyer_reported or estimate"
                                },
                                "up_to": {
                                  "type": [
                                    "number",
                                    "null"
                                  ],
                                  "description": "the top of a range the page states"
                                },
                                "value": {
                                  "type": [
                                    "number",
                                    "null"
                                  ],
                                  "description": "the amount; none where the page shows words only, such as a quote"
                                }
                              },
                              "required": [
                                "item",
                                "type"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "vendor": {
                            "type": "object",
                            "description": "the vendor and its profile page",
                            "properties": {
                              "name": {
                                "type": "string",
                                "description": "its name"
                              },
                              "slug": {
                                "type": "string",
                                "description": "its slug"
                              },
                              "url": {
                                "type": "string",
                                "description": "its page on the site"
                              }
                            },
                            "required": [
                              "slug",
                              "name",
                              "url"
                            ],
                            "additionalProperties": false
                          },
                          "year_one": {
                            "type": "array",
                            "description": "its first-year total per band, where its pricing page is served",
                            "items": {
                              "type": "object",
                              "properties": {
                                "band": {
                                  "type": "string",
                                  "description": "the band's key, from segments"
                                },
                                "label": {
                                  "type": "string",
                                  "description": "the band's name"
                                },
                                "lines": {
                                  "type": "array",
                                  "description": "the price lines the total sums, each with its source and the day it was read",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "alternative": {
                                        "type": "boolean",
                                        "description": "the line is paid only in some cases or in place of another, as research's cost model marks it; estimate lists it as an alternative, out of the totals"
                                      },
                                      "basis": {
                                        "type": "string",
                                        "description": "for an estimate, what it rests on"
                                      },
                                      "checked": {
                                        "type": "string",
                                        "description": "the day it was read, YYYY-MM-DD"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "description": "ISO 4217 code"
                                      },
                                      "estimate": {
                                        "type": "string",
                                        "description": "for an estimate, the label the page shows it with, the word estimate in it"
                                      },
                                      "from": {
                                        "type": "boolean",
                                        "description": "the value is a starting price"
                                      },
                                      "item": {
                                        "type": "string",
                                        "description": "what the price is for"
                                      },
                                      "n": {
                                        "type": "integer",
                                        "description": "for a buyer-reported price, how many buyers reported it"
                                      },
                                      "per": {
                                        "type": "string",
                                        "description": "what the amount is per, such as month or user"
                                      },
                                      "plan": {
                                        "type": "string",
                                        "description": "the plan it belongs to"
                                      },
                                      "segment": {
                                        "type": "string",
                                        "description": "the band it applies to"
                                      },
                                      "seller": {
                                        "type": "string",
                                        "description": "for a price a marketplace or reseller lists, its name: the listing's price, not the vendor's own; the listing is source"
                                      },
                                      "source": {
                                        "type": "string",
                                        "description": "the URL the price was read at"
                                      },
                                      "text": {
                                        "type": "string",
                                        "description": "the price as the page writes it"
                                      },
                                      "type": {
                                        "type": "string",
                                        "description": "published, buyer_reported or estimate"
                                      },
                                      "up_to": {
                                        "type": [
                                          "number",
                                          "null"
                                        ],
                                        "description": "the top of a range the page states"
                                      },
                                      "value": {
                                        "type": [
                                          "number",
                                          "null"
                                        ],
                                        "description": "the amount; none where the page shows words only, such as a quote"
                                      }
                                    },
                                    "required": [
                                      "item",
                                      "type"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "total": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "description": "research's first-year total in the band, typed as the weakest of its lines and checked on the oldest of their days; none where it states none",
                                  "properties": {
                                    "basis": {
                                      "type": "string",
                                      "description": "for an estimate, what it rests on"
                                    },
                                    "checked": {
                                      "type": "string",
                                      "description": "the day it was read, YYYY-MM-DD"
                                    },
                                    "estimate": {
                                      "type": "string",
                                      "description": "for an estimate, the label the page shows it with, the word estimate in it"
                                    },
                                    "high": {
                                      "type": [
                                        "number",
                                        "null"
                                      ],
                                      "description": "the high end research states, where it states one"
                                    },
                                    "low": {
                                      "type": [
                                        "number",
                                        "null"
                                      ],
                                      "description": "the low end research states, where it states one"
                                    },
                                    "n": {
                                      "type": "integer",
                                      "description": "how many data points it rests on"
                                    },
                                    "source": {
                                      "type": "string",
                                      "description": "the URL it was read at"
                                    },
                                    "type": {
                                      "type": "string",
                                      "description": "published, buyer_reported or estimate"
                                    },
                                    "value": {
                                      "type": "number",
                                      "description": "the amount, in the site's currency"
                                    }
                                  },
                                  "required": [
                                    "value"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "band",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "vendor",
                          "prices"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "site",
                    "vendors"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "description": "the answer; cached an hour"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "a parameter is wrong: the body's fix says which"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "no such site, vendor, band or page on the site"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "over the calls an IP may make a minute; Retry-After says when to call again"
          }
        },
        "summary": "Gives vendors' prices as their pages show them, one vendor's or every one's: each line's amount, what it is per, its type (published, buyer_reported or estimate), its source and the day it was read."
      }
    },
    "/segments": {
      "get": {
        "description": "Lists a site's segments and their bands, the keys estimate, compare and public_prices give figures by, and the categories that carry figures, as estimate takes them. It is empty where the site serves no page of figures by band. For a band's typical cost (median, low, high, n), call estimate. To ask firms for a quote on a buyer's behalf, call request_quote.",
        "operationId": "segments",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "example1": {
                    "summary": "A site's bands",
                    "value": {
                      "site": "example.com",
                      "segments": [
                        {
                          "key": "size",
                          "label": "Team size",
                          "unit": "users",
                          "bands": [
                            {
                              "key": "small",
                              "label": "Up to 50",
                              "max": 50
                            }
                          ]
                        }
                      ],
                      "money_categories": [
                        "billing"
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "money_categories": {
                      "type": "array",
                      "description": "the slugs of the categories that carry figures, as estimate takes them for category; empty where no money page is served",
                      "items": {
                        "type": "string"
                      }
                    },
                    "segments": {
                      "type": "array",
                      "description": "the site's segments and their bands, as its money pages show them; empty where none is served",
                      "items": {
                        "type": "object",
                        "properties": {
                          "bands": {
                            "type": "array",
                            "description": "its bands, from the lowest",
                            "items": {
                              "type": "object",
                              "properties": {
                                "key": {
                                  "type": "string",
                                  "description": "the band's key, lower case"
                                },
                                "label": {
                                  "type": "string",
                                  "description": "its name as a page shows it"
                                },
                                "max": {
                                  "type": [
                                    "number",
                                    "null"
                                  ],
                                  "description": "its highest value; none: open above"
                                },
                                "min": {
                                  "type": [
                                    "number",
                                    "null"
                                  ],
                                  "description": "its lowest value; none: open below"
                                }
                              },
                              "required": [
                                "key",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "key": {
                            "type": "string",
                            "description": "the segment's key, lower case"
                          },
                          "label": {
                            "type": "string",
                            "description": "its name as a page shows it"
                          },
                          "unit": {
                            "type": "string",
                            "description": "what its bands count, e.g. users"
                          }
                        },
                        "required": [
                          "key",
                          "label",
                          "bands"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "site": {
                      "type": "string",
                      "description": "the site's apex domain"
                    }
                  },
                  "required": [
                    "site",
                    "segments",
                    "money_categories"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "description": "the answer; cached an hour"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "a parameter is wrong: the body's fix says which"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "no such site, vendor, band or page on the site"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "over the calls an IP may make a minute; Retry-After says when to call again"
          }
        },
        "summary": "Lists a site's segments and their bands, the keys estimate, compare and public_prices give figures by, and the categories that carry figures, as estimate takes them."
      }
    },
    "/vendor": {
      "get": {
        "description": "Gives one vendor's profile as its pages show it: its profile page, website, categories and paid labels, each price line with its type, source and the day it was read, and its first-year total per band. A Verified or Featured label is paid and changes no figure. For a band's typical cost (median, low, high, n), call estimate. To ask firms for a quote on a buyer's behalf, call request_quote.",
        "operationId": "public_vendor",
        "parameters": [
          {
            "description": "the vendor's slug, from public_vendors",
            "example": "ledgerworks",
            "in": "query",
            "name": "id",
            "required": true,
            "schema": {
              "description": "the vendor's slug, from public_vendors",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "example1": {
                    "summary": "A vendor's profile",
                    "value": {
                      "site": "example.com",
                      "vendor": {
                        "slug": "ledgerworks",
                        "name": "Ledgerworks",
                        "url": "https://example.com/ledgerworks",
                        "website": "https://ledgerworks.example",
                        "categories": [],
                        "verified": false,
                        "featured": false
                      },
                      "prices": [
                        {
                          "item": "User licence",
                          "plan": "Team",
                          "value": 12,
                          "currency": "USD",
                          "per": "user per month",
                          "type": "published",
                          "source": "https://ledgerworks.example/pricing",
                          "checked": "2026-11-02"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "prices": {
                      "type": "array",
                      "description": "each price line its profile shows, with its type, source and the day it was read",
                      "items": {
                        "type": "object",
                        "properties": {
                          "alternative": {
                            "type": "boolean",
                            "description": "the line is paid only in some cases or in place of another, as research's cost model marks it; estimate lists it as an alternative, out of the totals"
                          },
                          "basis": {
                            "type": "string",
                            "description": "for an estimate, what it rests on"
                          },
                          "checked": {
                            "type": "string",
                            "description": "the day it was read, YYYY-MM-DD"
                          },
                          "currency": {
                            "type": "string",
                            "description": "ISO 4217 code"
                          },
                          "estimate": {
                            "type": "string",
                            "description": "for an estimate, the label the page shows it with, the word estimate in it"
                          },
                          "from": {
                            "type": "boolean",
                            "description": "the value is a starting price"
                          },
                          "item": {
                            "type": "string",
                            "description": "what the price is for"
                          },
                          "n": {
                            "type": "integer",
                            "description": "for a buyer-reported price, how many buyers reported it"
                          },
                          "per": {
                            "type": "string",
                            "description": "what the amount is per, such as month or user"
                          },
                          "plan": {
                            "type": "string",
                            "description": "the plan it belongs to"
                          },
                          "segment": {
                            "type": "string",
                            "description": "the band it applies to"
                          },
                          "seller": {
                            "type": "string",
                            "description": "for a price a marketplace or reseller lists, its name: the listing's price, not the vendor's own; the listing is source"
                          },
                          "source": {
                            "type": "string",
                            "description": "the URL the price was read at"
                          },
                          "text": {
                            "type": "string",
                            "description": "the price as the page writes it"
                          },
                          "type": {
                            "type": "string",
                            "description": "published, buyer_reported or estimate"
                          },
                          "up_to": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "the top of a range the page states"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "the amount; none where the page shows words only, such as a quote"
                          }
                        },
                        "required": [
                          "item",
                          "type"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "site": {
                      "type": "string",
                      "description": "the site's apex domain"
                    },
                    "vendor": {
                      "type": "object",
                      "description": "the vendor, its profile page, categories and paid labels",
                      "properties": {
                        "categories": {
                          "type": "array",
                          "description": "the site's category pages that list it",
                          "items": {
                            "type": "object",
                            "properties": {
                              "money": {
                                "type": "boolean",
                                "description": "the category carries figures: estimate takes its slug as category; segments lists these as money_categories"
                              },
                              "name": {
                                "type": "string",
                                "description": "its name"
                              },
                              "slug": {
                                "type": "string",
                                "description": "its slug"
                              },
                              "url": {
                                "type": "string",
                                "description": "its page on the site"
                              }
                            },
                            "required": [
                              "slug",
                              "name",
                              "url"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "featured": {
                          "type": "boolean",
                          "description": "the vendor holds a paid Featured spot; a label only, never a ranking"
                        },
                        "labels": {
                          "type": "array",
                          "description": "the paid labels as the profile shows them",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "description": "verified or featured"
                              },
                              "label": {
                                "type": "string",
                                "description": "the words the profile shows"
                              }
                            },
                            "required": [
                              "kind",
                              "label"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "name": {
                          "type": "string",
                          "description": "the vendor's name"
                        },
                        "slug": {
                          "type": "string",
                          "description": "the vendor's slug, as the other public ops take it"
                        },
                        "url": {
                          "type": "string",
                          "description": "its profile page on the site"
                        },
                        "verified": {
                          "type": "boolean",
                          "description": "the profile carries the paid Verified label; a label only, never a ranking"
                        },
                        "website": {
                          "type": "string",
                          "description": "the vendor's own website"
                        }
                      },
                      "required": [
                        "slug",
                        "name",
                        "url",
                        "categories",
                        "verified",
                        "featured"
                      ],
                      "additionalProperties": false
                    },
                    "year_one": {
                      "type": "array",
                      "description": "its first-year total per band, where its pricing page is served",
                      "items": {
                        "type": "object",
                        "properties": {
                          "band": {
                            "type": "string",
                            "description": "the band's key, from segments"
                          },
                          "label": {
                            "type": "string",
                            "description": "the band's name"
                          },
                          "lines": {
                            "type": "array",
                            "description": "the price lines the total sums, each with its source and the day it was read",
                            "items": {
                              "type": "object",
                              "properties": {
                                "alternative": {
                                  "type": "boolean",
                                  "description": "the line is paid only in some cases or in place of another, as research's cost model marks it; estimate lists it as an alternative, out of the totals"
                                },
                                "basis": {
                                  "type": "string",
                                  "description": "for an estimate, what it rests on"
                                },
                                "checked": {
                                  "type": "string",
                                  "description": "the day it was read, YYYY-MM-DD"
                                },
                                "currency": {
                                  "type": "string",
                                  "description": "ISO 4217 code"
                                },
                                "estimate": {
                                  "type": "string",
                                  "description": "for an estimate, the label the page shows it with, the word estimate in it"
                                },
                                "from": {
                                  "type": "boolean",
                                  "description": "the value is a starting price"
                                },
                                "item": {
                                  "type": "string",
                                  "description": "what the price is for"
                                },
                                "n": {
                                  "type": "integer",
                                  "description": "for a buyer-reported price, how many buyers reported it"
                                },
                                "per": {
                                  "type": "string",
                                  "description": "what the amount is per, such as month or user"
                                },
                                "plan": {
                                  "type": "string",
                                  "description": "the plan it belongs to"
                                },
                                "segment": {
                                  "type": "string",
                                  "description": "the band it applies to"
                                },
                                "seller": {
                                  "type": "string",
                                  "description": "for a price a marketplace or reseller lists, its name: the listing's price, not the vendor's own; the listing is source"
                                },
                                "source": {
                                  "type": "string",
                                  "description": "the URL the price was read at"
                                },
                                "text": {
                                  "type": "string",
                                  "description": "the price as the page writes it"
                                },
                                "type": {
                                  "type": "string",
                                  "description": "published, buyer_reported or estimate"
                                },
                                "up_to": {
                                  "type": [
                                    "number",
                                    "null"
                                  ],
                                  "description": "the top of a range the page states"
                                },
                                "value": {
                                  "type": [
                                    "number",
                                    "null"
                                  ],
                                  "description": "the amount; none where the page shows words only, such as a quote"
                                }
                              },
                              "required": [
                                "item",
                                "type"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "total": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "description": "research's first-year total in the band, typed as the weakest of its lines and checked on the oldest of their days; none where it states none",
                            "properties": {
                              "basis": {
                                "type": "string",
                                "description": "for an estimate, what it rests on"
                              },
                              "checked": {
                                "type": "string",
                                "description": "the day it was read, YYYY-MM-DD"
                              },
                              "estimate": {
                                "type": "string",
                                "description": "for an estimate, the label the page shows it with, the word estimate in it"
                              },
                              "high": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "the high end research states, where it states one"
                              },
                              "low": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "the low end research states, where it states one"
                              },
                              "n": {
                                "type": "integer",
                                "description": "how many data points it rests on"
                              },
                              "source": {
                                "type": "string",
                                "description": "the URL it was read at"
                              },
                              "type": {
                                "type": "string",
                                "description": "published, buyer_reported or estimate"
                              },
                              "value": {
                                "type": "number",
                                "description": "the amount, in the site's currency"
                              }
                            },
                            "required": [
                              "value"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "band",
                          "label"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "site",
                    "vendor",
                    "prices"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "description": "the answer; cached an hour"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "a parameter is wrong: the body's fix says which"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "no such site, vendor, band or page on the site"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "over the calls an IP may make a minute; Retry-After says when to call again"
          }
        },
        "summary": "Gives one vendor's profile as its pages show it: its profile page, website, categories and paid labels, each price line with its type, source and the day it was read, and its first-year total per band."
      }
    },
    "/vendors": {
      "get": {
        "description": "Lists the vendors a site profiles, in research's order, with each one's profile page, website, categories and paid labels. Call it first to learn the slugs the other public ops take; a Verified or Featured label is paid and never changes the order. Filter by a category's slug or a band's key from segments. A category marked money carries figures. For a band's typical cost (median, low, high, n), call estimate. To ask firms for a quote on a buyer's behalf, call request_quote.",
        "operationId": "public_vendors",
        "parameters": [
          {
            "description": "a category's slug, to list only the vendors its page lists; none: every vendor",
            "in": "query",
            "name": "category",
            "required": false,
            "schema": {
              "description": "a category's slug, to list only the vendors its page lists; none: every vendor",
              "type": "string"
            }
          },
          {
            "description": "a band's key, from segments, to list only the vendors whose served prices state a figure in it; none: every vendor",
            "in": "query",
            "name": "segment",
            "required": false,
            "schema": {
              "description": "a band's key, from segments, to list only the vendors whose served prices state a figure in it; none: every vendor",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "example1": {
                    "summary": "The vendors of a site",
                    "value": {
                      "site": "example.com",
                      "vendors": [
                        {
                          "slug": "ledgerworks",
                          "name": "Ledgerworks",
                          "url": "https://example.com/ledgerworks",
                          "website": "https://ledgerworks.example",
                          "categories": [
                            {
                              "slug": "billing",
                              "name": "Billing",
                              "url": "https://example.com/category/billing",
                              "money": true
                            }
                          ],
                          "verified": false,
                          "featured": false
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "site": {
                      "type": "string",
                      "description": "the site's apex domain"
                    },
                    "vendors": {
                      "type": "array",
                      "description": "the vendors with a profile page, in research's order; paid labels never change it",
                      "items": {
                        "type": "object",
                        "properties": {
                          "categories": {
                            "type": "array",
                            "description": "the site's category pages that list it",
                            "items": {
                              "type": "object",
                              "properties": {
                                "money": {
                                  "type": "boolean",
                                  "description": "the category carries figures: estimate takes its slug as category; segments lists these as money_categories"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "its name"
                                },
                                "slug": {
                                  "type": "string",
                                  "description": "its slug"
                                },
                                "url": {
                                  "type": "string",
                                  "description": "its page on the site"
                                }
                              },
                              "required": [
                                "slug",
                                "name",
                                "url"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "featured": {
                            "type": "boolean",
                            "description": "the vendor holds a paid Featured spot; a label only, never a ranking"
                          },
                          "labels": {
                            "type": "array",
                            "description": "the paid labels as the profile shows them",
                            "items": {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "description": "verified or featured"
                                },
                                "label": {
                                  "type": "string",
                                  "description": "the words the profile shows"
                                }
                              },
                              "required": [
                                "kind",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "name": {
                            "type": "string",
                            "description": "the vendor's name"
                          },
                          "slug": {
                            "type": "string",
                            "description": "the vendor's slug, as the other public ops take it"
                          },
                          "url": {
                            "type": "string",
                            "description": "its profile page on the site"
                          },
                          "verified": {
                            "type": "boolean",
                            "description": "the profile carries the paid Verified label; a label only, never a ranking"
                          },
                          "website": {
                            "type": "string",
                            "description": "the vendor's own website"
                          }
                        },
                        "required": [
                          "slug",
                          "name",
                          "url",
                          "categories",
                          "verified",
                          "featured"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "site",
                    "vendors"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "description": "the answer; cached an hour"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "a parameter is wrong: the body's fix says which"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "no such site, vendor, band or page on the site"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "over the calls an IP may make a minute; Retry-After says when to call again"
          }
        },
        "summary": "Lists the vendors a site profiles, in research's order, with each one's profile page, website, categories and paid labels."
      }
    }
  },
  "servers": [
    {
      "url": "/api"
    }
  ]
}