API
Short English summary. Full pages in French: API. The API reference is generated from the OpenAPI contract and is in English.
MarketKit exposes three public APIs under the base URL given when your account is opened (https://<your-api-host>/api/v2):
| API | Authentication | Scope |
|---|---|---|
| Storefront API — catalogue, cart, checkout, customer account, store reservations | none, or a customer JWT | the marketplace resolved from the host |
Vendor stock API — GET/POST /vendor-api/stock | vk_… key with the stock scope | the vendor's own articles; dryRun defaults to true |
Agent API + MCP — /agent/*, MCP at /agent/mcp | mk_live_… key, read-only scopes | the marketplace that created the key |
Responses use the envelope { "ok": true, "data": … } / { "ok": false, "error": … }. Download the contract: openapi.json.