Lucky Cart Core API

The core Lucky Cart API. POST /cart/ticket submits a validated shopping cart — cart identifier, shopper identifier, gross and net amounts, and product lines — and Lucky Cart determines whether a game can be generated, returning a ticket plus the device-specific intro image and game URL. This is the only signed endpoint: the request body carries auth_ts, auth_key, auth_v "2.0" and auth_sign, an HMAC-SHA256 digest of the timestamp keyed by the site secret. Game data is read back at /{siteKey}/game/{cartId} or /{siteKey}/game/cust/{shopperId}, optionally suffixed with the device. Cart ingestion is asynchronous, so the read returns the literal error "Cart not found" until it completes and clients poll on a bounded attempt budget.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/core-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

API entry from apis.yml

apis.yml Raw ↑
aid: lucky-cart:core-api
name: Lucky Cart Core API
description: 'The core Lucky Cart API. POST /cart/ticket submits a validated shopping cart — cart identifier,
  shopper identifier, gross and net amounts, and product lines — and Lucky Cart determines whether a game
  can be generated, returning a ticket plus the device-specific intro image and game URL. This is the
  only signed endpoint: the request body carries auth_ts, auth_key, auth_v "2.0" and auth_sign, an HMAC-SHA256
  digest of the timestamp keyed by the site secret. Game data is read back at /{siteKey}/game/{cartId}
  or /{siteKey}/game/cust/{shopperId}, optionally suffixed with the device. Cart ingestion is asynchronous,
  so the read returns the literal error "Cart not found" until it completes and clients poll on a bounded
  attempt budget.'
humanURL: https://github.com/lucky-cart/luckycart-js-sdk#send-the-current-transaction
baseURL: https://api.luckycart.com
tags:
- Transaction
- Promotions
- Gamification
tags_raw:
- Transactions
- Promotions
- Gamification
properties:
- type: Authentication
  url: authentication/lucky-cart-authentication.yml
- type: Conventions
  url: conventions/lucky-cart-conventions.yml
- type: SourceCode
  url: https://github.com/lucky-cart/luckycart-js-sdk