← Back to Updates
Saturday, Jan 4 at 2:00 PM v4.0.0

🚀 API Integration Update

📢 What's New

🔑
Token-based API authentication system for secure access
📊
Comprehensive analytics endpoints with detailed visit statistics
Rate limiting for fair API usage (100 requests/hour per token)

🛠️ Key Features

📈
Detailed analytics including:
• Browser statistics with usage percentages(Through API and Link Analytics)
• Platform distribution data(Through API and Link Analytics)
• Device type analysis(Through API and Link Analytics)
• Total visits and click tracking(Through API and Link Analytics)
🔐
Token Management:
• Create multiple API tokens(Through API and Account Dashboard)
• View token creation dates(Through only Account Dashboard)
• Delete unused tokens(Through only Account Dashboard)
🔄
RESTful Endpoints:
/api/token/{token}/links
/api/token/{token}/links/{short_code}
/api/token/{token}/links/total
/api/token/{token}/links/latest
/api/token/{token}/links/clicks

💡 Implementation Examples

🐍
Python Example:
python3 -c "import requests; token='your_api_token'; url=f'https://linkrun.xyz/api/token/{token}/create-token'; response=requests.post(url); print(response.json())"
📜
JavaScript Example:
node -e "const https = require('https'); const token = 'your_api_token'; const url = `https://linkrun.xyz/api/token/${token}/create-token`; https.request(url, { method: 'POST' }, res => { let data = ''; res.on('data', chunk => data += chunk); res.on('end', () => console.log(JSON.parse(data))); }).on('error', console.error).end();"

🎯 Coming Soon

📱
Mobile SDK for easier integration with mobile apps
📦
Official API client libraries for popular programming languages

📚 Documentation

📖
Complete API documentation is available at:

🤔 Need Help?

💬
Questions about the API? Reach out via Discord (Discord.LinkRun.xyz) or email at mcboss120@gmail.com