Developers
Reading the archive is open to everyone and stays that way. Scripts and tools use a free key, so we know who is building on the records and can tell you when a new release is in.
What a key covers
| Access | Key |
|---|---|
| Bulk downloads: the records as JSON and CSV, and the full text | Needed from January 4, 2027. Until then they work without one. |
The site's JSON endpoints (/api/), from a script | Needed from January 4, 2027. Not needed in a browser. |
| The mirrored PDFs, videos, audio and images, from a script | Needed. Not needed in a browser. |
One record's text file (/data/ocr/<slug>.txt, /data/transcripts/<slug>.txt) | Not needed. The same text is on every record page; for all of it at once, use the full-text download. |
| The MCP endpoint for Claude, ChatGPT and other assistants | Not needed |
| Reading and searching the site | Not needed |
Get a key
We email the key to you. One key per email address.
What we keep and why: see Privacy.
Using your key
Send the key as an X-API-Key header. In a browser address, add ?key= and the key instead.
curl -H "X-API-Key: YOUR_KEY" -O https://declassifieduap.org/downloads/declassifieduap-records.json
curl -H "X-API-Key: YOUR_KEY" -O https://declassifieduap.org/downloads/declassifieduap-records.csv
curl -H "X-API-Key: YOUR_KEY" -O https://declassifieduap.org/downloads/declassifieduap-fulltext.jsonl.gz
Each record in the JSON and CSV carries file_url, the address of this archive's copy of the file. Media requests from a script are redirected to our media host with a link that works for an hour, so let your client follow redirects:
curl -L -H "X-API-Key: YOUR_KEY" -O https://declassifieduap.org/data/pdfs/cia-uap-d027-office-of-scientific-intelligence-briefing-on-flying-saucers-1952.pdf
The downloads are rebuilt after every release and correction; generated_on in the JSON says when. Key on slug, not code: war.gov has given the same code to two different records.
Limits
- Pages and JSON endpoints: about 10 requests a second from one address.
- Media files: about 5 requests a second, and 8 at once.
- Over the limit, requests get a 429; slow down and retry. Please fetch the bulk downloads rather than crawling the record pages.
Changes and corrections
Every change to the catalog, and every change war.gov makes to its releases, is in the changelog. The data repository also has the field list, a sample and example code. Report a problem there as an issue, or write to us.
Lost or leaked key
Sign up again with the same email address. We email you a new key, and the old one stops working the first time you use the new one.
Questions
Write to ryan@terrain360.com. To cite records, see How to cite a record.