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.

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

Archive.org advanced search API in Python

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

Install the apify-client

pip install apify-client

Other API clients include: