Back to Store

API Reference

KryptMarket provides a RESTful API for developers to interact with the marketplace programmatically.

Authentication

All API requests require an API key to be passed in the Authorization header as a Bearer token.

Authorization: Bearer YOUR_API_KEY

Endpoints

GET /api/v1/products

Retrieves a list of all active products.

Response Example

{
  "status": "success",
  "data": [
    {
      "id": 1,
      "name": "Discord Nitro Full — 1 Month",
      "price": 9.99,
      "stock_status": "in_stock"
    }
  ]
}