Skip to main content

autoapicom-client-python

PyPI version Python version License

Python client for the auto-api.com car listings API.

Gives you access to 8 automotive marketplaces through a single interface — encar (Korea), mobile.de and autoscout24 (Europe), che168/dongchedi/guazi (China), dubicars/dubizzle (UAE). Search offers, pull listing details, track changes. Built on requests.

Installation

pip install autoapicom-client

Usage

from auto_api import Client

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

Get filters

filters = client.get_filters('encar')

Search offers

offers = client.get_offers('mobilede', page=1, brand='BMW', year_from=2020)

# Pagination
print(offers['meta']['page'])
print(offers['meta']['next_page'])

Get single offer

offer = client.get_offer('encar', '40427050')

Track changes

change_id = client.get_change_id('encar', '2025-01-15')
changes = client.get_changes('encar', change_id)

# Next batch
next_batch = client.get_changes('encar', changes['meta']['next_change_id'])

Get offer by URL

info = client.get_offer_by_url('https://encar.com/dc/dc_cardetailview.do?carid=40427050')

Error handling

from auto_api import Client, AuthError, ApiError

try:
    offers = client.get_offers('encar', page=1)
except AuthError as e:
    # 401/403 — invalid API key
    print(e.status_code, e.message)
except ApiError as e:
    print(e.status_code, e.message)

Supported sources

Source Platform Region
encar encar.com South Korea
mobilede mobile.de Germany
autoscout24 autoscout24.com Europe
che168 che168.com China
dongchedi dongchedi.com China
guazi guazi.com China
dubicars dubicars.com UAE
dubizzle dubizzle.com UAE

Other languages

Language Package
PHP autoapi/client
TypeScript @autoapicom/client
Go auto-api-go
C# AutoApi.Client
Java autoapicom-client
Ruby autoapicom-client
Rust autoapicom-client

Documentation

auto-api.com

Metadata

Release files for autoapicom-client 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autoapicom-client 1.0.5
File Size Uploaded Provenance
autoapicom_client-1.0.5.tar.gz 7.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for autoapicom-client 1.0.5
File Interpreter ABI Platform
autoapicom_client-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 12.4 kB

Release files / autoapicom_client-1.0.5.tar.gz

Download URL autoapicom_client-1.0.5.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ef4c5cb801a19680cf1a046837cf83700ea604486817e5b526edc33bc518a97e
BLAKE2b-256 checksum
How to use checksums
c5d0e0c90f64d5b5296653197678e89d817c259ded0ac8c97898cbbbc48a8495
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / autoapicom_client-1.0.5-py3-none-any.whl

Download URL autoapicom_client-1.0.5-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8471b2a792c46f37061bd1ba9178850fef234b520b3fd402a98b33ba18d1f923
BLAKE2b-256 checksum
How to use checksums
026353b326559a5799d3067a6425501b91779390622af888b88762cf837e30e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Security for autoapicom-client 1.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page