Brickwatch Set
Use in bulk with DataflowRun this endpoint over a file or a list, once or on a schedule.
GET
Read a Brickwatch set, including the current price, the Lego retail price, and retailer offers.
Credit cost: 2 credits per call
ApiKeyAuthheader
x-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringen-FR Brickwatch set URL.
return_page_source?booleanReturn the page HTML instead of the parsed set.
Default
falsefields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.
Default
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
Default
falseSuccessful response
application/json- response
age?stringurl?stringbrand?stringimage?stringprice?numbertitle?stringoffers?array<>set_id?stringcurrency?stringpiece_count?integerprice_display?stringcompare_at_price?numbercompare_at_price_display?stringcurl -X GET 'https://api.piloterr.com/v2/brickwatch/set?query=string'Example Response
{
"age": "16+",
"url": "https://www.brickwatch.net/en-FR/set/75192/Millennium-Falcon.html",
"brand": "LEGO",
"image": "https://cdn.kiobi.com/images/brickwatch/sets/75192.png",
"price": 594.99,
"title": "LEGO Millennium Falcon™ (75192)",
"offers": [
{
"url": "https://www.brickwatch.net/en-FR/go/5/75192",
"price": 594.99,
"store": "LEGO.com FR",
"rating": 5,
"currency": "EUR",
"store_id": "5",
"available": true,
"description": "Millennium Falcon™",
"price_display": "€ 594.99",
"delivered_price": 594.99,
"delivered_price_display": "€ 594.99"
}
],
"set_id": "75192",
"currency": "EUR",
"piece_count": 7541,
"price_display": "€ 594.99",
"compare_at_price": 849.99,
"compare_at_price_display": "€ 849.99"
}