XXL Sport Search API Documentation Search the public XXL Sport catalog for Sweden by Swedish query words or a category code from the site. Filter by price range, sort and page. Price is checked on each returned item, so a page can be short. Every product has a style key, a group id, a numeric price with currency, per-size prices and full-size image URLs. The style key works unchanged in the product route and the group id in the reviews route. One search costs 1 credit. Empty and failed requests are not billed. Not affiliated with XXL Sport.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
This endpoint has no required query parameters.
8 optional filters available.
string
Optional
SE only. NO and FI return 422 until their production soak passes.
US
string
Optional
Swedish search words. Use this or category.
coffee shops
string
Optional
Numeric category code from XXL Sport. Take categoryCodes from this response or from a product. Use this or query.
example
number
Optional
Lowest price in SEK. Checked on returned items.
10
number
Optional
Highest price in SEK. Checked on returned items.
10
string
Optional
RELEVANCE (default), PRICE_ASCENDING, PRICE_DESCENDING, RATING, DISCOUNT or NEWEST_FIRST.
relevance
integer
Optional
1-based page, up to 10.
1
integer
Optional
Products per page, up to 60, default 60.
10
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"sort": "RELEVANCE",
"query": "l\u00f6parskor",
"facets": [],
"currency": "SEK",
"products": [
{
"id": "1240207_1_Style",
"url": "https://www.xxl.se/p/example-1240207_1_Style",
"brand": "Example",
"price": 8999,
"title": "Running shoe",
"rating": 4.7,
"groupId": "1240207",
"inStock": true,
"currency": "SEK",
"discount": 10,
"imageUrl": "https://example.com/image.jpg",
"styleKey": "1240207_1_Style",
"variants": [
{
"size": "40.5",
"label": "40.5",
"price": 1679,
"inStock": true,
"currency": "SEK",
"stockNumber": 24,
"originalPrice": 2399
}
],
"imageUrls": [
"https://example.com/image.jpg"
],
"originalPrice": 9999
}
],
"totalHits": 704,
"pagination": {
"has_more": true,
"per_page": 60,
"total_items": 704,
"total_pages": 12,
"current_page": 1
},
"categoryCodes": [
{
"code": "140202",
"name": "Running",
"facetId": "custom.categoryBreadcrumbCodes",
"hitCount": 222
}
]
},
"meta": {
"credits": 1,
"billable": true,
"endpoint_family": "search"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A parameter is missing or invalid. Not billable.
Upstream Unavailable
The source did not answer or sent unreadable data. Not billable.
Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.