{"openapi":"3.1.0","info":{"title":"PakkaPrice AI Commerce API","version":"1.0.0","description":"Read-only India product comparison data. Product and offer data contains only customer-facing facts and opaque PakkaPrice buy URLs."},"servers":[{"url":"https://pakkaprice.com"}],"paths":{"/api/ai/search":{"get":{"operationId":"searchProducts","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":160}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":10}}],"responses":{"200":{"description":"Verified matching products"}}}},"/api/ai/product/{slug}":{"get":{"operationId":"getProduct","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Safe product summary"},"404":{"description":"Not found"}}}},"/api/ai/compare/{slug}":{"get":{"operationId":"comparePrices","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Top verified offers with PakkaPrice buy links"}}}},"/api/ai/offers/{slug}":{"get":{"operationId":"getOffers","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Current offers"}}}},"/api/ai/price-history/{slug}":{"get":{"operationId":"getPriceHistory","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"30-day price summary"}}}}},"externalDocs":{"description":"PakkaPrice AI data policy","url":"https://pakkaprice.com/ai"}}