Internet Archive API

    by Khristian Kopachelli

    1

    Search and retrieve metadata from the Internet Archive using optimized API patterns and endpoint references.

    $9

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Internet Archive API

    Example session with this skill installed

    Find 5 books about "quantum physics" published before 1950 and get the metadata for the first result.

    • Read your context and instructions
    • Compiled the internet archive api

    I have queried the Internet Archive advancedsearch API for quantum physics books published before 1950 and retrieved the metadata for the top result.

    Search Results & Metadata

    IdentifierTitleMedia TypePublic Date
    quantumphysics00smitElements of Quantum Physicstexts1948-03-12
    introtoquantum00joneIntroduction to Quantum Mechanicstexts1945-11-20
    atomicenergy00browAtomic Energy and Quantum Theorytexts1947-06-05
    modernphysics00whitModern Physics for Engineerstexts1949-01-15
    quantumtheory00planSelected Papers on Quantum Theorytexts1942-09-30

    Metadata for quantumphysics00smit

    {
      "identifier": "quantumphysics00smit",
      "metadata": {
        "title": "Elements of Quantum Physics",
        "creator": "Smith, J.L.",
        "date": "1948",
        "language": "eng",
        "mediatype": "texts",
        "collection": ["additional_collections", "printdisabled"],
        "description": "A foundational text on early quantum mechanics and wave theory.",
        "scanner": "Internet Archive Python library 1.8.4"
      },
      "files": [
        {"name": "quantumphysics00smit.pdf", "format": "Text PDF", "size": "15420341"},
        {"name": "quantumphysics00smit_meta.xml", "format": "Metadata", "size": "1204"}
      ]
    }
    

    Next steps

    1. Download the specific PDF file using the filename from the metadata file list.
    2. Filter the remaining 4 identifiers if you need to perform a bulk metadata extract.
    3. Check the collection field to verify usage rights or access restrictions.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Integration with public data repositories is often brittle due to poorly documented query parameters and varying metadata schemas. This skill provides the precise endpoint references and query patterns required to interface with the Internet Archive. It eliminates the trial-and-error cycle of searching and inspecting archived items by formalizing the use of the advancedsearch and metadata APIs.

    What it does

    • Advanced searching locates specific identifiers, titles, and media types across the Internet Archive repository.
    • Metadata extraction retrieves full item details, file lists, and technical attributes for a given identifier.
    • Workflow optimization defines specific query patterns to prevent timeouts and handle truncation on broad searches.
    • Rate limit management implements polite-use expectations to avoid 429 errors during bulk data collection.
    • Result validation distinguishes between valid empty arrays and actual API errors to improve agent reliability.

    How it works

    1. Identify the target by defining search parameters like q, rows, and mediatype.
    2. Execute search via the advancedsearch.php endpoint to obtain unique item identifiers.
    3. Fetch metadata for specific IDs to inspect granular file details or publication data.
    4. Normalize data from the native upstream format for use in downstream agent tasks or databases.

    Frameworks & tools

    This skill interfaces with the Internet Archive REST API using standard HTTP methods. It is compatible with any stack capable of executing curl or fetch requests, including Python, Node.js, and automated workflow engines.

    Why this beats prompting it yourself

    Generic prompts often lead agents to scrape HTML or hallucinate API parameters that don't exist. This skill provides the exact endpoint logic and caching strategies needed to interact with the Archive programmatically and reliably.

    Use cases

    • Automate the discovery of public domain books for a research pipeline.
    • Inspect metadata of archived media files for digital preservation tasks.
    • Build monitoring workflows that track new additions to specific collections.
    • Batch extract identifiers for large-scale data analysis projects.

    Known limitations

    Coverage is restricted to what the public API exposes. Some endpoints require specific jurisdiction identifiers like FIPS codes which must be discovered via search first.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 5 days ago

    Permissions

    Terminal / Shell
    Network Access
    Listed5 days ago

    What's inside

    Frequently Asked Questions

    This skill provides optimized API patterns and endpoint logic to reliably search the Internet Archive and retrieve granular metadata without the errors common in manual scraping or generic prompting.

    The skill is designed to work with any AI agent or development environment capable of making standard HTTP requests, including Python, Node.js, and automated workflow platforms.

    You receive the formalized query patterns, endpoint references, and rate-limiting strategies required to interface with the advancedsearch and metadata APIs programmatically.

    Yes, the skill includes specific workflow optimizations and query patterns designed to prevent timeouts and manage API rate limits during high-volume data collection.

    No external account is required to access the public metadata APIs; the skill utilizes standard public endpoints to fetch information about identifiers, media types, and file lists.

    New in Research & Analysis

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Research & Analysis.