# Hasznaltauto — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Browse and retrieve detailed information about used cars listed on Hasznaltauto.hu, including specifications, pricing, and availability. Search through the Hungarian marketplace to find and compare vehicles that match your needs.

**Category:** Automotive | **Website:** [hasznaltauto.hu/](https://hasznaltauto.hu/) | **Docs:** [parse.bot/marketplace/9db2dbf3-077f-4379-a90b-4d66107fb052/hasznaltauto-hu-api](https://parse.bot/marketplace/9db2dbf3-077f-4379-a90b-4d66107fb052/hasznaltauto-hu-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-hasznaltauto-hu-api-9db2dbf3/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### car_details

Extract detailed information for a specific car listing including title, price, technical specifications (in Hungarian), seller name, and location. The returned object contains fixed keys (title, price, seller, location) plus a variable set of specification keys depending on the listing (e.g. Kategória, Szélesség, Üzemanyagtank, Végsebesség). Requires a valid listing URL obtained from list_cars.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `url` | string | Yes | Full URL of the car listing page on hasznaltauto.hu (e.g. https://www.hasznaltauto.hu/szemelyauto/<make>/<model>/<listing-slug>). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-hasznaltauto-hu-api-9db2dbf3/car_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"<string>"}'
```

### list_cars

List used cars (személyautó) currently available on hasznaltauto.hu. Returns paginated results ordered by the site's default sort. Each page contains up to ~100 car summaries. Pagination advances by integer page number; the site does not expose total page count so iteration stops when a page returns fewer items than expected.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination (1-based). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-hasznaltauto-hu-api-9db2dbf3/list_cars \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>"}'
```
