Comparor

At Comparor we offer developers the ability to access our comparator information through our API.

How to access the API?

Comparor offers you an API that allows you to access the price information of our catalog, thanks to our API you will have access to information about the price of millions of products in all the stores that we analyze.

To access the API you must be registered as a user and register an API Key in your account. The steps to take would be

  • 1.- Register as a Comparor user using the registration form or through your Google account
  • 2.- Access your account to the API section and generate a new APIKEY
  • 3.- Perform the integration of the API Key

Please note that some information is restricted by certain trade agreements, so there are stores for which no information is provided.

API limitations

The API is limited to 1000 requests per month for free, if you need more requests, contact our team and we will provide you with a tailor-made quote.

methods

Get the price of a product

Description

Gets the price list for a given product in existing stores

API URL

https://www.consumerstore.com/api/

Petición

Make a GET or POST request to the API URL, with the following parameters:

  • apikey, include your API Key here
  • method=product.getprice
  • market, Reference country (uk, de, fr, it, es)
  • ean, EAN of the product to consult (13 digits)

Result

  • status, possible values: OK, FAIL
  • error, Error code in case the request fails
  • result, price list:
    • platform, Store's name
    • platform_url, store url
    • product, Product name in store
    • product_url, Product URL in store
    • price, last price found
    • unix_timestamp, Date the price was found

possible errors

  • INCORRECT_METHOD, The indicated method does not exist.
  • INCORRECT_EAN, Wrong EAN or a product that does not exist in our catalogue.
  • INCORRECT_MARKET, The market you have included does not exist.
  • INCORRECT_IP, The access IP is not allowed.
  • INCORRECT_APIKEY, The indicated API KEY does not exist.
  • LIMIT_REACHED, You have reached the limit of allowed requests.

GET Request Example

https://www.consumerstore.com/api/?apikey={APIKEY}&method=product.getprice&market={MARKET}&ean={EAN}

If you have any questions to make to our company, you can do so using the contact form. We are here to help you with all your questions.