FARFETCH API

FARFETCH API

Get publicly accessible information from Farfetch.com using our Scraper API. Retrieve data such as Search Results, Product Information, and URL Extraction.

API description

  • The Farfetch API enables developers to access publicly available information from Farfetch.com, a global luxury fashion retailer, using our Scraper API.
  • Retrieve various types of data, including Search Results, Product Information, and URL Extraction, from Farfetch.com using our API.
  • Seamlessly integrate Farfetch's extensive collection of luxury fashion items into your website, mobile app, or software solution.
  • Enhance user experience by leveraging our API to fetch real-time data on product availability, pricing, and designer information.

API Documentation

Endpoints


Get Search Results using Keyword and Filters.



                                                                            
GET https://zylalabs.com/api/3859/farfetch+api/4532/search+by+keyword+and+filters
                                                                            
                                                                        

Search By Keyword and Filters - Endpoint Features
Object Description
sort [Optional] Options: lowToHigh, highToLow, mostRecent, ourPicks, discount
page [Optional] Page Number.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
    "items": [
        {
            "id": 23130841,
            "shortDescription": "mixed-prints panelled shirt",
            "merchantId": 9089,
            "brand": {
                "id": 6797,
                "name": "Comme Des Garçons Shirt"
            },
            "gender": "men",
            "images": {
                "cutOut": "https://cdn-images.farfetch-contents.com/23/13/08/41/23130841_53555871_480.jpg",
                "model": "https://cdn-images.farfetch-contents.com/23/13/08/41/23130841_53555864_480.jpg",
                "all": null
            },
            "priceInfo": {
                "formattedFinalPrice": "715 €",
                "formattedInitialPrice": "715 €",
                "finalPrice": 715,
                "initialPrice": 715,
                "currencyCode": "EUR",
                "isOnSale": false,
                "discountLabel": null,
                "installmentsLabel": null
            },
            "merchandiseLabel": "New Season",
            "merchandiseLabelField": "NewSeason",
            "isCustomizable": false,
            "availableSizes": [
                {
                    "scaleId": 34061,
                    "size": "M"
                },
                {
                    "scaleId": 34061,
                    "size": "L"
                },
                {
                    "scaleId": 34061,
                    "size": "XL"
                }
            ],
            "stockTotal": 3,
            "url": "/de/shopping/men/comme-des-garcons-shirt-mixed-prints-panelled-shirt-item-23130841.aspx?storeid=9089",
            "promotionLabel": null,
            "isForMembers": false,
            "type": "Product",
            "properties": {}
        }
    ]
}
                                                                                                                                                                                                                    
                                                                                                    

Search By Keyword and Filters - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/3859/farfetch+api/4532/search+by+keyword+and+filters' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Get Search Results using URL.

This endpoint is for when highly custom filters are needed.



                                                                            
GET https://zylalabs.com/api/3859/farfetch+api/4533/search+by+url
                                                                            
                                                                        

Search By URL - Endpoint Features
Object Description
url [Required] Search Results URL.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
    "items": [
        {
            "id": 23130841,
            "shortDescription": "mixed-prints panelled shirt",
            "merchantId": 9089,
            "brand": {
                "id": 6797,
                "name": "Comme Des Garçons Shirt"
            },
            "gender": "men",
            "images": {
                "cutOut": "https://cdn-images.farfetch-contents.com/23/13/08/41/23130841_53555871_480.jpg",
                "model": "https://cdn-images.farfetch-contents.com/23/13/08/41/23130841_53555864_480.jpg",
                "all": null
            },
            "priceInfo": {
                "formattedFinalPrice": "715 €",
                "formattedInitialPrice": "715 €",
                "finalPrice": 715,
                "initialPrice": 715,
                "currencyCode": "EUR",
                "isOnSale": false,
                "discountLabel": null,
                "installmentsLabel": null
            },
            "merchandiseLabel": "New Season",
            "merchandiseLabelField": "NewSeason",
            "isCustomizable": false,
            "availableSizes": [
                {
                    "scaleId": 34061,
                    "size": "M"
                },
                {
                    "scaleId": 34061,
                    "size": "L"
                },
                {
                    "scaleId": 34061,
                    "size": "XL"
                }
            ],
            "stockTotal": 3,
            "url": "/de/shopping/men/comme-des-garcons-shirt-mixed-prints-panelled-shirt-item-23130841.aspx?storeid=9089",
            "promotionLabel": null,
            "isForMembers": false,
            "type": "Product",
            "properties": {}
        }
    ]
}
                                                                                                                                                                                                                    
                                                                                                    

Search By URL - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/3859/farfetch+api/4533/search+by+url?url=https://www.farfetch.com/uk/shopping/men/search/items.aspx?q=shirt' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Get Product Information using URL.



                                                                            
GET https://zylalabs.com/api/3859/farfetch+api/4534/get+product+by+url
                                                                            
                                                                        

Get Product By URL - Endpoint Features
Object Description
url [Required] Product Page URL.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
    "brand": {
        "__typename": "Brand",
        "id": "6797",
        "name": "Comme Des Garçons Shirt",
        "resourceIdentifier": {
            "__typename": "ResourceIdentifier",
            "path": "/uk/shopping/men/designer-comme-des-garcons-shirt/items.aspx"
        }
    },
    "__typename": "Variation",
    "id": "7877483a-e5c4-42b6-9fba-68d8eb1a7373",
    "quantity": 0,
    "label": null,
    "description": {
        "__typename": "VariationDescription",
        "short": {
            "__typename": "TextDescription",
            "textContent": "Shape 2 long-sleeve shirt"
        }
    },
    "price": {
        "__typename": "FullPrice",
        "value": {
            "__typename": "GenericValue",
            "raw": 256,
            "formatted": "£256"
        },
        "installments": null,
        "currency": {
            "__ref": "Currency:{\"isoCode\":\"GBP\"}"
        },
        "taxesAndDuties": {
            "__typename": "TaxesAndDuties",
            "taxType": "DDP",
            "label": "Import duties included"
        }
    },
    "contextualMessages({\"contextualMessageTouchpoints\":[{\"id\":\"pdp-product-tag\",\"numberOfResults\":1}]})": null,
    "internalProductId": "18884320",
    "availabilityTypes": [
        "AVAILABLE_FOR_PURCHASE"
    ],
    "resourceIdentifier": {
        "__typename": "ResourceIdentifier",
        "path": "/uk/shopping/men/comme-des-garcons-shirt-shape-2-long-sleeve-shirt-item-18884320.aspx"
    },
    "images": [
        {
            "__typename": "VariationImage",
            "order": 1,
            "imageTypes": [
                "DEFAULT"
            ],
            "size600": {
                "__typename": "Image",
                "url": "https://cdn-images.farfetch-contents.com/18/88/43/20/18884320_41072049_600.jpg",
                "alt": "Comme Des Garçons Shirt Shape 2 long-sleeve shirt"
            },
            "size1000": {
                "__typename": "Image",
                "url": "https://cdn-images.farfetch-contents.com/18/88/43/20/18884320_41072049_1000.jpg",
                "alt": "Comme Des Garçons Shirt Shape 2 long-sleeve shirt"
            }
        },
        {
            "__typename": "VariationImage",
            "order": 2,
            "imageTypes": [
                "DEFAULT"
            ],
            "size600": {
                "__typename": "Image",
                "url": "https://cdn-images.farfetch-contents.com/18/88/43/20/18884320_41071544_600.jpg",
                "alt": "Comme Des Garçons Shirt Shape 2 long-sleeve shirt"
            },
            "size1000": {
                "__typename": "Image",
                "url": "https://cdn-images.farfetch-contents.com/18/88/43/20/18884320_41071544_1000.jpg",
                "alt": "Comme Des Garçons Shirt Shape 2 long-sleeve shirt"
            }
        },
        {
            "__typename": "VariationImage",
            "order": 3,
            "imageTypes": [
                "DEFAULT"
            ],
            "size600": {
                "__typename": "Image",
                "url": "https://cdn-images.farfetch-contents.com/18/88/43/20/18884320_41071545_600.jpg",
                "alt": "Comme Des Garçons Shirt Shape 2 long-sleeve shirt"
            },
            "size1000": {
                "__typename": "Image",
                "url": "https://cdn-images.farfetch-contents.com/18/88/43/20/18884320_41071545_1000.jpg",
                "alt": "Comme Des Garçons Shirt Shape 2 long-sleeve shirt"
            }
        },
        {
            "__typename": "VariationImage",
            "order": 4,
            "imageTypes": [
                "DEFAULT"
            ],
            "size600": {
                "__typename": "Image",
                "url": "https://cdn-images.farfetch-contents.com/18/88/43/20/18884320_41072050_600.jpg",
                "alt": "Comme Des Garçons Shirt Shape 2 long-sleeve shirt"
            },
            "size1000": {
                "__typename": "Image",
                "url": "https://cdn-images.farfetch-contents.com/18/88/43/20/18884320_41072050_1000.jpg",
                "alt": "Comme Des Garçons Shirt Shape 2 long-sleeve shirt"
            }
        },
        {
            "__typename": "VariationImage",
            "order": 5,
            "imageTypes": [
                "DEFAULT"
            ],
            "size600": {
                "__typename": "Image",
                "url": "https://cdn-images.farfetch-contents.com/18/88/43/20/18884320_41070702_600.jpg",
                "alt": "Comme Des Garçons Shirt Shape 2 long-sleeve shirt"
            },
            "size1000": {
                "__typename": "Image",
                "url": "https://cdn-images.farfetch-contents.com/18/88/43/20/18884320_41070702_1000.jpg",
                "alt": "Comme Des Garçons Shirt Shape 2 long-sleeve shirt"
            }
        }
    ],
    "shipping": null,
    "variationProperties": [
        {
            "__typename": "ScaledSizeVariationProperty",
            "order": 1,
            "values": [
                {
                    "__ref": "ScaledSizeVariationPropertyValue:{\"id\":\"54\",\"order\":16,\"scale\":{\"id\":\"114\"}}"
                }
            ]
        }
    ],
    "color": "1 BLACK",
    "brandStyleId": "FZB302",
    "deliveryMethods": [
        {
            "__typename": "DeliveryMethod",
            "type": "STANDARD",
            "order": 0
        },
        {
            "__typename": "DeliveryMethod",
            "type": "EXPRESS",
            "order": 1
        }
    ],
    "merchandiseLabelIds": [],
    "product": {
        "__ref": "Product:18884320"
    },
    "returnDetail": null,
    "tag": "NoTag",
    "mainColor": "Black",
    "condition": "NEW",
    "visualizationExperience": {
        "__typename": "VisualizationExperience",
        "has3DViewer": false
    },
    "care": {
        "__typename": "VariationCare",
        "disclaimers": null,
        "instructions": [
            {
                "__typename": "VariationCareInstruction",
                "type": "Washing instructions",
                "procedures": [
                    "Dry Clean Only"
                ]
            }
        ]
    },
    "composition": {
        "__typename": "VariationComposition",
        "disclaimers": null,
        "parts": [
            {
                "__typename": "VariationCompositionPart",
                "name": null,
                "materials": [
                    {
                        "__typename": "VariationCompositionMaterial",
                        "name": "Wool",
                        "percentage": {
                            "__typename": "GenericValue",
                            "formatted": "100%"
                        }
                    }
                ]
            }
        ]
    },
    "madeIn": {
        "__typename": "MadeIn",
        "origin": "Made in France",
        "disclaimers": null
    },
    "deliveryMethods({\"types\":[\"SAME_DAY\",\"NINETY_MINUTES\"]})": []
}
                                                                                                                                                                                                                    
                                                                                                    

Get Product By URL - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/3859/farfetch+api/4534/get+product+by+url?url=https://www.farfetch.com/uk/shopping/men/comme-des-garcons-shirt-shape-2-long-sleeve-shirt-item-18884320.aspx' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Extract Information from URL.



                                                                            
GET https://zylalabs.com/api/3859/farfetch+api/4535/extract+url
                                                                            
                                                                        

Extract URL - Endpoint Features
Object Description
url [Required] Website URL.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
    "brand": {
        "__typename": "Brand",
        "id": "6797",
        "name": "Comme Des Garçons Shirt",
        "resourceIdentifier": {
            "__typename": "ResourceIdentifier",
            "path": "/uk/shopping/men/designer-comme-des-garcons-shirt/items.aspx"
        }
    },
    "__typename": "Variation",
    "id": "7877483a-e5c4-42b6-9fba-68d8eb1a7373",
    "quantity": 0,
    "label": null,
    "description": {
        "__typename": "VariationDescription",
        "short": {
            "__typename": "TextDescription",
            "textContent": "Shape 2 long-sleeve shirt"
        }
    },
    "price": {
        "__typename": "FullPrice",
        "value": {
            "__typename": "GenericValue",
            "raw": 256,
            "formatted": "£256"
        },
        "installments": null,
        "currency": {
            "__ref": "Currency:{\"isoCode\":\"GBP\"}"
        },
        "taxesAndDuties": {
            "__typename": "TaxesAndDuties",
            "taxType": "DDP",
            "label": "Import duties included"
        }
    },
    "contextualMessages({\"contextualMessageTouchpoints\":[{\"id\":\"pdp-product-tag\",\"numberOfResults\":1}]})": null,
    "internalProductId": "18884320",
    "availabilityTypes": [
        "AVAILABLE_FOR_PURCHASE"
    ],
    "resourceIdentifier": {
        "__typename": "ResourceIdentifier",
        "path": "/uk/shopping/men/comme-des-garcons-shirt-shape-2-long-sleeve-shirt-item-18884320.aspx"
    },
    "images": [
        {
            "__typename": "VariationImage",
            "order": 1,
            "imageTypes": [
                "DEFAULT"
            ],
            "size600": {
                "__typename": "Image",
                "url": "https://cdn-images.farfetch-contents.com/18/88/43/20/18884320_41072049_600.jpg",
                "alt": "Comme Des Garçons Shirt Shape 2 long-sleeve shirt"
            },
            "size1000": {
                "__typename": "Image",
                "url": "https://cdn-images.farfetch-contents.com/18/88/43/20/18884320_41072049_1000.jpg",
                "alt": "Comme Des Garçons Shirt Shape 2 long-sleeve shirt"
            }
        },
        {
            "__typename": "VariationImage",
            "order": 2,
            "imageTypes": [
                "DEFAULT"
            ],
            "size600": {
                "__typename": "Image",
                "url": "https://cdn-images.farfetch-contents.com/18/88/43/20/18884320_41071544_600.jpg",
                "alt": "Comme Des Garçons Shirt Shape 2 long-sleeve shirt"
            },
            "size1000": {
                "__typename": "Image",
                "url": "https://cdn-images.farfetch-contents.com/18/88/43/20/18884320_41071544_1000.jpg",
                "alt": "Comme Des Garçons Shirt Shape 2 long-sleeve shirt"
            }
        },
        {
            "__typename": "VariationImage",
            "order": 3,
            "imageTypes": [
                "DEFAULT"
            ],
            "size600": {
                "__typename": "Image",
                "url": "https://cdn-images.farfetch-contents.com/18/88/43/20/18884320_41071545_600.jpg",
                "alt": "Comme Des Garçons Shirt Shape 2 long-sleeve shirt"
            },
            "size1000": {
                "__typename": "Image",
                "url": "https://cdn-images.farfetch-contents.com/18/88/43/20/18884320_41071545_1000.jpg",
                "alt": "Comme Des Garçons Shirt Shape 2 long-sleeve shirt"
            }
        },
        {
            "__typename": "VariationImage",
            "order": 4,
            "imageTypes": [
                "DEFAULT"
            ],
            "size600": {
                "__typename": "Image",
                "url": "https://cdn-images.farfetch-contents.com/18/88/43/20/18884320_41072050_600.jpg",
                "alt": "Comme Des Garçons Shirt Shape 2 long-sleeve shirt"
            },
            "size1000": {
                "__typename": "Image",
                "url": "https://cdn-images.farfetch-contents.com/18/88/43/20/18884320_41072050_1000.jpg",
                "alt": "Comme Des Garçons Shirt Shape 2 long-sleeve shirt"
            }
        },
        {
            "__typename": "VariationImage",
            "order": 5,
            "imageTypes": [
                "DEFAULT"
            ],
            "size600": {
                "__typename": "Image",
                "url": "https://cdn-images.farfetch-contents.com/18/88/43/20/18884320_41070702_600.jpg",
                "alt": "Comme Des Garçons Shirt Shape 2 long-sleeve shirt"
            },
            "size1000": {
                "__typename": "Image",
                "url": "https://cdn-images.farfetch-contents.com/18/88/43/20/18884320_41070702_1000.jpg",
                "alt": "Comme Des Garçons Shirt Shape 2 long-sleeve shirt"
            }
        }
    ],
    "shipping": null,
    "variationProperties": [
        {
            "__typename": "ScaledSizeVariationProperty",
            "order": 1,
            "values": [
                {
                    "__ref": "ScaledSizeVariationPropertyValue:{\"id\":\"54\",\"order\":16,\"scale\":{\"id\":\"114\"}}"
                }
            ]
        }
    ],
    "color": "1 BLACK",
    "brandStyleId": "FZB302",
    "deliveryMethods": [
        {
            "__typename": "DeliveryMethod",
            "type": "STANDARD",
            "order": 0
        },
        {
            "__typename": "DeliveryMethod",
            "type": "EXPRESS",
            "order": 1
        }
    ],
    "merchandiseLabelIds": [],
    "product": {
        "__ref": "Product:18884320"
    },
    "returnDetail": null,
    "tag": "NoTag",
    "mainColor": "Black",
    "condition": "NEW",
    "visualizationExperience": {
        "__typename": "VisualizationExperience",
        "has3DViewer": false
    },
    "care": {
        "__typename": "VariationCare",
        "disclaimers": null,
        "instructions": [
            {
                "__typename": "VariationCareInstruction",
                "type": "Washing instructions",
                "procedures": [
                    "Dry Clean Only"
                ]
            }
        ]
    },
    "composition": {
        "__typename": "VariationComposition",
        "disclaimers": null,
        "parts": [
            {
                "__typename": "VariationCompositionPart",
                "name": null,
                "materials": [
                    {
                        "__typename": "VariationCompositionMaterial",
                        "name": "Wool",
                        "percentage": {
                            "__typename": "GenericValue",
                            "formatted": "100%"
                        }
                    }
                ]
            }
        ]
    },
    "madeIn": {
        "__typename": "MadeIn",
        "origin": "Made in France",
        "disclaimers": null
    },
    "deliveryMethods({\"types\":[\"SAME_DAY\",\"NINETY_MINUTES\"]})": []
}
                                                                                                                                                                                                                    
                                                                                                    

Extract URL - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/3859/farfetch+api/4535/extract+url?url=https://www.farfetch.com/uk/shopping/men/comme-des-garcons-shirt-shape-2-long-sleeve-shirt-item-18884320.aspx' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the FARFETCH API REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.


Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
3,756ms

Category:


Tags:


Related APIs