PHPackages                             autoapi/client - 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. autoapi/client

ActiveLibrary[API Development](/categories/api)

autoapi/client
==============

PHP wrapper for the auto-api.com car listings API (encar, mobile.de, autoscout24 and more)

v1.0.5(3mo ago)011MITPHPPHP &gt;=8.1

Since Feb 11Pushed 3mo agoCompare

[ Source](https://github.com/autoapicom/auto-api-php)[ Packagist](https://packagist.org/packages/autoapi/client)[ Docs](https://auto-api.com)[ RSS](/packages/autoapi-client/feed)WikiDiscussions main Synced 1mo ago

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

auto-api-client-php
===================

[](#auto-api-client-php)

[![Packagist Version](https://camo.githubusercontent.com/142d6d76e3e042af41b0605db7491416d3a1ef4efe20209a4a20b0f80706ba6f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6175746f6170692f636c69656e74)](https://packagist.org/packages/autoapi/client)[![PHP Version](https://camo.githubusercontent.com/0c0396773f3cc5b2fe017980908aa8161ef16956682851730ebe634c4bbe5fb4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f6175746f6170692f636c69656e742f706870)](https://packagist.org/packages/autoapi/client)[![License](https://camo.githubusercontent.com/0d96b68a0378019367d612bfcb03699c2f149788bfe440c2e22e9b30b642f82a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6175746f6170692f636c69656e74)](LICENSE)

PHP wrapper for [auto-api.com](https://auto-api.com) — unified access to car listings from encar, mobile.de, autoscout24, che168 and other marketplaces.

Covers 8 sources across Korea, Europe, China and UAE. Fetch offers, filter by brand/year/price, track listing changes over time. Requires PHP 8.1+ and Guzzle.

Installation
------------

[](#installation)

```
composer require autoapi/client
```

Usage
-----

[](#usage)

```
use AutoApi\Client;

$client = new Client('your-api-key', 'https://api1.auto-api.com');
```

### Get filters

[](#get-filters)

```
$filters = $client->getFilters('encar');
```

### Search offers

[](#search-offers)

```
$offers = $client->getOffers('mobilede', [
    'page' => 1,
    'brand' => 'BMW',
    'year_from' => 2020,
]);

// Pagination
$page = $offers['meta']['page'];
$nextPage = $offers['meta']['next_page'];
```

### Get single offer

[](#get-single-offer)

```
$offer = $client->getOffer('encar', '40427050');
```

### Track changes

[](#track-changes)

```
$changeId = $client->getChangeId('encar', '2025-01-15');
$changes = $client->getChanges('encar', $changeId);

// Next batch
$nextChangeId = $changes['meta']['next_change_id'];
$moreChanges = $client->getChanges('encar', $nextChangeId);
```

### Get offer by URL

[](#get-offer-by-url)

```
$info = $client->getOfferByUrl('https://encar.com/dc/dc_cardetailview.do?carid=40427050');
```

### Error handling

[](#error-handling)

```
use AutoApi\Exception\AuthException;
use AutoApi\Exception\ApiException;

try {
    $offers = $client->getOffers('encar', ['page' => 1]);
} catch (AuthException $e) {
    // 401/403 — invalid API key
} catch (ApiException $e) {
    echo $e->getStatusCode();
    echo $e->getMessage();
}
```

Supported sources
-----------------

[](#supported-sources)

SourcePlatformRegion`encar`[encar.com](https://encar.com)South Korea`mobilede`[mobile.de](https://mobile.de)Germany`autoscout24`[autoscout24.com](https://autoscout24.com)Europe`che168`[che168.com](https://che168.com)China`dongchedi`[dongchedi.com](https://dongchedi.com)China`guazi`[guazi.com](https://guazi.com)China`dubicars`[dubicars.com](https://dubicars.com)UAE`dubizzle`[dubizzle.com](https://dubizzle.com)UAEOther languages
---------------

[](#other-languages)

LanguagePackageTypeScript[@autoapicom/client](https://github.com/autoapicom/auto-api-node)Python[autoapicom-client](https://github.com/autoapicom/auto-api-python)Go[auto-api-go](https://github.com/autoapicom/auto-api-go)C#[AutoApi.Client](https://github.com/autoapicom/auto-api-dotnet)Java[auto-api-client](https://github.com/autoapicom/auto-api-java)Ruby[auto-api-client](https://github.com/autoapicom/auto-api-ruby)Rust[auto-api-client](https://github.com/autoapicom/auto-api-rust)Documentation
-------------

[](#documentation)

[auto-api.com](https://auto-api.com)

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance82

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

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 ~2 days

Total

4

Last Release

91d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a1add502d57ff4ecbe31e248b63f1d8f9668a1bbefa9f79217f22650056c3711?d=identicon)[Oliver1272](/maintainers/Oliver1272)

---

Tags

api clientscraperautoscout24php-api-clientauto-apicar-listingsencarmobile-decar-auctionencar apimobile.de apiautoscout24 apiche168 apidongchedi apiguazi apidubicars apidubizzle api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/autoapi-client/health.svg)

```
[![Health](https://phpackages.com/badges/autoapi-client/health.svg)](https://phpackages.com/packages/autoapi-client)
```

###  Alternatives

[crowdin/crowdin-api-client

PHP client library for Crowdin API v2

611.5M5](/packages/crowdin-crowdin-api-client)[jobapis/jobs-common

Making it simple to integrate your application with job api providers.

4459.3k32](/packages/jobapis-jobs-common)[fabian-beiner/todoist-php-api-library

A PHP client library that provides a native interface to the official Todoist REST API.

4810.8k](/packages/fabian-beiner-todoist-php-api-library)[mrt1m/playstation-store-api

A simple wrapper for working with PlayStation Store API

734.2k](/packages/mrt1m-playstation-store-api)[boci/hetzner-laravel

A Laravel SDK for interacting with the Hetzner Cloud API - inspired by Nuno Maduro's OpenAI PHP client

901.4k](/packages/boci-hetzner-laravel)[m1x0n/helpscout-docs-api-php

API client for the Help Scout Docs API

2124.2k1](/packages/m1x0n-helpscout-docs-api-php)

PHPackages © 2026

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