Listing detail
Returns the detailed record of one 999.md ad, looked up by its numeric ID or its canonical address.
Loading / 加载中…
999.md Moldova Classifieds API · Classifieds & second-hand data
The 999.md API gives two views of Moldovan classified ads. A keyword search is the way to find ads and compare their asking prices, and a listing lookup reads one chosen ad in depth once its ID or address is known.
JSON in, a structured response out. Every public gateway endpoint uses POST.
Returns the detailed record of one 999.md ad, looked up by its numeric ID or its canonical address.
Searches 999.md classified ads by free text and returns one page of compact listing rows.
999.md is an online classified ads board in Moldova. People use it to post ads and to look for new and used goods and services to buy or sell, and its ads span categories such as vehicles, real estate, electronics, home goods, services and jobs.
Buyers search the ads by keyword, while sellers publish ads with photos and a description and talk to buyers through chat. The board belongs to Simpals, a Moldovan group of companies that runs online services.
In a listing record, listing_id, url and title identify the ad, and description carries the free text written for the ad. images lists the photos attached to it, while attributes holds the public characteristics shown on the ad beyond its title and text. seller describes who placed the ad.
Money is spread over five fields: price is the amount, currency names the currency of that amount, source_price keeps the price in the form the ad itself shows it, price_mode records how the ad states its price, and down_payment holds the down payment figure on the ad. Finally, gtin is the Global Trade Item Number, the barcode number that identifies a retail product, which ties a used item to the product it is.
A search answers with one page of results, presented in Romanian. Next to the rows, data echoes the request in query, page and limit, so a stored page still shows which call produced it. count tells how many rows that page holds, source_total how many ads match the query overall, and has_more shows whether further results follow the current page.
Each entry in results is a compact listing that keeps listing_id, url and title, the same five price fields used by the listing record, the photos in images and the gtin. A row is therefore enough for a price list or a gallery, and the listing record is needed only for the text, the attributes and the seller.
body.listing_id is a string. It holds either the numeric ID of an ad, such as 88886722, or the canonical address of that ad on 999.md, which is the Romanian address ending in the same ID.
Both forms lead to the same record, so a canonical link saved from a browser can be sent as it is, while an ID kept in a database needs no address built around it. The ID that post-999-md-search places in every row is exactly the value post-999-md-listing-detail expects, which makes the step from a results page to a single ad a matter of copying one field.
body.query is free text matched against the ads, so a single word such as iphone or a short phrase both work. body.limit decides how many rows each page carries and body.page picks the page.
Together they define a window: page 2 starts where page 1 of the same size ended. For that reason a second page should be requested with the same limit as the first, since changing the size between the two calls moves the boundary between them.
{
"body": {
"query": "iphone",
"limit": 3
}
}
POST /api/v1/md-999/<action> with x-api-key, Content-Type: application/json and a required Idempotency-Key.ok: true: data is the result of the operation, meta.requestId identifies the recorded request and meta.chargedCreditUnits is the amount charged. Otherwise ok is false and error.code names the reason; read ok and error.code rather than relying on the HTTP status alone. Every gateway reply carries a request id for support: meta.requestId, or a top-level requestId in a reply without meta (such as a refusal before admission).Send the words you are looking for as query in a keyword search call, for instance iphone with limit set to 3 when a short preview is enough. The data object you get back lists the matching ads under results, and count tells you how many rows arrived on this page.
You can take it from two places. Each search row includes it as listing_id, and the canonical address of an ad ends with it: in https://999.md/ro/88886722 the ID is 88886722. The listing record returns it again in listing_id, so records fetched later can be joined to the stored search rows by that one value.
Request page 1 and look at has_more; when it shows further results, request page 2. If has_more still shows further results on page 2, the query matches more ads than its two pages can return. Comparing source_total with the number of rows you collected shows how many matches stayed out of reach, and adding words to the query splits the search into narrower keywords, each paged on its own.
A keyword search needs only query: sent with nothing else, for example with query set to iphone, it returns page 1 with up to 10 rows, because page defaults to 1 and limit to 10. A listing lookup needs only listing_id. The page and limit inputs are optional, so send them only when you want the second page or a different number of rows.