API for retrieving information about public offers on Allegro
Access for verified applications only. Use this resource to get a list of offers based on the provided query parameters. At least one of: phrase, seller.id or category.id is required. Additional available parameters vary depending on category.id. The parameters are defined in the filters entity. Changing the marketplace, country of delivery, currency or language may impact the availability of offers and filters. Note that requests for closed offers may be limited. This resource is rate limited to 270 requests per second.
| category.id | string The identifier of the category, where you want to search for offers. |
| phrase | string The search phrase. The phrase is searched in different fields of the offers depending on the value of the |
| seller.id | string The identifier of a seller, to limit the results to offers from this seller. May be provided more than once. Should not be provided when seller.login is given. |
| seller.login | string The login of a seller, to limit the results to offers from this seller. May be provided more than once. Should not be provided when seller.id is given. |
| marketplaceId | string Default: "allegro-pl" Id of a marketplace where offers are visible.
Acceptable values : |
| shipping.country | string Example: shipping.country=PL Expected language of messages. |
| currency | string <ISO 4217 currency code> Example: currency=PLN Currency of the offer prices.
Default value : depends on marketplace, for allegro-pl: |
| searchMode | string Default: "REGULAR" Enum: "REGULAR" "CLOSED" Defines where the given phrase should be searched in. Allowed values:
|
| offset | integer [ 0 .. 599 ] Default: 0 Index of the first returned offer from all search results. Max offset is |
| limit | integer [ 1 .. 60 ] Default: 60 The maximum number of offers in a response. |
| sort | string Default: "relevance" Enum: "relevance" "+price" "-price" "+withDeliveryPrice" "-withDeliveryPrice" "+endTime" "-startTime" Search results sorting order. |
| include | string Specify parts of the response that should be included in the output. Allowed values are the names of top level entities and all as an alias to all entities. By default, all top level entities are included. Use |
| fallback | boolean Default: true Defines the behaviour of the search engine when no results with exact phrase match are found:
|
object You can filter and customize your search results to find exactly what you need by applying filters ids and their dictionary values to query according to the flowing pattern: id=value. When the filter definition looks like:
You can use 'Stan' filter to query results, i.e.:
|
| Accept-Language | string <BCP-47 language code> Enum: "en-US" "pl-PL" "uk-UA" "sk-SK" "cs-CZ" "hu-HU" Example: pl-PL Limits offers to the only translated to specified language. Also expected language of messages.
Default value : depends on marketplace, for allegro-pl: |
{- "items": {
- "promoted": [
- {
- "id": "2865624934",
- "name": "Adidas shoes 41",
- "seller": {
- "id": "41846511",
- "login": "myLogin",
- "company": true,
- "superSeller": true
}, - "promotion": {
- "emphasized": true,
- "bold": true,
- "highlight": true
}, - "delivery": {
- "availableForFree": true,
- "lowestPrice": {
- "amount": "123.45",
- "currency": "PLN"
}
}, - "images": [
], - "sellingMode": {
- "format": "BUY_NOW",
- "price": {
- "amount": "123.45",
- "currency": "PLN"
}, - "fixedPrice": {
- "amount": "123.45",
- "currency": "PLN"
}, - "popularity": 51,
- "popularityRange": "[51-100]",
- "bidCount": 12
}, - "stock": {
- "unit": "UNIT",
- "available": 23
}, - "vendor": {
- "id": "ALLEGRO_LOKALNIE",
}, - "category": {
- "id": "257931"
}, - "publication": {
- "endingAt": "2019-05-15T18:09:41.000Z"
}
}
], - "regular": [
- {
- "id": "2865624934",
- "name": "Adidas shoes 41",
- "seller": {
- "id": "41846511",
- "login": "myLogin",
- "company": true,
- "superSeller": true
}, - "promotion": {
- "emphasized": true,
- "bold": true,
- "highlight": true
}, - "delivery": {
- "availableForFree": true,
- "lowestPrice": {
- "amount": "123.45",
- "currency": "PLN"
}
}, - "images": [
], - "sellingMode": {
- "format": "BUY_NOW",
- "price": {
- "amount": "123.45",
- "currency": "PLN"
}, - "fixedPrice": {
- "amount": "123.45",
- "currency": "PLN"
}, - "popularity": 51,
- "popularityRange": "[51-100]",
- "bidCount": 12
}, - "stock": {
- "unit": "UNIT",
- "available": 23
}, - "vendor": {
- "id": "ALLEGRO_LOKALNIE",
}, - "category": {
- "id": "257931"
}, - "publication": {
- "endingAt": "2019-05-15T18:09:41.000Z"
}
}
]
}, - "categories": {
- "subcategories": [
- {
- "id": "257929",
- "name": "Sport shoes",
- "count": 123
}
], - "path": [
- {
- "id": "257929",
- "name": "Sport shoes"
}
]
}, - "filters": [
- {
- "id": "campaign",
- "type": "SINGLE",
- "name": "kampania",
- "values": [
- {
- "name": "raty zero",
- "value": "INSTALLMENTS_ZERO",
- "idSuffix": ".to",
- "count": 123,
- "selected": true
}
], - "minValue": 0,
- "maxValue": 1000,
- "unit": "zł"
}
], - "searchMeta": {
- "availableCount": 6000,
- "totalCount": 319203,
- "fallback": true
}, - "sort": [
- {
- "value": "-relevance",
- "name": "relevance",
- "order": "highest",
- "selected": true
}
]
}