Skip to content
Scrappa Get API key
Datart API 1 credit / request

Datart Coupon Enrichment API Documentation

GET https://scrappa.co/api/datart/enrich

Datart Coupon Enrichment API Documentation Look up a campaign coupon price for one public match code from a search or category result. Returns the coupon price, original price, VIP and employee prices and stock level. Coupon prices stay separate from shelf prices; a stale code returns a null coupon price and is not billed. Cost: 1 credit per successful request.

Datart Coupon Enrichment API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/datart/enrich
Auth header
x-api-key
Cost
1 credit / request
match_code = example
Response preview
200 OK
{
    "data": {
        "items": [
            {
                "vip_price": 13490,
                "stock_level": "in_stock",
                "coupon_price": 12990,
                "employee_price": 13290,
                "original_price": 14990
            }
        ],
        "currency": "CZK",
        "match_code": "LGGOLED55B56",
        "price_type": "campaign"
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

match_code string Required

Public match code from a search or category result. Example: LGGOLED55B56.

Example value example

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "items": [
            {
                "vip_price": 13490,
                "stock_level": "in_stock",
                "coupon_price": 12990,
                "employee_price": 13290,
                "original_price": 14990
            }
        ],
        "currency": "CZK",
        "match_code": "LGGOLED55B56",
        "price_type": "campaign"
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "enrich"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

The match code is invalid. Not billed.

{
    "message": "The request validation failed"
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.