API and data download
Researchers, journalists and tool builders can use the collection directly. The API is free, read-only and needs no key. Every quote comes with what the site shows: the exact words, the speaker's title and organization at the time, their own caveats, the source, an archived copy, how it was checked, and ready-made citations.
Most people want the whole dataset: download CSV or JSON. Both are rebuilt daily; the JSON's meta.generated_at and the CSV's X-Data-Generated-At header give the version date.
Endpoints
Base URL: https://onairisk.org/api/v1
GET /quotes— Search and filter quotes. Same filters as the site's search, plus limit and cursor.GET /quotes/{id}— One quote. A quote that was published and later withdrawn answers 410 Gone.GET /people— Everyone with at least one quote.GET /people/{id}— A person, their affiliations over time, and their quotes.GET /organizations— Organizations speakers belonged to when quoted.GET /organizations/{id}— An organization, its people and quotes.GET /topics— Topics, most quotes first.GET /topics/{id}— A topic, its people and quotes.GET /export.json— Every quote in one file (same shape as /quotes). Rebuilt daily.GET /export.csv— Every quote as a spreadsheet, one row each. Rebuilt daily.GET /openapi.json— OpenAPI 3.1 description of all of the above.
Ids are the slugs in the site's addresses (/quote/{id}, /p/{id}, /o/{id}, /topic/{id}) and never change or get reused. Every response is wrapped as { data, pagination?, meta }, and meta carries the license.
Filters for /quotes
q— words to search for (quotes, OR and -word work like a web search)person,org— a person or organization id.orgmeans the speaker's organization when they said it; addcurrent=1for where they are now.kw— a sector or role keyword, repeatable (all must hold for the same affiliation)tag— a topic id, repeatable (all must apply)credential—nobel,turing_award,fields_medal,national_academy,otherfrom,to— dates as YYYY-MM-DDtype— source type: tweet, video, podcast, interview, article, paper, testimony, speech, book, letter, otherprimary=1— only quotes checked against the speaker's own source (leaves out news reports)limit(1–100, default 50) andcursor— followpagination.nextuntil it is null
A filter value the API doesn't recognise returns 400 rather than being ignored.
Examples
curl "https://onairisk.org/api/v1/quotes?tag=extinction-risk&primary=1&limit=5"// Every quote on a topic, page by page
let url = "https://onairisk.org/api/v1/quotes?tag=loss-of-control";
const quotes = [];
while (url) {
const res = await fetch(url).then((r) => r.json());
quotes.push(...res.data);
url = res.pagination.next;
}
console.log(quotes.map((q) => `${q.speaker.name}: ${q.text ?? q.url}`));# Python: load the daily CSV
import pandas as pd
df = pd.read_csv("https://onairisk.org/api/v1/export.csv")What a quote contains
textis exactly what the source says.excerpt, when present, is a shorter cut of it, never a rewording.said_atwithsaid_at_precision(day, month or year): a month-precision date is stored as the 1st, so check the precision before treating it as a day.affiliation_at_timeis the title and organization when the words were said, not today's.speaker_hedgesandstated_probabilityare the speaker's own caveats;later_positionsays if they later changed or walked back the view. Please keep these with the quote.source.archive_urlis a Wayback Machine copy;source.content_hashis a SHA-256 of the text we captured.verification.level:primary_verified(checked against the speaker's own source) orsecondary_only(checked against a reliable report). Unverified quotes are never included.citationholds APA, MLA, Chicago and BibTeX citations of the original source.- For analysis:
stance(concerned, mixed, skeptical or not_stated),claim(what the speaker says could happen, with any time frame or condition, in their own words and never inferred),stated_probability_range(the stated probability as numbers from 0 to 1) andsource.kind(speaker's own channel, official letter, interview, news report or post on X). These are recorded while researching each quote, and older quotes don't all have them yet:nullmeans not recorded, which is different fromnot_stated. - Posts on X:
text,excerptand context arenullwithtext_withheld: "x_terms", because X's terms don't allow redistributing post text in datasets. Everything else, including the link to the post, is there, and the quote's page shows the words.
The full schema is in the OpenAPI description.
License
Our part of the data (which quotes are included, tags, dates, affiliations, verification results and links) is licensed under CC BY 4.0: you may reuse it for any purpose, including commercially, if you credit On AI Risk (https://onairisk.org) and link to the license.
The quoted words belong to their speakers. They are shared here as short excerpts with full citations; when you reuse a quote, cite the original source (each quote's citation does this for you).
Terms of use
- Credit the collection as above, and cite the original source for any quote you use.
- Keep quotes faithful. Don't alter the words, and don't drop the speaker's own caveats or a later change of view where it matters to the meaning.
- No implied endorsement. Don't suggest that a speaker, or On AI Risk, endorses your work, product or position.
- Be gentle. Responses are cached for a few minutes. Keep to about 60 requests a minute from one address; above that you may get
429 Too Many Requests. For anything bigger, use the daily download. - The data is provided as is. We correct errors when we find them, so refresh your copy now and then.
Errors and corrections
Errors come back as { error: { status, code, message } } with status 400 (bad parameter), 404 (no such id), 410 (withdrawn) or 429 (too many requests). A quote that was published and later withdrawn keeps answering 410 with withdrawn_at, so you can tell it apart from a typo.
Found a wrong quote? Use the “Report an error” form on its page. Reports go to the person who maintains the collection; see how quotes are checked.
Versioning and changes
/api/v1 won't break: fields may be added, but none will be removed, renamed or change type. A change that would break that gets a new version (/api/v2) with the old one kept running. Cursors are opaque; don't build them yourself.
Changelog
- 2026-11-20 — Added
stance,claim,stated_probability_rangeandsource.kindto quotes, and matching CSV columns at the end. - 2026-11-20 — v1 released: quotes, people, organizations, topics, daily JSON and CSV download.