Skip to main content
POST
/
api
/
asos
/
products
/
recommendations
/asos/products/recommendations
curl --request POST \
  --url https://api.anysite.io/api/asos/products/recommendations \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "product": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@asos_product_recommendation",
    "product_code": "<string>",
    "url": "<string>",
    "alias": "<string>",
    "title": "<string>",
    "brand": "<string>",
    "brand_id": 123,
    "price": 123,
    "list_price": 123,
    "currency": "<string>",
    "save_percent": 123,
    "is_on_sale": true,
    "is_in_stock": true,
    "image": "<string>",
    "images": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
product
string
required

ASOS product ID or a product URL to get styling recommendations for

Minimum string length: 1
Examples:

"206776454"

"https://www.asos.com/prd/206776454"

count
integer
required

Max number of recommended products to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:@asos_product_recommendation
product_code
string | null
url
string | null
alias
string | null
title
string | null
brand
string | null
brand_id
integer | null
price
number | null
list_price
number | null
currency
string | null
save_percent
integer | null
is_on_sale
boolean | null
is_in_stock
boolean | null
image
string | null
images
string[]