Piloterr

ASOS Search

Utiliser en masse avec DataflowLancez cet endpoint sur un fichier ou une liste, une fois ou selon une planification.

GET
/v2/asos/search

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

Credit cost: 1 credit per call

Authentification

ApiKeyAuth
headerx-api-key<token>

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

Paramètres de requête

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}.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body.

Defaultfalse

Corps de la réponse

Successful response

application/json
  1. response
results?array<>
pagination?
Example Request
curl -X GET 'https://api.piloterr.com/v2/asos/search?query=string'
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
  }
}