Piloterr

Brickwatch Set

Use in bulk with DataflowRun this endpoint over a file or a list, once or on a schedule.

GET
/v2/brickwatch/set

Read a Brickwatch set, including the current price, the Lego retail price, and retailer offers.

Credit cost: 2 credits per call

Authorization

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Query Parameters

query*string

en-FR Brickwatch set URL.

return_page_source?boolean

Return the page HTML instead of the parsed set.

Defaultfalse
fields?string

Comma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).

is_async?boolean

Run the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body.

Defaultfalse

Response Body

Successful response

application/json
  1. response
age?string
url?string
brand?string
image?string
price?number
title?string
offers?array<>
set_id?string
currency?string
piece_count?integer
price_display?string
compare_at_price?number
compare_at_price_display?string
Example Request
curl -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"
}