BrickLink Search
Use in bulk with DataflowRun this endpoint over a file or a list, once or on a schedule.
GET
Search the BrickLink catalog.
Credit cost: 1 credit per call
ApiKeyAuthheader
x-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringKeyword or a BrickLink search URL.
item_type?stringset, part, minifig, book, gear, instruction, or box.
page?numberPage number, starting at 1.
Default
"1"return_page_source?booleanReturn the fetched body instead of the parsed listing.
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/bricklink/search?query=string'Example Response
{
"results": [
{
"url": "https://www.bricklink.com/v2/catalog/catalogitem.page?S=75192-1",
"name": "Millennium Falcon - UCS {2nd edition}",
"image": "https://img.bricklink.com/ItemImage/SN/0/75192-1.png",
"price": 615.79,
"item_id": 157691,
"item_no": "75192-1",
"currency": "EUR",
"item_type": "set",
"new_min_price": 615.79,
"price_display": "615,79 €",
"used_min_price": 332.52
}
],
"pagination": {
"next": null,
"page": 1,
"per_page": 25,
"total_pages": 1,
"total_results": 18
}
}