# Internet Archive

Best for: Past versions of any page, and books, films, audio and software on archive.org. Category: Any website.

Search archive.org by text, title or creator, with media type, collection, language, year range and nine sort orders: each item has its identifier, title, creators, year, subjects, collections, downloads, rating and links. One item adds its license and rights, and with include_files every file with its format, size and a direct download link. The Wayback Machine answers the closest snapshot of any URL, optionally near a date, or lists its captures oldest first.

- Look up by: Search text and filters; an archive.org identifier or item link; any URL for the Wayback Machine
- Coverage: Everything public on archive.org and in the Wayback Machine
- Cost: 2 credits a call; failed and empty calls are free
- Answers: Search, Details

## Endpoints

- `POST /v1/archive/search`: Internet Archive search, 2 credits. https://scrapercompany.com/docs/reference/archive-search
- `POST /v1/archive/item`: Internet Archive item, 2 credits. https://scrapercompany.com/docs/reference/archive-item
- `POST /v1/archive/wayback`: Wayback Machine snapshots, 2 credits. https://scrapercompany.com/docs/reference/archive-wayback

## Example

Internet Archive search (`POST /v1/archive/search`):

```bash
curl -X POST "https://api.scrapercompany.com/v1/archive/search" \
  -H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## Good to know

- Check an item's license and rights before you reuse its files.
- An empty search page, an unknown item and a URL with no snapshot are free.
- Uploader emails and personal favourites lists are never returned.

- [All data sources](https://scrapercompany.com/docs/data-sources)
