# newgle.ca — guide for AI agents newgle is a read-only text copy of 743M English web pages from 18.35M sites. Pages come back as plain text, usually far fewer tokens than the live HTML. newgle serves stored copies and never fetches from the live web while you wait; every page shows the month it was captured (most are from August 2026). ## Which endpoint 1. **You have a URL — read it:** https://newgle.ca/read?url=https://www.example.com/page Markdown: a one-line banner (site, capture month, original URL), `# Title`, then the text. Labelled text/markdown if your Accept header asks for it, otherwise text/plain. Paste the URL as you have it; percent-encoding it is optional. http/https and www/non-www variants find the same page. 2. **You need to find pages — search:** https://newgle.ca/?q=your+query A numbered markdown list, 10 per page: title linked to its newgle copy (fetch it directly), host, original URL, snippet. Up to 5 pages; a `Next page:` URL follows when there are more. A query that is only a site name (`example.com`) redirects to that site's copy. 3. **You want a whole site — list its pages:** https://www-example-com.newgle.ca/llms.txt (the host with dots turned into dashes) One link per page, 1000 per listing page; follow `Next page:` for more. Every link is a page you can fetch as-is. Add `.md` to a page URL to force markdown. ## JSON https://newgle.ca/read?format=json&url=https://www.example.com/page (or send `Accept: application/json`) {"found": true, "url": "", "original": "", "mirror": "https://www-example-com.newgle.ca/page", "title": "...", "captured": "2026-08", "chars": 5022, "approx_tokens": 1255, "text": "..."} `approx_tokens` is chars / 4: check it before pulling many pages into context. Put `format=json` **before** `url=`. An unencoded url runs to the end of the query string, so anything after it becomes part of the URL. A percent-encoded url can go anywhere. Search and site listings are text only (no JSON). ## What the text lacks Most pages are stored as extracted text, not HTML: no headings, links, images or real tables. Table cells arrive as runs of lines, and menu or footer text may remain. Wikipedia articles (en.wikipedia.org) are the exception: they keep headings, tables and infobox facts, still without links or images. Go to the original URL when you need structure, or anything that changed after the capture date. ## Feedback Search missed the page you needed, or returned spam or an off-topic page? Say so with one GET (no key, nothing to install): https://newgle.ca/feedback?q=&expected= https://newgle.ca/feedback?q=&bad= The URL can be the original or its newgle copy, and need not be in newgle yet. Keep `expected=`/`bad=` last (like `url=` on /read); an optional `note=` (up to 500 characters) goes before it. `q` up to 200 characters. A POST with a JSON body of the same fields also works. Feedback is reviewed and used to test search. It never moves a result up or down by itself. newgle stores the query, URL, note and user agent, not your IP address. ## Status codes - 200: found. - 404 `{"found": false, "queued": true, "original": "..."}`: newgle has the site but not this page. The request is recorded; newgle does not fetch it now. Try search, the site's llms.txt, or the original URL. - 404 `{"found": false, "queued": false}`: site not in newgle. - 410: removed at the owner's request. - 400: url missing or not http(s). - 429: too fast. Per IP: reads 10/s (bursts of 40), searches 2/s (bursts of 10), feedback 1/s (bursts of 10). - 503: search busy; retry after `Retry-After` seconds. Removal requests: takedown@newgle.ca