Build the Future of Cricket Mini Apps
By Cricap · Updated · Contact the team
Cricap Mini App Ecosystem is built directly into the Cricap application. Once users download Cricap, they can discover and access every Cricap mini app, from live scores to fantasy leagues, in one complete ecosystem.
Start with the supported Trends integration
To build cricket mini apps for the current Cricap web hosts, use the Trends bridge and publishing guide. It explains frame readiness, sign-in requests, expanded display and sharing. The broader JavaScript SDK reference documents platform APIs; availability depends on the host. A portal submission is reviewed before publication.
Why Choose Cricap for Mini App Development?
Everything you need to build powerful cricket mini apps inside the Cricap application
Easy Integration
Get started in minutes with our simple SDK and comprehensive documentation.
Real-time Data
Live scores, ball-by-ball updates, and instant notifications for all matches.
Community Driven
Build fan experiences and share your work with the Cricap community.
Developer Friendly
Clean APIs, webhooks, and extensive docs to help you build faster.
How to Build Your First Mini App
Get started with Cricap mini app development in 4 simple steps
Install the SDK
Install the Cricap Mini App SDK using npm: npm install @cricap/miniapp-sdk
Get Developer Credentials
Sign in to the developer portal, provide your contact email, and submit your miniapp for review.
Initialize the SDK
Initialize the SDK in your app with your credentials and configure the environment.
Build Your Mini App
Use the SDK methods to integrate authentication, user data, QCoin rewards, and notifications.
// Install
npm install @cricap/miniapp-sdk
// Initialize
import { initCricapSDK } from '@cricap/miniapp-sdk';
const sdk = initCricapSDK({
appId: 'your-miniapp-id',
environment: 'production',
});
await sdk.initialize();
await sdk.ui.show({
animation: 'slide-up'
});
Publishing in Trends
The Trends host supports a focused sharing interface. Read the current integration guide before using the broader SDK examples below.
Read the guide · Submit a miniappOfficial JavaScript SDK for Mini Apps
Build mini apps faster with our TypeScript SDK. Secure communication, UI controls, notifications, and more.
- TypeScript support with full type definitions
- Secure postMessage API with origin validation
- UI controls (show/close/resize mini apps)
- Real-time notifications via topic subscription
// Subscribe to leaderboard updates
await sdk.notifications.subscribe([
'leaderboard.updates',
'qcoin.rewards'
]);
// Handle incoming notifications
sdk.notifications.onNotification((notification) => {
if (notification.type === 'LEADERBOARD_UPDATE') {
updateLeaderboard(notification.data);
}
});
Available Mini Apps
Discover the growing collection of cricket mini apps in our ecosystem
Leaderboard
Real-time rankings and statistics for cricket tournaments and leagues.
Player Stats
Comprehensive player statistics and performance analytics. Coming soon.
Coming SoonMatch Predictions
AI-powered match predictions and win probability analysis. Coming soon.
Coming SoonPowerful API for Developers
Access comprehensive cricket data with our RESTful API. Build anything from simple scoreboards to complex fantasy platforms.
- Live match scores and ball-by-ball updates
- Player and team statistics
- Tournament schedules and results
- Webhooks for real-time notifications
GET https://api.cricap.com/v1/matches/live
Response:
{
"matches": [
{
"id": "icc_wc_2024_ind_aus",
"teams": {
"home": "India",
"away": "Australia"
},
"score": {
"home": "285/4",
"away": "280/8"
},
"status": "live"
}
]
}
Frequently Asked Questions
Everything you need to know about building on Cricap
What is the Cricap Mini App SDK?
The Cricap Mini App SDK is an official JavaScript/TypeScript SDK for building mini apps inside the Cricap application, where users can discover and access the complete Cricap mini app ecosystem.
Is the Cricap SDK free to use?
Yes, the Cricap Mini App SDK is completely free and open source. You can install it via npm and start building immediately.
How do I get developer credentials?
Email us at hi@cricap.com to request your appId, appSecret, and apiKey. We'll get you set up quickly.
What can I build with the SDK?
You can build games, statistics trackers, voting systems, quizzes, community features, and fan engagement apps.
Ready to Build Your Mini App?
Join the Cricap developer community and start building cricket experiences for Cricap users worldwide.
Free tier available • Open Source SDK • Community and Developer Support