Skip to content

Product Search

Beta

POST /products/search

Products are ranked by relevance to the query. Elo monetizes links on a best-effort basis: where it can, a product’s url is a tracked link to the same page. Monetization never changes which products are returned or their order.

Terminal window
curl -X POST "https://api.withgrowl.com/v1/products/search" \
-H "Authorization: Bearer elo_pub_..." \
-H "Content-Type: application/json" \
-d '{ "q": "wireless mouse", "country": "us", "language": "en", "num": 5 }'
FieldDescription
qThe shopping query. Required.
countryTwo-letter country code, lower case, for example us.
languageLanguage code, lower case, for example en or pt-br.
numMost products to return, 1 to 5. Defaults to 5.
{
"products": [
{
"title": "Logitech M170 Wireless Mouse",
"url": "https://www.bestbuy.com/site/logitech-m170-wireless-mouse/...",
"merchant": "Best Buy",
"price": "$14.99",
"image_url": "https://images.example.com/logitech-m170.jpg",
"position": 1
}
]
}
FieldDescription
titleProduct name.
urlThe product’s page, or a tracked link to it where Elo monetizes the link.
merchantThe store selling it, when known.
priceThe price as displayed, currency included, when known.
image_urlProduct picture, when known.
positionRank by relevance, from 1.
StatusMeaning
401The publisher API key is missing or not valid.
422The request does not match the schema. The body says which field.
502, 503, 504Internal server error. Retry later.