Articles on: Developers

API and SDK overview

Everything in Kelp is available through a simple JSON API. The JavaScript SDK is optional.

API basics

  • All endpoints use POST with a JSON body and an X-Api-Key header.
  • Search: POST /api/v1/collections/{collection}/search on your search host.
  • Browse: POST /api/v1/collections/{collection}/browse on your search host.
  • Events: POST /analytics/events on 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

Was this article helpful?

Share your feedback

Cancel

Thank you!