The Asos Scraper is a powerful tool designed to extract detailed product information from Asos, one of the world's leading online fashion retailers. This scraper allows you to effortlessly gather data on clothing, accessories, and beauty products, providing valuable insights for e-commerce businesses, market researchers, and fashion enthusiasts.
Our Asos Scraper uses advanced web scraping techniques to navigate Asos's website structure, extracting relevant data from product pages. It processes the HTML content, parses the information, and returns it in a structured, easy-to-use format.
POST /ecommerce/asos-scraper/products
This endpoint allows you to retrieve detailed product information by providing Asos product URLs.
The Asos Scraper API allows you to extract detailed product information from Asos.com. This powerful tool enables developers to integrate Asos product data into their applications, conduct market research, or monitor fashion trends and pricing.
To use the Asos Scraper API, you'll need to authenticate your requests using your API key. The API provides an endpoint for retrieving product information:
Include your API key in the request headers:
Authorization: Bearer YOUR_API_KEY
The request body should be a JSON object with the following structure:
{
"url": "https://www.asos.com/product-url"
}
Please note that usage is subject to rate limiting. Refer to your plan details for specific limits.
Here's an example of the data you can expect to receive:
[
{
"input": {
"url": "https://www.asos.com/dk/asos-design/asos-design-sort-ttsiddende-t-shirt-med-rund-hals/prd/203291724#colourWayId-203291725"
},
"url": "https://www.asos.com/dk/asos-design/asos-design-sort-ttsiddende-t-shirt-med-rund-hals/prd/203291724#colourWayId-203291725",
"name": "ASOS DESIGN - Tætsiddende T-shirt i sort",
"brand": "ASOS DESIGN",
"description": "T-shirts og undertrøjer fra ASOS DESIGN Når alsidighed er afgørende Enkelt design Rund hals Korte ærmer Tætsiddende",
"about_me": "Jersey: blødt og med stretch Hoveddel: 95% bomuld, 5% elastan, Kant: 97% bomuld, 3% elastan. Jersey: blødt og med stretch Hoveddel: 95% bomuld, 5% elastan, Kant: 97% bomuld, 3% elastan.",
"availability": "in stock",
"category": "T-shirts og undertrøjer",
"discount": "DKK 0.00",
"image": "https://images.asos-media.com/products/asos-design-ttsiddende-t-shirt-i-sort/203291724-1-black",
"look_after_me": "Maskinvask ifølge anvisningerne på vaskemærket",
"possible_sizes": [
"Vælg",
"2XS - Chest 34 - Ikke på lager",
"XS - Chest 36 - Ikke på lager",
"S - Chest 38 - Ikke på lager",
"S Long - Chest 38 Long - Ikke på lager",
"M - Chest 40",
"M Long - Chest 40 Long - Ikke på lager",
"L - Chest 42",
"L Long - Chest 42 Long - Ikke på lager",
"XL - Chest 44",
"XL Long - Chest 44 Long",
"2XL - Chest 46-48",
"2XL Long - Chest 46-48 Long",
"3XL - Chest 50-52",
"4XL - Chest 54-56"
],
"price": 89,
"product_details": "T-shirts og undertrøjer fra ASOS DESIGN Når alsidighed er afgørende Enkelt design Rund hals Korte ærmer Tætsiddende Produktkode: 120540824",
"size_fit": "Modellens højde: 187cm / 6' 1½'' Modellen er iført: M - Chest 40 Størrelseshjælp Er du stadig ikke sikker på, hvilken størrelse du skal købe? Se vores størrelsesguide.",
"you_might_also_like": [
"https://www.asos.com/dk/asos-design/asos-design-pakke-med-2-ttsiddende-sorte-t-shirts-med-rund-hals/prd/203370260#ctaref-we+recommend+carousel_0&featureref1-we+recommend+pers",
"https://www.asos.com/dk/asos-design/asos-design-pakke-med-2-ttsiddende-t-shirts-med-rund-hals-i-sort-hvid/prd/203370359#ctaref-we+recommend+carousel_1&featureref1-we+recommend+pers",
// ... (other recommended product URLs)
],
"product_id": "203291724",
"breadcrumbs": [
{
"name": "Forsiden",
"url": "https://www.asos.com/dk/?hrd=1"
},
{
"name": "Mænd",
"url": "https://www.asos.com/dk/maend/"
},
{
"name": "T-shirts og undertrøjer",
"url": "https://www.asos.com/dk/maend/t-shirts-og-undertroejer/cat/?cid=7616"
}
],
"currency": "DKK",
"color": [
"BLACK",
"WHITE",
"STRING",
"SEAL BROWN",
"BLACK"
]
}
]
import requests
import json
# Your API Key
api_key = 'YOUR_API_KEY'
# API Endpoint
url = 'https://taskagi.net/api/ecommerce/asos-scraper/products'
# Headers
headers = {
'Authorization': f'Bearer {api_key}',
'Content-Type': 'application/json'
}
# Request Body
data = {
'url': 'https://www.asos.com/dk/asos-design/asos-design-sort-ttsiddende-t-shirt-med-rund-hals/prd/203291724#colourWayId-203291725'
}
# Send POST request
response = requests.post(url, headers=headers, json=data)
# Check if the request was successful
if response.status_code == 200:
# Parse the JSON response
product_data = response.json()
# Print the product information
print(json.dumps(product_data, indent=2))
else:
print(f"Error: {response.status_code}")
print(response.text)