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(4mo ago)018MITPHPPHP &gt;=8.1

Since Feb 11Pushed 4mo 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 today

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

35

—

LowBetter than 77% of packages

Maintenance75

Regular maintenance activity

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

137d 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

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1943.1k5](/packages/aimeos-prisma)[volcengine/volcengine-php-sdk

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

PHPackages © 2026

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