# API document record: selection rule (written 2026-11-23, before any list) Founder decisions of 2026-11-23; design in `docs/superpowers/specs/2026-11-23-api-record-design.md`. This file and the candidate file `docs/registry/apis/candidates-2026-11-23.txt` are committed before `toolmark select-apis` runs for the first time; the list it writes (`docs/registry/apis/.txt`) is committed next, unchanged. No hand-picking, no swaps. This list is separate from the MCP lists (`docs/registry/RULE.md`, `docs/registry/arrivals/RULE.md`). Toolmark only reads published documents. The APIs they describe are never called. ## Draw (once) Every request is a GET with a User-Agent that carries `contact@toolmark.dev`, at most one request a second to one host, after that host's `robots.txt` allows it (any answer but 200, 404 or 410 denies). https only, public hosts only, no query string, no redirects (a 3xx answer is a refusal), 5 s timeout, 4 MiB cap, identity encoding only. 1. **Source:** the 160 lines of the candidate file, in its order. No line is added, removed or edited by hand. 2. **Company:** `https://www.ycombinator.com/companies/`. The page's embedded data (the `data-page` attribute, `props.company`) must give the same `slug`, a `batch_name` that is one of Winter 2026, Spring 2026, Summer 2026 or Fall 2026, and a `website` that is an http or https URL. Otherwise the line is left out and counted. 3. **Ownership:** let *site* be the website's host, lowercased, with a trailing dot and one leading `www.` removed. The document's host must be *site* or end with `.` followed by *site*. Otherwise the line is left out and counted. 4. **Document:** the document URL, read under the rules above. A refusal or failed read is left out and counted by kind (robots.txt, redirect, other answer, unreadable). 5. **Valid:** the document parses as JSON, or as YAML with the safe loader, within Toolmark's document limits (4 MiB, 200,000 objects and lists, 100 levels), and has a top-level `openapi` or `swagger` text value and a `paths` object with at least one path. Otherwise left out and counted. 6. **Not a template:** a document whose `info.title` is `OpenAPI Plant Store`, or whose paths are exactly `/plants` and `/plants/{id}` (Mintlify's starter document), is left out and counted. 7. **One per document:** if two lines name the same document URL, the first stays and the other is counted. 8. **Size:** every line that passes. No ranking and no cap. The list file starts with comments: the rule, the day, each count, and the line "YC 2026 companies that publish a public OpenAPI document. Toolmark is not affiliated with Y Combinator." Then one tab-separated line per pick: slug, document URL, batch name, company name (as the YC page gives it, reduced to one printable line of at most 100 characters). Known bias: the candidates come from another scan; a company it missed cannot enter this list. ## Record - Each listed document is read at most once a day (UTC) under the same request rules. - A new version is a document whose parsed content differs (whitespace, key order and JSON vs YAML do not count). Only then are its facts and its changes from the previous version computed, offline, from the documents. - The public pages show only what the document declares (its version, endpoints, security schemes, servers and so on) and the changes between versions, labelled "Document record; the API was never called." No pass or fail, no score, no percentage. - A read that fails is shown as "could not be read" with its day and never counts against a company. A host whose robots.txt later denies Toolmark is not read while it does. ## Changes A list is fixed once committed. This rule is fixed until a new dated rule replaces it. A company that leaves a later list keeps its published record. ## Amendment 1 (2026-11-23, after the first draw, before any record run): shared hosts and counts 1. **The list of 2026-11-23 stays valid,** as drawn and committed. It is not drawn again. None of its 137 document hosts is on a domain named in point 2. 2. **From the next draw on, step 3 also leaves out** a line whose website host (after the same reduction) has no dot, or is, or ends with `.` followed by, one of these hosting domains, where anyone can have a subdomain: `github.io`, `gitlab.io`, `vercel.app`, `netlify.app`, `pages.dev`, `workers.dev`, `herokuapp.com`, `onrender.com`, `fly.dev`, `web.app`, `firebaseapp.com`, `appspot.com`, `azurewebsites.net`, `notion.site`, `mintlify.app`, `gitbook.io`, `readme.io`, `webflow.io`, `framer.website`, `replit.app`, `railway.app`. It is counted as "website on a shared host or without a domain". 3. **Count labels:** a refused or failed read is counted by a short kind (robots.txt unreadable, robots.txt denies, redirect, answered , compressed answer, over 4 MiB, not a public host, unreachable, unreadable) instead of the refusal's sentence, and each count is written as " ()". The list of 2026-11-23 shows the earlier form.