{"openapi":"3.1.0","info":{"title":"HindBook.in Public Storefront & Agent API","version":"1.0.0","description":"Machine-readable API specification for HindBook.in — India's reader-first online bookstore for 100% original UPSC, Academic, Fiction, Self-Help, and Technology books.","contact":{"name":"HindBook.in Support","email":"info.hindbook@gmail.com","url":"https://hindbook.in/contact"}},"servers":[{"url":"https://hindbook.in","description":"HindBook.in Production"}],"paths":{"/api/facts":{"get":{"operationId":"getStoreFacts","summary":"Get verified store facts, FAQs, shipping/COD rules, and catalog summary","responses":{"200":{"description":"Structured JSON of HindBook.in facts and FAQs"}}}},"/api/books":{"get":{"operationId":"searchBooks","summary":"Search and list books in HindBook.in catalog","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string"},"description":"Search by title, author, or ISBN"},{"name":"category","in":"query","required":false,"schema":{"type":"string"}},{"name":"subCategory","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"List of matching books with prices in INR"}}}},"/api/books/{id}":{"get":{"operationId":"getBookById","summary":"Get detailed book metadata by slug/id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Book details including ISBN, price, MRP, and stock"}}}},"/api/categories":{"get":{"operationId":"listCategories","summary":"List all active book categories","responses":{"200":{"description":"Book categories"}}}},"/api/shipping/pincode":{"get":{"operationId":"checkPincodeServiceability","summary":"Check delivery availability, ETA, and COD eligibility for an Indian PIN code","parameters":[{"name":"pincode","in":"query","required":true,"schema":{"type":"string","pattern":"^[0-9]{6}$"}}],"responses":{"200":{"description":"Delivery serviceability and COD status"}}}}}}