Thansen Search
Use in bulk with DataflowRun this endpoint over a file or a list, once or on a schedule.
Car parts and accessories on thansen.dk. query is a parts keyword such as oliefilter, or a full search URL. page starts at 1.
Credit cost: 2 credits per call
ApiKeyAuthx-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringParts keyword or a thansen.dk search URL. Example: oliefilter
"oliefilter"page?numberPage number, starting at 1. Example: 1
return_page_source?booleanReturn the page HTML instead of the parsed parts. Example: false
fields?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}.
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
falseSuccessful response
application/json- response
results?array<>pagination?curl -X GET 'https://api.piloterr.com/v2/thansen/search?query=oliefilter'{
"results": [
{
"sku": "999605901389",
"url": "https://www.thansen.dk/bil/reservedele/oliefilter/oliefilter/n-241938308/pn-241184421",
"name": "Oliefilter",
"brand": "Bosch",
"image": "https://dyncdn.thg.dk/img/999605901389_0_2_170_236.jpg",
"price": 99.95,
"currency": "DKK",
"price_display": "Kr. 99,95"
}
],
"pagination": {
"next": "https://www.thansen.dk/search?query=oliefilter&page=2",
"page": 1,
"per_page": 44,
"total_pages": 23
}
}