API Documentation
Base URL: https://api.strikecoding.com/v1
Products
Paginated list of products.
Query Parameters
Example Request
curl "https://api.strikecoding.com/v1/products?search=masala"Single product by UUID. Includes brands, active listings, and categories.
Example Request
curl "https://api.strikecoding.com/v1/products/40169688-939a-4287-ad5f-844559d6faf0"Full price history for a product across all its store listings.
Query Parameters
Example Request
curl "https://api.strikecoding.com/v1/products/[id]/price-history?days=90"Listings (Price Comparison)
Direct access to all listings with price filtering and sorting. Best endpoint for price comparison.
Query Parameters
Example Request
curl "https://api.strikecoding.com/v1/listings?sort=price_per_100g&limit=20"Price history for a single specific listing.
Query Parameters
Example Request
curl "https://api.strikecoding.com/v1/listings/18219/price-history?days=90"Search
Unified typo-tolerant search across products and brands simultaneously. Powered by pg_trgm + Full-Text Search.
Query Parameters
Example Request
curl "https://api.strikecoding.com/v1/search?q=garam+masala"Stores
All enabled stores ordered by name.
Example Request
curl "https://api.strikecoding.com/v1/stores"Single store detail including crawl stats and store metadata.
Example Request
curl "https://api.strikecoding.com/v1/stores/littleindia-de"Full product catalogue for a store, sorted by price.
Query Parameters
Example Request
curl "https://api.strikecoding.com/v1/stores/littleindia-de/listings"Brands & Categories
Paginated list of all brands.
Query Parameters
Example Request
curl "https://api.strikecoding.com/v1/brands?search=shan"All products belonging to a brand.
Example Request
curl "https://api.strikecoding.com/v1/brands/417/products"All categories ordered by sort_order. Includes parent_id for building a tree.
Example Request
curl "https://api.strikecoding.com/v1/categories"Paginated products within a category.
Example Request
curl "https://api.strikecoding.com/v1/categories/1041/products"