E-Commerce
I created this API to recreate the behavior of e-commerce APIs to help in building e-commerce websites. I make e-commerce websites yet to see that API that gives me what I want without much hassle. The idea was to create something readily available and easy to consume because most of the APIs out there come with documentation that might take time to get used to, so if you need something quick…
E-Commerce endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET |
Get product by name /products/getproductbyname/search |
This endpoint will return any product that contains the given name |
| GET |
Get products by category /categories/getitemsbycategory |
This will get all products under different categories |
| GET |
Get top rated products /products/toprated |
This will get all the products whose ratings are greater than or equal to the specified rating in the query params |
| GET |
Top sold products /products/topsales |
This will display all the top products depending on the number of sales in the query params, if its not available it will display all products with over 100 sales |
| GET |
Get all categories /categories/ |
This will get all available categories |
| GET |
Top rated by category /categories/toprated |
This will get the top rated items in the category specified in the query params The default is items that have over 4 ratings if rating is not specified in the query params |
| GET |
Top sales by category /categories/topsales |
This will get all products with over 100 sales in the specified category |
| GET |
Get product by ID /products/getproductbyid/{id} |
This will get the product with the specified ID, pagination is disabled on this page To get similar products just pass similarProducts=true in your query |
| GET |
Get all products /products |
This will return all the products available. You can use products?limit=100&&page=1 for pagination |
E-Commerce pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO Recommended | $10 / month | — |
|
| ULTRA | $25 / month | — |
|