Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
36 lines (36 loc) · 4.66 KB
/
Copy pathindex.html
File metadata and controls
36 lines (36 loc) · 4.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Blockchain Lab Open Data API — free blockchain datasets (chains, TVL, stablecoins, yields, L2s, hacks, RPC health, EIPs)</title>
<meta name="description" content="Free static JSON API for blockchain builders: EVM chains & RPCs, DeFi TVL, hackathons, events, 600+ whitepapers, glossary, grants, EIPs/ERCs/BIPs. Rebuilt nightly. Built by Blockchain Lab.">
<link rel="canonical" href="https://blockchains.github.io/blockchainlab-api/">
<meta property="og:title" content="Blockchain Lab Open Data API"><meta property="og:description" content="Free, CORS-enabled blockchain datasets rebuilt nightly from public sources."><meta property="og:image" content="https://blockchains.github.io/blockchainlab-api/social-preview.png">
<style>
:root{--bg:#0b0e14;--fg:#e6e9ef;--mut:#9aa4b2;--acc:#5eead4;--card:#121722;--bd:#1f2633}
*{box-sizing:border-box}body{margin:0;font:15px/1.55 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--fg)}
a{color:var(--acc)}header,main,footer{max-width:1000px;margin:auto;padding:20px}
h1{font-size:30px;margin:.2em 0}.mut{color:var(--mut)}code{background:#0f141d;padding:2px 6px;border-radius:4px}
table{width:100%;border-collapse:collapse}td,th{padding:8px;border-bottom:1px solid var(--bd);text-align:left;vertical-align:top}
.pill{display:inline-block;padding:2px 8px;border:1px solid var(--bd);border-radius:99px;font-size:12px;color:var(--mut)}
pre{background:var(--card);padding:12px;border-radius:8px;overflow:auto}
</style></head><body>
<header><div class="pill">Built by <a href="https://blockchainlab.com/?utm_source=github&utm_medium=open-data-api&utm_campaign=blockchainlab-api">Blockchain Lab — blockchainlab.com</a></div>
<h1>Blockchain Lab Open Data API</h1>
<p class="mut">Static, free, CORS-enabled JSON. No key. Rebuilt nightly by GitHub Actions from public sources — every dataset names its source URL. <a href="openapi.yaml">OpenAPI 3.1 (YAML)</a> · <a href="openapi.json">JSON</a> · <a href="swagger.html">Interactive docs</a> · <a href="https://github.com/Blockchains/blockchainlab-api">GitHub</a></p></header>
<main>
<pre>curl https://blockchains.github.io/blockchainlab-api/v1/index.json
curl https://blockchains.github.io/blockchainlab-api/v1/chains.json | jq '.data[] | select(.chainId==8453)'</pre>
<p id="gen" class="mut"></p>
<table><thead><tr><th>Dataset</th><th>Rows</th><th>Description</th><th>Source</th></tr></thead><tbody id="rows"><tr><td colspan="4">Loading…</td></tr></tbody></table>
<h2>Related</h2>
<ul>
<li><a href="https://blockchains.github.io/blockchainlab-tools/">Blockchain Lab Tools</a> — gas, units, ABI, tx decoder, merkle, storage slots (uses this API)</li>
<li><a href="https://github.com/Blockchains/blockchainlab-sdk">blockchainlab-sdk</a> — typed TypeScript + Python clients for every dataset · <a href="https://github.com/Blockchains/blockchainlab-api/blob/main/CHANGELOG.md">changelog & versioning</a></li>
<li><a href="https://blockchains.github.io/">Blockchain Lab on GitHub — hub & search</a></li>
<li><a href="https://github.com/Blockchains/blockchainlab-mcp">blockchainlab-mcp</a> — MCP server + SDK so AI agents can query these datasets</li>
<li><a href="https://github.com/Blockchains/blockchainlab-feeds">blockchainlab-feeds</a> — upstream hackathon / event / X-intel feeds</li>
<li><a href="https://blockchainlab.com/whitepaper?utm_source=github&utm_medium=open-data-api&utm_campaign=blockchainlab-api">Whitepaper library</a> · <a href="https://blockchainlab.com/learn/glossary?utm_source=github&utm_medium=open-data-api&utm_campaign=blockchainlab-api">Glossary</a> · <a href="https://blockchainlab.com/learn/protocol-atlas?utm_source=github&utm_medium=open-data-api&utm_campaign=blockchainlab-api">Protocol atlas</a></li>
</ul></main>
<footer class="mut">Built by Blockchain Lab — <a href="https://blockchainlab.com/?utm_source=github&utm_medium=open-data-api&utm_campaign=blockchainlab-api">blockchainlab.com</a>. Data belongs to the named sources. Not investment advice.</footer>
<script>
fetch('v1/index.json').then(r=>r.json()).then(j=>{document.getElementById('gen').textContent='Last build: '+j.generated_at+(j.errors.length?' · errors: '+j.errors.map(e=>e.dataset).join(', '):'');
document.getElementById('rows').innerHTML=j.datasets.map(d=>`<tr><td><a href="v1/${d.dataset}.json"><code>${d.dataset}</code></a>${d.stale?' <span class=pill>stale</span>':''} <a href="v1/schemas/${d.dataset}.schema.json" title="JSON Schema">schema</a></td><td>${d.count??''}</td><td>${d.description}</td><td><a href="${d.source_url}">${d.source}</a></td></tr>`).join('')})
</script></body></html>