Piloterr

ASOS Product

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

GET
/v2/asos/product

Read an ASOS product, including the selling price and sizes in stock.

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

ASOS product URL (/prd/{id}) or a numeric product id.

country?string

Store used when query is a numeric id. fr (default), gb, uk, es, de, au, dk, it, nl, pl, us, se. A full URL keeps its own store.

Default"fr"
return_page_source?boolean

Return the page HTML instead of the parsed product.

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

Response Body

Successful response

application/json
  1. response
sku?string
url?string
brand?string
image?string
price?number
sizes?array<>
title?string
colour?string
images?array<string>
country?string
currency?string
product_id?integer
description?string
colour_way_id?integer
price_display?string
compare_at_price?unknown
product_group_id?integer
Example Request
curl -X GET 'https://api.piloterr.com/v2/asos/product?query=string'
Example Response
{
  "sku": "150530032",
  "url": "https://www.asos.com/fr/asos-design/asos-design-robe-courte-a-motif-fleuri-floque-avec-manches-evasees-noir/prd/209342097",
  "brand": "ASOS DESIGN",
  "image": "https://images.asos-media.com/products/asos-design-robe-courte-a-motif-fleuri-floque-avec-manches-evasees-noir/209342097-1-black",
  "price": 37.99,
  "sizes": [
    {
      "sku": "150530034",
      "size": "XS - EU 32-34",
      "is_in_stock": true,
      "is_low_in_stock": false
    },
    {
      "sku": "150530036",
      "size": "S - EU 36-38",
      "is_in_stock": true,
      "is_low_in_stock": false
    },
    {
      "sku": "150530038",
      "size": "M - EU 40-42",
      "is_in_stock": true,
      "is_low_in_stock": false
    },
    {
      "sku": "150530040",
      "size": "L - FR 44-46",
      "is_in_stock": true,
      "is_low_in_stock": false
    }
  ],
  "title": "ASOS DESIGN - Robe courte à motif fleuri floqué avec manches évasées - Noir",
  "colour": "Noir",
  "images": [
    "https://images.asos-media.com/products/asos-design-robe-courte-a-motif-fleuri-floque-avec-manches-evasees-noir/209342097-1-black",
    "https://images.asos-media.com/products/asos-design-robe-courte-a-motif-fleuri-floque-avec-manches-evasees-noir/209342097-2",
    "https://images.asos-media.com/products/asos-design-robe-courte-a-motif-fleuri-floque-avec-manches-evasees-noir/209342097-3",
    "https://images.asos-media.com/products/asos-design-robe-courte-a-motif-fleuri-floque-avec-manches-evasees-noir/209342097-4"
  ],
  "country": "fr",
  "currency": "EUR",
  "product_id": 209342097,
  "description": "Robes par ASOS DESIGN Encolure bateau Manches évasées Coupe classique",
  "colour_way_id": 209342103,
  "price_display": "37,99 €",
  "compare_at_price": null,
  "product_group_id": 210770058
}