Complete reference for the RealmKit Hub REST API. Build integrations, tools, and custom interfaces using these endpoints.
All API endpoints are relative to this base URL
https://api.realmkit.com/v1https://api.realmkit.com/v1https://staging-api.realmkit.com/v1Most endpoints are public, but some require authentication
Include API key in Authorization header
Authorization: Bearer your-api-key-hereOAuth flow for user authentication
Authorization: Bearer oauth-access-tokenJSON Web Token from login
Authorization: Bearer jwt-token/api/realmsList all available realms with optional filtering
| Name | Type | Location | Description |
|---|---|---|---|
category | string | query | Filter by category (saas, blog, api, etc.) |
tags | string | query | Comma-separated list of tags |
limit | number | query | Maximum number of results (default: 20) |
offset | number | query | Number of results to skip (default: 0) |
search | string | query | Search term for name and description |
featured | boolean | query | Only return featured realms |
{
"realms": [
{
"id": "string",
"name": "string",
"slug": "string",
"description": "string",
"category": "string",
"tags": [
"string"
],
"downloadCount": "number",
"starCount": "number",
"author": {
"username": "string",
"name": "string",
"image": "string"
},
"createdAt": "string",
"updatedAt": "string"
}
],
"pagination": {
"total": "number",
"limit": "number",
"offset": "number",
"hasMore": "boolean"
}
}curl -X GET \
"https://api.realmkit.com/v1/api/realms" \
-H "Content-Type: application/json"/api/realms/{slug}Get detailed information about a specific realm
| Name | Type | Location | Description |
|---|---|---|---|
slug | string | path | Unique realm identifier |
{
"id": "string",
"name": "string",
"slug": "string",
"description": "string",
"longDescription": "string",
"category": "string",
"tags": [
"string"
],
"downloadCount": "number",
"starCount": "number",
"version": "string",
"license": "string",
"author": {
"username": "string",
"name": "string",
"image": "string",
"bio": "string"
},
"features": {
"auth": "boolean",
"payments": "boolean",
"database": "boolean"
},
"requirements": {
"node": "string",
"npm": "string"
},
"repository": "string",
"demo": "string",
"createdAt": "string",
"updatedAt": "string"
}curl -X GET \
"https://api.realmkit.com/v1/api/realms/{slug}" \
-H "Content-Type: application/json"/api/realms/{slug}/downloadRecord a download and get download URL
| Name | Type | Location | Description |
|---|---|---|---|
slug | string | path | Realm identifier |
{
"downloadUrl": "string",
"expiresAt": "string"
}curl -X POST \
"https://api.realmkit.com/v1/api/realms/{slug}/download" \
-H "Content-Type: application/json"/api/realmsCreate a new realm (requires authentication)
| Name | Type | Location | Description |
|---|---|---|---|
namerequired | string | query | Realm name |
descriptionrequired | string | query | Short description |
categoryrequired | string | query | Primary category |
tags | array | query | Tags for discovery |
visibility | string | query | public, unlisted, or private |
license | string | query | Software license |
repository | string | query | Source code repository URL |
{
"id": "string",
"slug": "string",
"uploadUrl": "string",
"uploadToken": "string"
}curl -X POST \
"https://api.realmkit.com/v1/api/realms" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-api-key"/api/collectionsGet curated collections of realms
| Name | Type | Location | Description |
|---|---|---|---|
featured | boolean | query | Only featured collections |
{
"collections": [
{
"id": "string",
"name": "string",
"description": "string",
"realms": [
"string"
],
"createdBy": "string",
"createdAt": "string"
}
]
}curl -X GET \
"https://api.realmkit.com/v1/api/collections" \
-H "Content-Type: application/json"/api/statsGet platform statistics
{
"totalRealms": "number",
"totalDownloads": "number",
"totalUsers": "number",
"categories": {
"saas": "number",
"blog": "number",
"api": "number",
"ecommerce": "number"
}
}curl -X GET \
"https://api.realmkit.com/v1/api/stats" \
-H "Content-Type: application/json"Standard HTTP status codes used by the API
Request completed successfully
Resource created successfully
Invalid request parameters
Authentication required
Insufficient permissions
Resource does not exist
Too many requests
Internal server error
API usage limits and headers
X-RateLimit-Limit: 1000X-RateLimit-Remaining: 999X-RateLimit-Reset: 1640995200Official libraries and tools for API integration
Official Node.js and browser SDK
npm install @realmkit/sdkPython library for API integration
pip install realmkitAlternative GraphQL endpoint
Continue exploring the API documentation