PHPackages                             votemike/internet-archive-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. votemike/internet-archive-api

ActiveLibrary[API Development](/categories/api)

votemike/internet-archive-api
=============================

Library for Internet Archive API

0.1.1(8y ago)3211MITPHPPHP ^7.1CI failing

Since Sep 13Pushed 6y agoCompare

[ Source](https://github.com/votemike/internet-archive-api)[ Packagist](https://packagist.org/packages/votemike/internet-archive-api)[ RSS](/packages/votemike-internet-archive-api/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Internet Archive API
====================

[](#internet-archive-api)

[![Build Status](https://camo.githubusercontent.com/ef9ae60e566c954f6c9b8096df186eb358713a448b35538b039053a8f2b946a9/68747470733a2f2f7472617669732d63692e6f72672f766f74656d696b652f696e7465726e65742d617263686976652d6170692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/votemike/internet-archive-api)[![Latest Stable Version](https://camo.githubusercontent.com/fdba012eee9b5caa06360dfc0ca08f206294ed8b176f27898e02ad2c828eda64/68747470733a2f2f706f7365722e707567782e6f72672f766f74656d696b652f696e7465726e65742d617263686976652d6170692f762f737461626c65)](https://packagist.org/packages/votemike/internet-archive-api)[![Total Downloads](https://camo.githubusercontent.com/f5c7bf6918766a22d835f74c89a8b613c000d2d6c1e8d8ec96acbc1308ceebca/68747470733a2f2f706f7365722e707567782e6f72672f766f74656d696b652f696e7465726e65742d617263686976652d6170692f646f776e6c6f616473)](https://packagist.org/packages/votemike/internet-archive-api)[![Latest Unstable Version](https://camo.githubusercontent.com/b90eb033b2db9da9407b05614f611eed14b0e9b77829eea62ed94448fb797624/68747470733a2f2f706f7365722e707567782e6f72672f766f74656d696b652f696e7465726e65742d617263686976652d6170692f762f756e737461626c65)](https://packagist.org/packages/votemike/internet-archive-api)[![License](https://camo.githubusercontent.com/33cb5bc182695759ff35f7b2fdfe00f23677014c845c3bc46385725fbba684df/68747470733a2f2f706f7365722e707567782e6f72672f766f74656d696b652f696e7465726e65742d617263686976652d6170692f6c6963656e7365)](https://packagist.org/packages/votemike/internet-archive-api)[![composer.lock](https://camo.githubusercontent.com/17b1c576d0f3040a97d66f86201b2ef7778d630950b157511f587db60ce427c2/68747470733a2f2f706f7365722e707567782e6f72672f766f74656d696b652f696e7465726e65742d617263686976652d6170692f636f6d706f7365726c6f636b)](https://packagist.org/packages/votemike/internet-archive-api)[![StyleCI](https://camo.githubusercontent.com/11dde18381100aa55c6850612c8a5c71872d3e3f4ef649713e11cc34b1942571/68747470733a2f2f7374796c6563692e696f2f7265706f732f3130323936383134302f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/102968140)

A library to call archive.org's search API. Please use GitHub to raise any issues and suggest any improvements.

Install
-------

[](#install)

composer require votemike/internetarchiveapi

Usage
-----

[](#usage)

Create a new instance of `Api` passing in a Guzzle Client with the base\_uri set as ''.

```
$client = new Client(['base_uri' => 'https://archive.org/']);
$api = new Api($client);

```

For a list of items, call `$api->search()` with your query. For information about the valid query strings, see the [advancedsearch page](https://archive.org/advancedsearch.php)Optional you can page in extra arguments:

- Page - By default this library paginates 50 items at a time. Get additional pages by changing this page.
- Rows - The number of items you would like returned as part of each call
- Fields - By default, all fields are returned. Limit them by passing through an array of fields as mentioned on [advancedsearch page](https://archive.org/advancedsearch.php)
- Sort - Send through an array of sort parameters

If you would like a specific item populated with extra metadata, pass an `Item` object in to `$api->getMetaDataForItem()`.
A second parameter can be added to only return [sub-items](http://blog.archive.org/2013/07/04/metadata-api/) of the metadata

Credits
-------

[](#credits)

- [Michael Gwynne](https://votemike.co.uk)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

3211d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3957065?v=4)[Michael Gwynne](/maintainers/votemike)[@votemike](https://github.com/votemike)

---

Top Contributors

[![votemike](https://avatars.githubusercontent.com/u/3957065?v=4)](https://github.com/votemike "votemike (3 commits)")

---

Tags

apilibraryinternet-archivearchive.org

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/votemike-internet-archive-api/health.svg)

```
[![Health](https://phpackages.com/badges/votemike-internet-archive-api/health.svg)](https://phpackages.com/packages/votemike-internet-archive-api)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.6M12](/packages/checkout-checkout-sdk-php)[resend/resend-php

Resend PHP library.

617.2M37](/packages/resend-resend-php)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[volcengine/volcengine-php-sdk

118.7k](/packages/volcengine-volcengine-php-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
