Piloterr

Huuto Search

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

GET
/v2/huuto/search

Auctions and buy-now ads on huuto.net. query is a keyword such as kirja, or a full search URL. page starts at 1.

Credit cost: 1 credit 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

Keyword or a huuto.net search URL. Example: kirja

page?number

Page number, starting at 1. Example: 2

return_page_source?boolean

Return the page HTML instead of the parsed object

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
results?array<>
pagination?
Example Request
curl -X GET 'https://api.piloterr.com/v2/huuto/search?query=string'
Example Response
{
  "results": [
    {
      "url": "https://www.huuto.net/kohteet/terry-pratchett-pokkari-kokoelma-kiekkomaailma-discworld-fan/655268727",
      "image": "https://images.huuto.net/v1/0f45/1383bd72266e92305f29ece0c06/579233305-card1x.avif",
      "price": 280,
      "title": "TERRY PRATCHETT pokkari kokoelma Kiekkomaailma Discworld fan",
      "currency": "EUR",
      "location": "Turku",
      "price_display": "280,00 €"
    }
  ],
  "pagination": {
    "next": "https://www.huuto.net/haku?q=kirja&page=2",
    "page": 1,
    "per_page": 24,
    "total_pages": 8415,
    "total_results": 201949
  }
}