Archive.org advanced search avatar

Archive.org advanced search

Try for free

1 day trial then $9.00/month - No credit card required now

Go to Store
Archive.org advanced search

Archive.org advanced search

maged120/archive-org-advanced-search
Try for free

1 day trial then $9.00/month - No credit card required now

a powerful, fast and advanced seach api for archive.org leveraging its api for fast and accurate results, with all the filters supported in archive.org's advanced search

Developer
Maintained by Community

Actor Metrics

  • 2 monthly users

  • No reviews yet

  • No bookmarks yet

  • Created in Mar 2025

  • Modified a day ago

You can access the Archive.org advanced search programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4// Replace the '<YOUR_API_TOKEN>' with your token
5const client = new ApifyClient({
6    token: '<YOUR_API_TOKEN>',
7});
8
9// Prepare Actor input
10const input = {
11    "any_field_value": "",
12    "any_field_operator": "contains",
13    "title_value": "Learn Python",
14    "title_operator": "contains",
15    "creator_value": "",
16    "creator_operator": "contains",
17    "description_value": "",
18    "description_operator": "contains",
19    "collection_value": "",
20    "collection_operator": "contains",
21    "mediatype_value": "",
22    "mediatype_operator": "is",
23    "custom_field_1_name": "",
24    "custom_field_1_value": "",
25    "custom_field_1_operator": "contains",
26    "custom_field_2_name": "",
27    "custom_field_2_value": "",
28    "custom_field_2_operator": "contains",
29    "custom_field_3_name": "",
30    "custom_field_3_value": "",
31    "custom_field_3_operator": "contains",
32    "custom_field_4_name": "",
33    "custom_field_4_value": "",
34    "custom_field_4_operator": "contains",
35    "custom_field_5_name": "",
36    "custom_field_5_value": "",
37    "custom_field_5_operator": "contains",
38    "date": "",
39    "date_range_start": "",
40    "date_range_end": "",
41    "hits_per_page": 5,
42    "page": 1,
43    "sort_name": "publicdate",
44    "sort_value": "desc"
45};
46
47// Run the Actor and wait for it to finish
48const run = await client.actor("maged120/archive-org-advanced-search").call(input);
49
50// Fetch and print Actor results from the run's dataset (if any)
51console.log('Results from dataset');
52console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
53const { items } = await client.dataset(run.defaultDatasetId).listItems();
54items.forEach((item) => {
55    console.dir(item);
56});
57
58// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

Archive.org advanced search API in JavaScript

The Apify API client for JavaScript is the official library that allows you to use Archive.org advanced search API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.

Install the apify-client

npm install apify-client

Other API clients include: