Skip to main content
GET
/
v1
/
products
List all products
curl --request GET \
  --url https://api.kyren.top/v1/products \
  --header 'x-api-key: <api-key>'
{
  "code": 0,
  "message": "success",
  "data": {
    "items": [
      {
        "id": "prod_abc123",
        "name": "1000 AI Credits",
        "description": "Top up 1000 credits for AI API usage",
        "image": null,
        "price": 9.99,
        "currency": "USD",
        "status": "ACTIVE",
        "metadata": {
          "credits": "1000"
        },
        "createdAt": "2026-01-15T10:30:00Z",
        "updatedAt": "2026-01-15T10:30:00Z"
      }
    ],
    "pagination": {
      "page": 1,
      "size": 20,
      "total": 1,
      "totalPages": 1
    }
  }
}

Authorizations

x-api-key
string
header
required

Your API key. Use kyren_live_* for production and kyren_test_* for testing.

Query Parameters

status
enum<string>

Filter by product status

  • ACTIVE — Product is available for checkout
  • ARCHIVED — Product is archived and cannot be used
Available options:
ACTIVE,
ARCHIVED
page
integer
default:1

Page number (1-indexed)

Required range: x >= 1
size
integer
default:20

Number of items per page

Required range: 1 <= x <= 100

Response

A paginated list of products

code
integer
Example:

0

message
string
Example:

"success"

data
object