# auto-api-client (Rust)
> Rust client for auto-api.com — car listings API from 8 automotive marketplaces (encar, mobile.de, autoscout24, che168, dongchedi, guazi, dubicars, dubizzle).
## Install
cargo add auto-api-client
## Quick Start
let client = auto_api_client::Client::new("your-api-key");
let offers = client.get_offers("encar", &OffersParams { page: 1, brand: Some("BMW".into()), ..Default::default() }).await?;
## API Methods
- get_filters(source) — available filters (brands, models, body types)
- get_offers(source, params) — search listings with pagination and filters
- get_offer(source, inner_id) — single listing by ID
- get_change_id(source, date) — get change_id by date (yyyy-mm-dd)
- get_changes(source, change_id) — changes feed (added/changed/removed)
- get_offer_by_url(url) — listing data by marketplace URL
## Auth
- GET requests: api_key query parameter
- POST /api/v1/offer/info: x-api-key header
## Links
- [Documentation](https://auto-api.com)
- [Source Code](https://github.com/autoapicom/auto-api-rust)
- [README](https://github.com/autoapicom/auto-api-rust/blob/main/README.md)