API Overview
The DevRadar Public API provides programmatic access to technology compatibility data, project scanning, and badge generation.Base URL
v1 API version. Future versions will be announced with backward compatibility considerations.
Authentication
Most endpoints are public and do not require authentication:POST /check- Public, rate-limitedGET /badge- Public, rate-limitedPOST /scan- Public, rate-limited
Response Format
All successful responses include aversion field:
Available Endpoints
| Endpoint | Method | Description |
|---|---|---|
/check | POST | Verify compatibility of two technologies |
/scan | POST | Analyze package.json for compatibility issues |
/badge | GET | Generate SVG compatibility badge |
Quick Start
Check Compatibility
Scan Project
Get Badge
Rate Limiting
All endpoints are rate-limited to ensure fair usage:| Endpoint | Limit | Window |
|---|---|---|
POST /check | 60 requests | 1 minute |
POST /scan | 10 requests | 1 minute |
GET /badge | 120 requests | 1 minute |
CORS
The API supports CORS for browser-based requests:Status Codes
| Code | Meaning |
|---|---|
200 | Success |
400 | Invalid input |
429 | Rate limit exceeded |
500 | Internal error |
Error Codes
| Code | Description |
|---|---|
INVALID_INPUT | Request validation failed |
RATE_LIMIT_EXCEEDED | Rate limit reached |
INTERNAL_ERROR | Server error occurred |
NOT_FOUND | Resource not found |
Technology Name Format
Use lowercase, simplified names:| Preferred | Also Recognized |
|---|---|
nextjs | next.js, next-js |
react | reactjs |
prisma | prisma-orm |
postgresql | postgres, pg |
SDKs
Official SDKs are coming soon:- JavaScript/TypeScript
- Python
- Go
What’s Next
- Check Endpoint - Compatibility verification
- Scan Endpoint - Project scanning
- Badge Endpoint - Badge generation
- Rate Limits - Usage limits
Ready to integrate? Check Endpoint Reference →