Integrate EcoPulse into your applications. Analyze websites, track carbon footprint, and build sustainable web experiences.
https://ecopulse.dev/apiapplication/json10 requests per minute per IP
/api/analyzeAnalyze a website's environmental impact and get detailed metrics
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | Required | The URL of the website to analyze (must include http:// or https://) |
| Field | Type | Description |
|---|---|---|
| url | string | The analyzed URL |
| ecoScore | number | Overall eco score (0-100) |
| carbonEmissions | number | Estimated carbon emissions in grams per page view |
| energyConsumption | number | Estimated energy consumption in Wh |
| waterUsage | number | Estimated water usage in liters |
| resources | object | Breakdown of resources by type |
| suggestions | array | List of optimization suggestions |
| pageWeight | number | Total page weight in bytes |
{
"url": "https://example.com"
}{
"url": "https://example.com",
"ecoScore": 75,
"carbonEmissions": 0.45,
"energyConsumption": 0.12,
"waterUsage": 0.18,
"resources": {
"html": { "count": 1, "size": 15234 },
"css": { "count": 3, "size": 45678 },
"javascript": { "count": 5, "size": 234567 },
"images": { "count": 8, "size": 456789 },
"fonts": { "count": 2, "size": 89012 },
"other": { "count": 1, "size": 1234 }
},
"suggestions": [
{
"type": "images",
"priority": "high",
"message": "Consider using WebP format...",
"impact": "Could reduce emissions by 30%"
}
],
"pageWeight": 842514
}