/v1/history
Bundle size across versions
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/bundlephobia-api/v1/history" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bundlephobia-api/v1/history", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bundlephobia-api/v1/history");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/bundlephobia-api/v1/history",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"count": 245,
"history": [
{
"gzip_kb": null,
"size_kb": null,
"version": "0.14.0"
},
{
"gzip_kb": null,
"size_kb": null,
"version": "0.14.1"
},
{
"gzip_kb": null,
"size_kb": null,
"version": "1.0.0"
},
{
"gzip_kb": null,
"size_kb": null,
"version": "1.0.1"
},
{
"gzip_kb": null,
"size_kb": null,
"version": "1.0.2"
},
{
"gzip_kb": null,
"size_kb": null,
"version": "1.0.3"
},
{
"gzip_kb": null,
"size_kb": null,
"version": "1.0.4"
},
{
"gzip_kb": null,
"size_kb": null,
"version": "1.0.5"
},
{
"gzip_kb": null,
"size_kb": null,
"version": "1.0.6"
},
{
"gzip_kb": null,
"size_kb": null,
"version": "1.0.7"
},
{
"gzip_kb": null,
"size_kb": null,
"version": "1.0.8"
},
{
"gzip_kb": null,
"size_kb": null,
"version": "2.0.0"
},
{
"gzip_kb": null,
"size_kb": null,
"version": "2.1.0"
},
{
"gzip_kb": null,
"size_kb": null,
"version": "2.1.1"
},
{
"gzip_kb": null,
"size_kb": null,
"version": "2.2.0"
},
{
"gzip_kb": null,
"size_kb": null,
"version": "2.2.1"
},
{
"gzip_kb": null,
"size_kb": null,
"version": "2.2.2"
},
{
"gzip_kb": null,
"size_kb": null,
"version": "2.3.0"
},
{
"gzip_kb": null,
"size_kb": null,
"version": "2.3.1"
},
{
"gzip_kb": null,
"size_kb": null,
"version": "2.3.2"
},
{
"gzip_kb": null,
"size_kb": null,
"version": "2.3.3"
},
{
"gzip_kb": null,
"size_kb": null,
"version": "2.3.4"
},
{
"gzip_kb": null,
"size_kb": null,
…