← clify home · catalogue · Web research APIs for AI agents

archive API for agents (unofficial) — JSON over curl

Internet Archive (archive.org): a digital library of texts, audio, video, software and web snapshots. This CLI searches items, including full-text search inside books, browses collections and user uploads, reads item metadata, file lists, reviews and OCR text, downloads files, and queries Wayback Machine snapshots.

Host: archive.org. Call these verified read commands with plain curl; no install, key, or account. Use the public JSON API with plain curl. No install, key, account, or browser is needed. Start with San Francisco and U.S. agent tasks: events, startup jobs, BART and Muni departures, Craigslist listings, local news, public datasets and prediction markets. Example: curl 'https://clify-dev.netlify.app/search?q=SF+tech+events'. Responses are one JSON object. The hosted MCP and GitHub repo are also available.

Machine-readable command schema · Source website

Commands

search-items

Keyword search across archive.org items, as the archive.org/search UI does it, with facet filters, sort and paging; set service_backend=fts to search inside book text Params: query*, filter_map, sort, service_backend, hits_per_page, page Read-only

curl 'https://clify-dev.netlify.app/archive/search-items?query=grateful+dead&filter_map=%7B%22mediatype%22%3A%7B%22audio%22%3A%22inc%22%7D%7D&sort=downloads%3Adesc'

list-collection-items

List the items in a collection (e.g. GratefulDead, texts, audio), with sort, facet filters and paging Params: collection*, query, filter_map, sort, hits_per_page, page Read-only

curl 'https://clify-dev.netlify.app/archive/list-collection-items?collection=GratefulDead&sort=publicdate%3Adesc'

list-user-uploads

List the public uploads of an archive.org user account Params: user*, sort, hits_per_page, page Read-only

curl 'https://clify-dev.netlify.app/archive/list-user-uploads?user=%40matthew_vernon'

Solr-style advanced search (advancedsearch.php) returning identifier, title, creator, mediatype, date and downloads, with sort and paging Params: q*, sort, rows, page Read-only

curl 'https://clify-dev.netlify.app/archive/advanced-search?q=grateful+dead+AND+mediatype%3Aaudio&sort=downloads+desc'

scrape-items

Bulk-list every item matching a query with the cursor-based scrape API; suited to enumerating large collections Params: q*, api_fields, count, cursor Read-only

curl 'https://clify-dev.netlify.app/archive/scrape-items?q=collection%3AGratefulDead'

get-item-metadata

Get an item's descriptive metadata (title, creator, date, collection, description and more) by identifier Params: identifier* Read-only

curl 'https://clify-dev.netlify.app/archive/get-item-metadata?identifier=gd1977-05-08.shure57.stevenson.29303.flac16'

list-item-files

List the files in an item, with name, format, size and checksums; pass a name to download-file Params: identifier* Read-only

curl 'https://clify-dev.netlify.app/archive/list-item-files?identifier=gd1977-05-08.shure57.stevenson.29303.flac16'

get-item-reviews

Get the user reviews (title, body, reviewer, stars, date) posted on an item Params: identifier* Read-only

curl 'https://clify-dev.netlify.app/archive/get-item-reviews?identifier=gd1977-05-08.shure57.stevenson.29303.flac16'

get-item-fulltext

Get the full OCR plain text of a text item (book or document) Params: identifier* Read-only

curl 'https://clify-dev.netlify.app/archive/get-item-fulltext?identifier=alicesadventures00carr'

download-file

Download one file from an item (text files are returned as text) Params: identifier*, file* Read-only

curl 'https://clify-dev.netlify.app/archive/download-file?identifier=gd1977-05-08.shure57.stevenson.29303.flac16&file=gd1977-05-08.29303.txt'

get-collection-views

Get view statistics for a collection over the last N days, broken down by country and region Params: collection*, days Read-only

curl 'https://clify-dev.netlify.app/archive/get-collection-views?collection=GratefulDead&days=30'

list-user-lists

Get a user's public item lists and the items each one contains Params: username* Read-only

curl 'https://clify-dev.netlify.app/archive/list-user-lists?username=matthew_vernon'

list-top-collections

List the top collections featured on the archive.org home page, with item counts Params: page, count Read-only

curl 'https://clify-dev.netlify.app/archive/list-top-collections?page=1&count=50'

get-media-counts

Get total item counts per media type (texts, movies, audio, software, image, etree, tv, web) Params: none Read-only

curl 'https://clify-dev.netlify.app/archive/get-media-counts'

wayback-available

Find the Wayback Machine snapshot of a URL closest to a given timestamp Params: url*, timestamp Read-only

curl 'https://clify-dev.netlify.app/archive/wayback-available?url=example.com&timestamp=20100101'

list-wayback-snapshots

List Wayback Machine captures of a URL from the CDX index, optionally limited to a date range Params: url*, from, to, matchType, collapse, api_limit Read-only

curl 'https://clify-dev.netlify.app/archive/list-wayback-snapshots?url=example.com&api_limit=20'

Related task guides and sites

Continue with Web research APIs for AI agents or explore related sources:

wikipedia

en.wikipedia.org

English Wikipedia: article summaries and article text. Uses /wiki/ pages and the public REST API (both allowed by robots.txt).

Machine-readable commands · 3 verified commands

hnsearch

hn.algolia.com

Hacker News search. The web app calls Algolia directly (recorded: POST .../indexes/Item_dev/query and Item_dev_sort_date); this spec uses the site's documented public API with the same parameters.

Machine-readable commands · 4 verified commands

arxiv

arxiv.org

arXiv.org, the open-access preprint archive. This CLI browses category listings (new, recent, monthly), daily catch-up, archive overviews, yearly stats, the category taxonomy and RSS feeds, and fetches paper abstract pages and BibTeX citations.

Machine-readable commands · 10 verified commands