Brickwatch Search
Utiliser en masse avec DataflowLancez cet endpoint sur un fichier ou une liste, une fois ou selon une planification.
GET
Search Brickwatch France in English and return set cards with the current price.
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*stringKeyword or an en-FR Brickwatch search URL.
page?numberPage number, starting at 1.
return_page_source?booleanReturn the page HTML instead of the parsed search.
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
results?array<>pagination?curl -X GET 'https://api.piloterr.com/v2/brickwatch/search?query=string'Example Response
{
"results": [
{
"url": "https://www.brickwatch.net/en-FR/set/75407/Brick-Built-Star-Wars-Logo.html",
"image": "https://cdn.kiobi.com/images/brickwatch/sets/75407m.jpg",
"price": 49.58,
"title": "Brick-Built Star Wars™ Logo (75407)",
"set_id": "75407",
"currency": "EUR",
"is_sold_out": false,
"rrp_display": "- € 20.41 (29%)",
"price_display": "€ 49.58",
"difference_display": "+ € 2.60 (6%)"
}
],
"pagination": {
"next": null,
"page": 1,
"per_page": 44,
"total_pages": 1,
"total_results": 44
}
}