User Tools

Site Tools


LiteCart API

The official website and add-ons store have a public API currently offering read-only access to resources using REST and JSON.

Make a HTTP GET request for the following URLs:


Endpoints supporting pagination will return a header like the following:

  Link: <https://...?page=1>; rel=first, <https://...?page=1>; rel=prev, <https://...?page=2>; rel=next,<https://...?page=2>; rel=last

You can extract a pagination link using regular expressions:

  if (preg_match('#<(.*?)>; rel="?next"?#m', $headers, $matches)) {
    $next_link = $matches[1];

Search Filter

To search an endpoints that supports search filter. Use an HTTP GET query parameter like the following:
api.txt · Last modified: 2019/12/11 03:03 by admin