GET
Search for products by title, country and domain filter.
Parameters:
product_title
: string (required)
country_code
: string (optional)
exclude_domains
: string (optional)
Request:
GET /product_search?product_title=jacket&country_code=Australia&exclude_domains=amazon.com,walmart.com
Response:
[
{
"url": "https://mywebsite.com/product1",
"price":"100.0"
},
{
"url": "https://mywebsite.com/product2",
"price":"unable_to_scrape"
},
{
"url": "https://mywebsite.com/product3",
"price":"invalid_currency"
},
...
]
Response is an array of dictionary values where each dictionary has the url
of the product and its price
.
Price can have 3 types of values:
product_title
is missing in the request, a 422 Unprocessable Entity
error will be returned with an error message.country_code
provided in not valid, the products might not be found and the response could be an empty array.exclude_domains
provided are not valid or not properly formatted (comma separated), they will not be excluded from the search and might appear in the response.500 Internal Server Error
will be returned.There is no rate limiting on the request unless you are on the free plan. However, heavy traffic might slow down the response time.
Use of this API is subjected to the standard API usage terms and conditions.
For any queries or issues, drop an email at
stephanyazvinski@gmail.com
1.0.0