API Design
The Krown Marketplace API follows REST principles and returns JSON responses. All endpoints are read-only and publicly accessible without authentication.Base URL
Endpoints Overview
Collections
Query NFT collections, metadata, holders, and traits
Tokens
Get NFT data, ownership, listings, and rarity information
Activities
Track transfers, sales, offers, and marketplace events
Auctions
Browse active and completed auctions
Offers
View collection and token offers
Users
Get user profiles and NFT portfolios
Common Parameters
Most list endpoints support these parameters:Pagination
| Parameter | Type | Default | Description |
|---|---|---|---|
page | integer | 1 | Page number |
limit | integer | 50 | Results per page (max 100) |
Sorting
| Parameter | Type | Default | Description |
|---|---|---|---|
sortBy | string | varies | Field to sort by |
sortOrder | string | desc | Sort order (asc or desc) |
Filtering
Many endpoints support additional filters specific to the resource type.Response Format
Success Response
Error Response
HTTP Status Codes
| Code | Description |
|---|---|
200 | Success |
400 | Bad Request - Invalid parameters |
404 | Not Found - Resource doesn’t exist |
429 | Too Many Requests - Rate limit exceeded |
500 | Internal Server Error |
Data Freshness
- Real-time: Activities, auctions, offers
- Near real-time (< 30s): Token listings, ownership
- Cached (2-5 min): Collection stats, holder lists, traits
Need Help?
Join Discord
Get support from our community and developers