dba.dk APIdba.dk ↗
Access DBA.dk listings, car inventory, pricing, and categories via 5 endpoints. Search general goods and automotive listings with full detail responses in DKK.
curl -X GET 'https://api.parse.bot/scraper/ffb81583-8e8a-45e5-81a0-aaf601bdd0d8/search_listings?query=iphone' \ -H 'X-API-Key: $PARSE_API_KEY'
Search for listings in the general marketplace. Returns paginated results from DBA.dk's recommerce section.
| Param | Type | Description |
|---|---|---|
| page | integer | Page number for pagination. |
| sort | string | Sort order. Accepted values: 'PRICE_ASC', 'PRICE_DESC', 'DATE'. |
| queryrequired | string | Search keyword (e.g. 'iphone', 'sofa'). |
| category | string | Category ID to filter by (e.g. '0.93' for Elektronik og hvidevarer). IDs available from browse_categories endpoint. |
{
"type": "object",
"fields": {
"page": "string, current page number",
"query": "string, the search keyword used",
"listings": "array of listing objects with keys: name, url, price, currency, condition, image"
},
"sample": {
"data": {
"page": "1",
"query": "iphone",
"listings": [
{
"url": "https://www.dba.dk/recommerce/forsale/item/20984166",
"name": "Apple iPhone XR 64 GB hvid",
"image": "https://images.dbastatic.dk/dynamic/default/item/20984166/0a6241be-5168-4ec3-a48c-29f48e7a11aa",
"price": "499",
"currency": "DKK",
"condition": "https://schema.org/UsedCondition"
}
]
},
"status": "success"
}
}About the dba.dk API
The DBA.dk API provides 5 endpoints for searching and retrieving listings from Denmark's largest second-hand marketplace. The search_listings endpoint accepts a keyword query with optional category filtering and sort order, returning paginated results with name, price, condition, and image. Separate endpoints cover the automotive section, and a category browser exposes recommerce and mobility category IDs needed for precise filtering.
General Marketplace Endpoints
The search_listings endpoint takes a required query string and optional category, sort (PRICE_ASC, PRICE_DESC, or DATE), and page parameters. Results return an array of listing objects with name, url, price, currency, condition, and image. To get full detail on any item, pass its numeric ID (found in the listing URL) to get_listing_detail, which returns fields including description, a specs key-value object, multiple images, seller name, and condition (e.g., UsedCondition). All prices are in DKK.
Automotive Listings
The search_car_listings endpoint targets DBA.dk's mobility section. In addition to the query keyword, it accepts make and model parameters for filtered results. The corresponding get_car_listing_detail endpoint returns structured car-specific fields: brand, model, location, and a specs object covering attributes like model year, mileage, and fuel type that are not present in general listing responses.
Category Browsing
The browse_categories endpoint requires no inputs and returns both recommerce categories (with numeric id values such as 0.93 for Elektronik og hvidevarer) and mobility categories (cars, boats, motorcycles). These IDs feed directly into the category parameter of search_listings, allowing precise scoped searches rather than full-marketplace keyword queries.
- Track price trends on used electronics by querying
search_listingswith category0.93and sorting byPRICE_ASC. - Aggregate used car listings by make and model to compare asking prices across Denmark using
search_car_listings. - Build a deal-alert tool that monitors new listings for a specific keyword by polling
search_listingssorted byDATE. - Extract car specs (mileage, fuel type, model year) from
get_car_listing_detailto populate a vehicle comparison tool. - Map seller locations from
get_car_listing_detail'slocationfield to visualize inventory distribution across Danish regions. - Pull full listing descriptions and images from
get_listing_detailto feed a recommerce resale platform. - Enumerate DBA.dk's category tree via
browse_categoriesto build a structured category navigation for a local search index.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does DBA.dk have an official developer API?+
What does `get_car_listing_detail` return that `get_listing_detail` does not?+
get_car_listing_detail returns automotive-specific fields: brand, model, and location, plus a specs object that includes attributes like model year, mileage, and fuel type. The general get_listing_detail endpoint also has a specs object but does not guarantee those vehicle fields — it returns whatever key-value specification pairs the listing provides.Can I filter `search_listings` by price range?+
sort parameter (PRICE_ASC, PRICE_DESC, or DATE) and a category ID for scoped searches, but there is no min/max price filter parameter currently. You can fork this API on Parse and revise it to add price range filtering if that parameter becomes available.Are seller contact details (phone, email) included in listing responses?+
get_listing_detail returns a seller name field when available, and get_car_listing_detail returns a location field, but neither endpoint exposes phone numbers or email addresses. You can fork this API on Parse and revise it to surface additional seller contact data if the source exposes it.How does pagination work across search endpoints?+
search_listings and search_car_listings accept an integer page parameter and return a page field in the response confirming the current page. There is no total-page-count or total-result-count field in the response, so you iterate until you receive an empty listings array.