List car brands
Returns each brand with the exact label the brand filter accepts and its URL slug; takes no input.
Loading / 加载中…
Polovni Automobili car classifieds · Automotive & mobility data
Search used and new car advertisements, read one full advertisement by its ad_id, and look up the exact brand, model and filter values that search accepts. Every input is sent as JSON under body.
JSON in, a structured response out. Every public gateway endpoint uses POST.
Returns each brand with the exact label the brand filter accepts and its URL slug; takes no input.
Returns the filter groups with their values, Serbian labels and the search parameter each feeds; takes no input.
Returns one full advertisement for the ad_id of a search row.
Reads 1–10 pages of 200 ads of one brand (3 by default) and returns each model name with the number of ads seen.
Filters ads by brand, model, price, year, mileage, power, fuel, body and more, in pages of 25, 50, 100 or 200 rows up to page 750.
The data is the advertisement index of polovniautomobili.com, a car-classifieds marketplace for Serbia that also carries ads placed from Montenegro, Bosnia and other countries. The operations return an advertisement at two levels of detail: a compact row in search results, and the whole advertisement when you ask for it by its identifier. Two further operations return the marketplace's own spelling of brands and models, and a third returns the filter vocabulary with Serbian labels.
A search combines up to 34 optional filters with two paging fields. The filters fall into these groups:
brand, one exact label out of 99, including the catch-all other, and model, a list of names.listing_age picks used cars, new cars or both.Several models or several fuels match any of the listed values. A search may also send no filter at all; it then pages through the unfiltered index.
Each row in cars is one advertisement and holds:
ad_id, link and titleprice_currency as the ad prints it, a price-on-request flag and any price before a discountAround the rows, a page reports total_results, its number and size, pages, has_more, the row count and duplicates_dropped. Paid advertisements that the marketplace prints above its results arrive separately in top_ads, so they are never mixed with the rows that match your filters.
polovniautomobili-listing returns a car object with the details published on the advertisement page. Beyond the search row it adds:
It also gives the owner's legal status, whether the car is registered to the seller, the selling method, the part-exchange stance, a reserved flag and the status of the ad. These are followed by:
A market dashboard can read total_results for each brand, fuel or body type; one search per segment is enough, because the count arrives with the first page. The models operation shows how one brand's advertisements split across its models in the sampled ads through ads_seen. An import study can filter on the country a car came from, and a dealer view can group rows by the seller's trade name and dealer id.
A success is {ok:true, data, meta}, and meta carries requestId, chargedCreditUnits, simulated and sourceAttribution. data can be null; a success with data:null is charged the operation's per-call price like any other success, and chargedCreditUnits states that amount in credit units, 100 of which make one credit.
Refusals at admission, such as INVALID_REQUEST (400) for a body that is not valid JSON, happen before anything runs and cost nothing. Definite failures are free as well, while an uncertain outcome keeps the price on hold for up to 15 minutes, then releases it without a charge.
{
"body": {
"brand": "Volkswagen",
"model": [
"Golf"
],
"fuel": [
"diesel"
],
"year_min": 2015,
"page": 1,
"page_size": 200
}
}price with price_currency from each search row.ad_id sets and open newly listed cars with listing.body.doors and seats are strings ("5", not 5), and emission_class takes a single value.model names apply only together with brand and are spelled the way the models operation returns them.Page numbers stop at 750 for every page size, and a request for page 751 or higher is refused with REQUEST_NOT_FULFILLED or REQUEST_REJECTED (502) at no charge. With page_size 200, paging still reaches 150,000 advertisements, compared with 18,750 at the default of 25 rows. When total_results is larger than reachable_results, split the query into narrower searches, for example by build-year bands or by fuel, and merge the rows by ad_id.
The brand field accepts only the labels of its closed list, so spaces and diacritics matter, while case is forgiven. Volkswagen, volkswagen, Mercedes Benz and Škoda pass, while mercedes-benz fails with REQUEST_NOT_FULFILLED or REQUEST_REJECTED (502), and you pay nothing. Copy the label from the brands operation and never send its slug.
In the currency of the advertisement itself. Every search row and every listing states it in price_currency next to price, so read the two together before you compare amounts across ads. The price_min and price_max filters compare against that asking price. price_on_request marks ads whose price is given on request.
No. The power filters power_kw_min and power_kw_max take whole numbers from 0 to 2,000 in kilowatts, and the contract has no horsepower field. Convert your horsepower limit to kilowatts first. Search rows and listings carry both power_kw and power_hp, so horsepower stays visible in the results.
An advertisement that was removed or is no longer active ends as a failure, REQUEST_NOT_FULFILLED or REQUEST_REJECTED with HTTP 502, never as an empty success, and nothing is charged. ad_id is required: send the string a search row returns, unchanged; this site accepts any string for ad_id. Another attempt needs a new Idempotency-Key.
The models operation lists only model names found among the advertisements it read, so a model whose ads all sit outside the sampled pages is absent. Compare ads_sampled with brand_ads, or read sample_coverage_pct: below 100, part of the brand's advertisements was not read, and a call with a larger sample_pages reads more of them. The price stays the same whatever the sample size.
Yes, if the request was refused before admission: INVALID_REQUEST, PAYLOAD_TOO_LARGE, AUTH_FAILED, INSUFFICIENT_CREDITS and RATE_LIMITED record nothing, so correct the request and resend it with the same key. Once a request was admitted, the key belongs to it: a corrected body under that key gets IDEMPOTENCY_CONFLICT (409), so an admitted failure such as REQUEST_REJECTED or a removed listing needs a new key.
Not with this site's search operation. filter-options lists the equipment, safety and region groups that the marketplace publishes, but the search contract declares no field for them. Search with the declared filters instead, then open the matching advertisements with listing and check their equipment and safety arrays.