Mango Search
Use in bulk with DataflowRun this endpoint over a file or a list, once or on a schedule.
Search Mango by keyword and return product cards with the current selling price.
Credit cost: 1 credit per call
ApiKeyAuthx-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringKeyword or a shop.mango.com search URL.
country?stringStore for a keyword. fr (default) is /fr/fr/search/femme. us is /us/en/search/women. gb and uk are /gb/en/search/women. A full URL keeps its own path.
"fr"return_page_source?booleanReturn the page HTML instead of the parsed search.
falsefields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
falseSuccessful response
application/json- response
results?array<>pagination?curl -X GET 'https://api.piloterr.com/v2/mango/search?query=string'{
"results": [
{
"url": "https://shop.mango.com/fr/fr/p/femme/robes-et-combinaisons/courte/robe-courte-maille/37097796/92/00",
"image": "https://media.mango.com/is/image/punto/37097796-92-001",
"price": 29.99,
"title": "Robe courte maille",
"colour": "Gris",
"currency": "EUR",
"colour_id": "92",
"product_id": 37097796,
"price_display": "29,99 €",
"compare_at_price": 39.99
}
],
"pagination": {
"next": null,
"page": 1,
"per_page": 8,
"total_pages": null,
"total_results": 535
}
}