This README demonstrates how to use the GitHub Ranking Badges API in your projects.
We offer multiple badge styles to match your README theme:
Replace yourusername with your actual GitHub username:
- ✅ Real-time Rankings - Automatically updated based on total stars
- ✅ Beautiful Design - Modern gradient badge with clean typography
- ✅ Multiple Styles - Choose from default, flat, or plastic styles
- ✅ Fast Loading - Cached for optimal performance
- ✅ Cross-platform - Works on GitHub, GitLab, and other platforms
https://yourdomain.com/api/badges?username=yourusername&format=jsonThe badge displays:
- Rank: Your current position (e.g., #1)
- Username: Your GitHub username
- Stars: Total stars across all repositories
- Percentile: What percentage of developers you're ranked above
For user muhammad-fiaz:
- Rank: #1
- Total Stars: 451 ⭐
- Percentile: Top 100%
- Followers: 66
- Public Repos: 130
## My GitHub Stats

### Current Ranking
- **Rank**: #1
- **Total Stars**: 451 ⭐
- **Percentile**: Top 100%<img
src="https://yourdomain.com/api/badges?username=yourusername"
alt="GitHub Ranking Badge"
height="28"
/>- Make sure the username exists in our database
- Check that the domain is accessible
- Verify the URL format is correct
If you get a "User not found" error:
- Visit our website
- Search for your username
- The user will be automatically added to rankings
For issues or questions about the badges API, please check our documentation or contact support.