Products
The Products API provides endpoints to query products, their activities, and purchases.
Get All Products
GET /productsRetrieves a paginated list of products with filtering options.
Query Parameters
page
number
Page number (min: 1, default: 1)
limit
number
Items per page (max: 100, default: 10)
creator
string
Filter by creator address
status
string
Filter by status
coinType
string
Filter by coin type
search
string
Search products (min: 3 chars)
sortBy
string
Sort field (CREATED_AT, NAME, PRICE, etc.)
sortOrder
string
Sort order (ASC/DESC)
Product Status Types
ACTIVESOLD_OUT
Response
Get Product by ID
Retrieves details of a specific product.
Response
Get Product Activities
Retrieves activities for a specific product.
Query Parameters
page
number
Page number (min: 1, default: 1)
limit
number
Items per page (max: 100, default: 10)
activityType
string
Filter by activity type
actor
string
Filter by actor address
Activity Types
CREATEDUPDATEDPURCHASEDQUANTITY_CHANGED
Response
Get Product Purchases
Retrieves purchases made for a specific product.
Query Parameters
page
number
Page number (min: 1, default: 1)
limit
number
Items per page (max: 100, default: 10)
buyer
string
Filter by buyer address
coinType
string
Filter by coin type
status
string
Filter by status (COMPLETED)
billId
string
Filter by bill ID
Response
Get Account Product Activities
Retrieves product activities for a specific account.
Query Parameters
Same as Get Product Activities
Get Account Product Stats
Retrieves product statistics for a specific account.
Response
Last updated