Piloterr

ASOS Search

Mit Dataflow in großen Mengen nutzenFühren Sie diesen Endpunkt über eine Datei oder eine Liste aus, einmalig oder nach Zeitplan.

GET
/v2/asos/search

Search ASOS by keyword and return product cards with the current selling price.

Credit cost: 1 credit per call

Autorisierung

ApiKeyAuth
headerx-api-key<token>

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

Abfrageparameter

query*string

Keyword or an ASOS search URL.

country?string

Store. fr (default), es, de, au, dk, it, nl, pl, us, se. gb and uk are the UK store with no path prefix.

Default"fr"
page?number

Page number, starting at 1. Overrides the page already present in a search URL.

return_page_source?boolean

Return the page HTML instead of the parsed search.

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}. The call is billed once, when the job completes. fields does not apply to asynchronous results.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body. Billing is unchanged: a billable error (e.g. 404) is still charged.

Defaultfalse

Antworttext

Successful response

application/json
  1. response
results?array<>
pagination?
Example Request
curl -X GET 'https://api.piloterr.com/v2/asos/search?query=https%3A%2F%2Fwww.asos.com%2Ffr%2Fsearch%2F%3Fq%3Drobe'
Example Response
{
  "results": [
    {
      "url": "https://www.asos.com/fr/asos-design/asos-design-robe-courte-a-motif-fleuri-floque-avec-manches-evasees-noir/prd/209342097",
      "image": "https://images.asos-media.com/products/asos-design-robe-courte-a-motif-fleuri-floque-avec-manches-evasees-noir/209342097-1-black/?$n_480w$&wid=476&fit=constrain",
      "price": 37.99,
      "title": "ASOS DESIGN - Robe courte à motif fleuri floqué avec manches évasées - Noir",
      "currency": "EUR",
      "product_id": 209342097,
      "colour_way_id": 209342103,
      "price_display": "37,99 €",
      "compare_at_price": null
    }
  ],
  "pagination": {
    "next": "https://www.asos.com/fr/search/?page=2&q=robe",
    "page": 1,
    "per_page": 72,
    "total_pages": 299,
    "total_results": 21485
  }
}