APIs / Marketplaces / DBA

1 credit per call2 endpoints11 datapointsChecked working 6 Dec 2026

DBA API

DBA API for marketplace search with price, sort and condition filters, and single listings by ID, as JSON. 2 endpoints, 1 credit per successful call.

DBA
GET/v1/dba/search?query=cykel&sort=PUBLISHED_DESC
{
  "success": true,
  "data": {
    "query": "cykel",
    "results": [
      {
        "position": 1,
        "id": "26686535",
        "title": "Orbea børnecykel 16\"",
        "location": {
          "city": "Mårslet",
          "coordinates": {
            "lat": 56.06587,
            "lng": 10.15312
          }
        },
        "price": {
          "amount": 800,
          "currency": "DKK"
        },
        "trade_type": "Til salg",
        "url": "https://www.dba.dk/recommerce/forsale/item/26686535",
        "images": [
          {
            "url": "https://images.dbastatic.dk/dynamic/default/item/26686535/1456f073-4938-49d9-84dd-3ec03f2a10a5"
          },
          {
            "url": "https://images.dbastatic.dk/dynamic/default/item/26686535/21e6f011-eb39-4fcf-aac8-195b74f710c3"
          },
          {
            "url": "https://images.dbastatic.dk/dynamic/default/item/26686535/3de09821-9132-4aa3-9d50-ed0e5154cb76"
          }
        ],
        "published_at": "2026-11-12T13:05:41Z",
        "labels": [
          "Privat"
        ],
        "is_dealer": false
      },
      {
        "position": 2,
        "id": "18346399",
        "title": "Bergamont Revox 4 (004221)...KAN LEV. I KBH.",
        "location": {
          "city": "Holbæk",
          "coordinates": {
            "lat": 55.69141,
            "lng": 11.68585
          }
        },
        "price": {
          "amount": 2495,
          "currency": "DKK"
        },
        "trade_type": "Til salg",
        "url": "https://www.dba.dk/recommerce/forsale/item/18346399",
        "images": [
          {
            "url": "https://images.dbastatic.dk/dynamic/default/item/18346399/0b2e931b-c68c-4d93-8848-90e113c6a3f1"
          },
          {
            "url": "https://images.dbastatic.dk/dynamic/default/item/18346399/0452f450-b3b9-40f6-bae9-d442314caa7a"
          },
          {
            "url": "https://images.dbastatic.dk/dynamic/default/item/18346399/48aac160-28ba-4d78-9517-a2abadc08e92"
          }
        ],
        "published_at": "2026-11-12T13:05:10Z",
        "labels": [
          "Forhandler"
        ],
        "dealer": "Dansk Varebørs Aps",
        "is_dealer": true
      },
      {
        "position": 3,
        "id": "26686790",
        "title": "SUPER TILBUD KILDEMOES 24 TOMMER PIGECYKEL",
        "location": {
          "city": "Frederiksberg C",
          "coordinates": {
            "lat": 55.67358,
            "lng": 12.54599
          }
        },
        "price": {
          "amount": 2499,
          "currency": "DKK"
        },
        "trade_type": "Til salg",
        "url": "https://www.dba.dk/recommerce/forsale/item/26686790",
        "images": [
          {
            "url": "https://images.dbastatic.dk/dynamic/default/item/26686790/dd005afd-fbea-4642-b2be-748c816c4956"
          },
          {
            "url": "https://images.dbastatic.dk/dynamic/default/item/26686790/423f0160-4abc-42c0-9fd7-ec5aa667bfa0"
          },
          {
            "url": "https://images.dbastatic.dk/dynamic/default/item/26686790/d6707638-61d9-45d5-a1f1-3aaede7408ea"
          }
        ],
        "published_at": "2026-11-12T13:05:10Z",
        "labels": [
          "Forhandler"
        ],
        "dealer": "UPTOWN BIKES",
        "is_dealer": true
      }
    ],
    "pagination": {
      "page": 1,
      "last_page": 50,
      "per_page": 53,
      "total": 41236
    },
    "has_more": true,
    "facets": {
      "category": [
        {
          "value": "0.90",
          "label": "Bil-, båd- og motorcykeludstyr",
          "count": 1051,
          "children": [
            "…",
            "…",
            "…"
          ]
        },
        {
          "value": "0.77",
          "label": "Dyr og udstyr",
          "count": 74,
          "children": [
            "…",
            "…",
            "…"
          ]
        },
        {
          "value": "0.93",
          "label": "Elektronik og hvidevarer",
          "count": 894,
          "children": [
            "…",
            "…",
            "…"
          ]
        }
      ],
      "shipping_types": [
        {
          "value": "0",
          "label": "Fiks færdig",
          "count": 5793
        }
      ],
      "location": [
        {
          "value": "0.200010",
          "label": "Bornholm",
          "count": 17
        },
        {
          "value": "0.200009",
          "label": "Fyn",
          "count": 1888
        },
        {
          "value": "0.200011",
          "label": "Færøerne",
          "count": 1
        }
      ],
      "condition": [
        {
          "value": "1",
          "label": "Helt ny - uåbnet/med prismærke",
          "count": 5260
        },
        {
          "value": "2",
          "label": "Som ny - ingen synlige brugsspor",
          "count": 6611
        },
        {
          "value": "3",
          "label": "Brugt - men i god stand",
          "count": 17489
        }
      ],
      "dealer_segment": [
        {
          "value": "3",
          "label": "Forhandler",
          "count": 7772
        },
        {
          "value": "1",
          "label": "Privat",
          "count": 33464
        }
      ],
      "trade_type": [
        {
          "value": "1",
          "label": "Til salg",
          "count": 41167
        },
        {
          "value": "2",
          "label": "Gives væk",
          "count": 68
        },
        {
          "value": "3",
          "label": "Ønsker at købe",
          "count": 1
        }
      ],
      "published": [
        {
          "value": "1",
          "label": "Nyt i dag",
          "count": 911
        }
      ]
    }
  },
  "meta": {
    "endpoint_family": "search"
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Sample data

What one call returns

A recorded run of search: the fields and shapes you will get, shortened to 3 items.

#positionintegeridstringtitlestringlocationobjectpriceobjecttrade_typestringurlurlimagesobject[]published_atstringlabelsstring[]is_dealerboolean
1126686535Orbea børnecykel 16"{2 fields}{2 fields}Til salghttps://www.dba.dk/recommerce/forsale/item/26686535[3 items]2026-11-12T13:05:41Z[1 item]false
2218346399Bergamont Revox 4 (004221)...KAN LEV. I KBH.{2 fields}{2 fields}Til salghttps://www.dba.dk/recommerce/forsale/item/18346399[3 items]2026-11-12T13:05:10Z[1 item]true
3326686790SUPER TILBUD KILDEMOES 24 TOMMER PIGECYKEL{2 fields}{2 fields}Til salghttps://www.dba.dk/recommerce/forsale/item/26686790[3 items]2026-11-12T13:05:10Z[1 item]true

Recorded 12 Nov 2026 · 3 items shown · 11 datapoints per itemGET /v1/dba/search?query=cykel&sort=PUBLISHED_DESC

11 datapoints

Identity

  • idstring
  • titlestring
  • trade_typestring

Contact

  • urlurl

Location

  • locationobject

Reputation

  • imagesobject[]

Price

  • priceobject
  • is_dealerboolean

Other

  • positioninteger
  • published_atstring
  • labelsstring[]

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/dba/search?query=cykel&sort=PUBLISHED_DESC" \
  -H "X-API-Key: $API_KEY"

DBA · 2 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/dba/listing
id
idtitledescriptionpricetrade_typecategory+7 more
1 credit
GET/v1/dba/search
none+12 optional
positionidtitlelocationpricetrade_type+6 more
1 credit

Overview

About the DBA API

What you can get

The DBA API returns DBA marketplace data as JSON through 2 endpoints.

  • Search: search takes a query (up to 200 characters), with category, price_from, price_to, location, condition[] and page. sort accepts RELEVANCE, PUBLISHED_DESC, PUBLISHED_ASC, PRICE_ASC or PRICE_DESC. Further filters take fixed values: dealer_segment (1 or 3), trade_type (1, 2 or 3), shipping_types (0 or 1) and published (1).
  • Listings: listing takes a listing id, the one required parameter in this API.

How a call works

Search the newest ads for a term: GET /v1/dba/search?query=cykel&sort=PUBLISHED_DESC with your key in the X-API-Key header. Page through results with page, and narrow them with price_from and price_to. To fetch one ad, call GET /v1/dba/listing?id=25859380. Every successful call costs 1 credit; failed calls cost nothing.

MarketplacesJSONRESTMCP

More marketplaces APIs

Use cases

Watch new ads for a search term by sorting on PUBLISHED_DESC

Use the DBA API to watch new ads for a search term by sorting on PUBLISHED_DESC

Track asking prices for a product inside a `price_from` to `price_to` band

Use the DBA API to track asking prices for a product inside a `price_from` to `price_to` band

Compare how many ads a category or location carries over time

Use the DBA API to compare how many ads a category or location carries over time

Pull a single listing by `id` into your own catalogue or alert system

Use the DBA API to pull a single listing by `id` into your own catalogue or alert system

FAQ

Questions

Do I need a DBA API key?

No. You call this DBA API with your Perceptlayer key in the `X-API-Key` header, so there's no separate DBA key to get.

How much does the DBA API cost?

Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

Can I sort DBA search results by price or date?

Yes. `sort` takes PRICE_ASC or PRICE_DESC for price, PUBLISHED_DESC or PUBLISHED_ASC for publish date, or RELEVANCE.

Is this the official DBA API?

No. Perceptlayer is an independent service and is not affiliated with DBA. It returns DBA data as JSON with a Perceptlayer key, so there is no DBA developer account, app review or partner approval to get first. It only reads data: if DBA has an official API and you need to act on your own DBA account, such as posting, managing orders or reading private data, use that one.

Should I build a DBA scraper instead?

You can, but a DBA scraper is code you maintain: page changes break it, requests get blocked, and DBA's terms govern how you collect data. The DBA API gives you 2 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the DBA API with 100 free credits

No credit card. Failed calls are never billed.