API and SDK overview
Everything in Kelp is available through a simple JSON API. The JavaScript SDK is optional.
API basics
- All endpoints use
POSTwith a JSON body and anX-Api-Keyheader. - Search:
POST /api/v1/collections/{collection}/searchon your search host. - Browse:
POST /api/v1/collections/{collection}/browseon your search host. - Events:
POST /analytics/eventson your analytics host.
The API works from PHP, Magento themes, Liquid, mobile apps or any script. No npm is required.
JavaScript SDK
Install with npm install @kelpclick/client@latest, or load it from a CDN as an ES module in themes without a bundler. It covers search and browse, analytics, identity and email capture, with React bindings in @kelpclick/client/react. It also handles retries and timeouts for you.
Documentation
Updated on: 04/12/2026
Thank you!