API upgrade
Upgrade to the ETHBEAT API
ETHBEAT data now comes from a documented API. Every endpoint is described in an OpenAPI 3.1 schema, with Swagger docs where you can try each request in the browser. It replaces the undocumented JSON endpoints under
https://ethbeat.org/api/scaling/.What you get
- Documented end to endSwagger docs list every endpoint, parameter and response field. Try a request without writing code.
- An OpenAPI 3.1 schemaGenerate a typed client, or check your own against it, from
https://api.ethbeat.org/openapi. - Named fieldsChart points are objects with named fields, where the old API returned bare arrays of numbers.
- Real HTTP errors
404for an unknown project and400for a bad parameter, each with a message. The old API answered200for an unknown project, with the error inside the body. - More dataEvery project ETHBEAT tracks, not only layer 2s and layer 3s. Also project contracts, the TVS history of a single token, TVS split by asset category, and interop protocols and chains.
- Open to everyoneNo API key and no sign-up. Requests are rate limited: over the limit the answer is
429.
Action needed
You have to migrate
- Old API stops
- 15 December 2026
- 00:00 UTC. After that it answers
410 Gone - New API
- api.ethbeat.org
- One host for every endpoint
- Redirects
- None
- Old paths do not forward to new ones
The upgrade is not a drop-in replacement. The new API names projects by id where the old one used slugs, and its responses have a different shape, so a client has to be changed by hand. This page lists what to change for each endpoint.
Until the sunset, every old response carries three headers:
Deprecation (when the API was deprecated), Sunset (when it stops) and Link (this page and the new API).Scheduled test outages
In the week before the sunset the old API is switched off for short windows, twice a day, so that nobody learns about the sunset only when it happens. During a window every old endpoint answers
410 Gone with a JSON body that says when the window ends. Outside the windows it works as usual.The windows are 15 minutes long on the first three days and an hour long on the last four. They move from day to day, so a job that runs at a fixed hour is not always spared.
| Day (UTC) | First window | Second window |
|---|---|---|
| Tue 8 December | 00:00–00:15 | 12:00–12:15 |
| Wed 9 December | 05:00–05:15 | 17:00–17:15 |
| Thu 10 December | 10:00–10:15 | 22:00–22:15 |
| Fri 11 December | 03:00–04:00 | 15:00–16:00 |
| Sat 12 December | 08:00–09:00 | 20:00–21:00 |
| Sun 13 December | 01:00–02:00 | 13:00–14:00 |
| Mon 14 December | 06:00–07:00 | 18:00–19:00 |
Old and new endpoints
| Endpoint | Old | New |
|---|---|---|
| Scaling summary | /api/scaling/summary | /v1/projects |
| Scaling TVS | /api/scaling/tvs | /v1/tvs |
| Project TVS | /api/scaling/tvs/{slug} | /v1/tvs/{projectId} |
| Project TVS breakdown | /api/scaling/tvs/{slug}/breakdown | /v1/project/{projectId}/tokens |
| Scaling activity | /api/scaling/activity | /v1/activity |
| Project activity | /api/scaling/activity/{slug} | /v1/activity/{projectId} |
Project ids replace slugs
The old API took a project slug, the last part of a project page URL. The new API takes a project id. For most projects the two are the same, but not for all.
To look ids up, call
https://api.ethbeat.org/v1/projects. Each entry has both id and slug. Find the entry by the slug you use today and keep its id. An unknown id gets 404.| Project | Slug | Id |
|---|---|---|
| Arbitrum One | arbitrum | arbitrum |
| OP Mainnet | op-mainnet | optimism |
| ZKsync Era | zksync-era | zksync2 |
What changes for every endpoint
- No wrapperThe old API answered
{ "success": true, "data": ... }, except for/summary, which was never wrapped. The new API returns the data itself: an array or an object. - Errors use HTTP status codesFor an unknown project the old API answered
200with{ "success": false, "error": "..." }. The new API answers404with{ "message": "..." }. The chart endpoints also answer404for a project that exists but has no data of the kind asked for, and the message says which;/v1/project/{projectId}/tokensanswers[]instead. A bad parameter is a400in both, but its text moved fromerrortomessage. - Chart points are objectsThe old charts were arrays of numbers, explained by a
typesarray beside them. The new charts are arrays of objects with named fields. - Missing data is left outThe old charts held a row for every timestamp and filled the ones without data with
null. The new charts have no point there. Read each point by itstimestampand do not assume even spacing. - An empty chart is
[]The old API answered"Missing data."in that case.
Endpoint
Scaling summary
Old
/api/scaling/summaryNew/v1/projectsTry it: https://api.ethbeat.org/v1/projects
The old
projects was an object keyed by project id, holding active layer 2s and layer 3s only, sorted by TVS. The new response is an array of every project ETHBEAT tracks, archived ones, bridges and other kinds included, in no guaranteed order. To get the old set, keep the entries that have a layer field and isArchived: false. Passing isArchived=false leaves archived projects out for you.Fields of one project
| Old | New | Notes |
|---|---|---|
id, name, shortName, slug, hostChain, purposes, stage, isArchived, isUnderReview | Unchanged | Same name, same value. |
type | layer | "layer2" or "layer3". |
category | type | E.g. "Optimistic Rollup". Watch out: the new API also has a category field, which means something else (the category of a bridge). |
providers | stacks | |
badges | badges | Was an array of objects with id, type, name, description and action. Now an array of the badge names. |
risks | risks | The same five risks in the same order, each with name, value, sentiment, description and warning. The Exit Window risk keeps its regular field. |
tvs.breakdown | tvs.breakdown | total, ether, stablecoin, associated: same name, same value. Both leave out restricted RWA tokens. A project with no TVS data had a breakdown of zeros; it now has tvs: null: unknown, not zero. |
tvs.change7d | tvs.change7d | Still a fraction ( 0.05 is +5%). The old API gave 0 when it could not compute the change; the new one gives null. A fall to zero is now -1, where the old API gave 0. |
tvs.associatedTokens | associatedTokens | Was objects with symbol and icon, inside tvs. Now a top-level array of symbols. |
| New | tvs.timestamp | The hour the TVS values come from. |
chart | Gone | The 30-day chart. It held 30 days of TVS summed over all layer 2s and layer 3s, and the new API has no chart of that sum. The nearest is /v1/tvs?range=30d&excludeRwaRestrictedTokens=true, but it sums every project with TVS data, so its numbers are different. |
Endpoint
Scaling TVS
Old
/api/scaling/tvsNew/v1/tvsTry it: https://api.ethbeat.org/v1/tvs
Fields
| Old | New | Notes |
|---|---|---|
[timestamp, native, canonical, external, ethPrice] | { timestamp, totalTvs, bySource: { native, canonical, external }, byCategory: { ... }, ethPrice } | One chart point. byCategory is new: the same total split into stablecoins, eth, btc, other, publicRwa and restrictedRwa. ethPrice can be null when the price is unknown. |
usdValue | Gone | It was native + canonical + external of the last point that had data. Read totalTvs of the last point. |
ethValue | Gone | It was usdValue divided by the ethPrice of the same point. Divide totalTvs by ethPrice of the last point. When that ethPrice is null, the value in ETH is unknown: do not divide. |
chart.syncedUntil | Gone | It is the timestamp of the last point. |
Differences in the numbers
- It sums more projectsThe old endpoint summed active layer 2s and layer 3s by default. The new one sums every active project with TVS data, which includes projects ETHBEAT does not list under scaling. The total is higher and there is no parameter to narrow it.
typeandprojectIdsare goneThere is no chart for rollups only, or for a list of projects. For one project use/v1/tvs/{projectId}. Adding up the charts of several projects is not the same as the old sum: a sum of many projects counts a token bridged from one of them to another once, and each project chart counts it for its own project.- Restricted RWA tokens are counted by defaultIn the old API
excludeRwaRestrictedTokensdefaulted totrue. In the new one it defaults tofalse. PassexcludeRwaRestrictedTokens=trueto leave them out, as the old API did by default. - Parameters
excludeAssociatedTokensworks as before and still defaults tofalse. Both parameters now taketrueorfalse; another word is a400.rangetakes the same values (7d,30d,90d,180d,1y,max) and still defaults to30d. Points are spaced as before: hourly for7d, every six hours for30dand90d, daily for the rest. - Timestamps with no data are skippedThe old chart had a row of
nulls for them, and ran on to the present withnullrows when the data was behind. The new chart ends at its last point with data. - The first and last points differThe old chart started at midnight UTC, the given number of days before the day it ended. The new chart counts the days back from its end hour and starts at the next point of its grid, so it can have up to a day of points fewer at the start. The old chart could also end with one extra point off the grid, which the new one does not have. Match points by
timestampbefore comparing values.
Endpoint
Project TVS
Old
/api/scaling/tvs/{slug}New/v1/tvs/{projectId}Try it: https://api.ethbeat.org/v1/tvs/arbitrum
Fields
| Old | New | Notes |
|---|---|---|
[timestamp, native, canonical, external, ethPrice] | { timestamp, totalTvs, bySource: { native, canonical, external }, byCategory: { ... }, ethPrice } | One chart point. byCategory is new: the same total split into stablecoins, eth, btc, other, publicRwa and restrictedRwa. ethPrice can be null when the price is unknown. |
usdValue | Gone | It was native + canonical + external of the last point that had data. Read totalTvs of the last point. |
ethValue | Gone | It was usdValue divided by the ethPrice of the same point. Divide totalTvs by ethPrice of the last point. When that ethPrice is null, the value in ETH is unknown: do not divide. |
Differences in the numbers
- Restricted RWA tokens are counted by defaultIn the old API
excludeRwaRestrictedTokensdefaulted totrue. In the new one it defaults tofalse. PassexcludeRwaRestrictedTokens=trueto leave them out, as the old API did by default. - Parameters
excludeAssociatedTokensworks as before and still defaults tofalse. Both parameters now taketrueorfalse; another word is a400.rangetakes the same values (7d,30d,90d,180d,1y,max) and still defaults to30d. Points are spaced as before: hourly for7d, every six hours for30dand90d, daily for the rest. - Timestamps with no data are skippedThe old chart had a row of
nulls for them, and ran on to the present withnullrows when the data was behind. The new chart ends at its last point with data. - The first and last points differThe old chart started at midnight UTC, the given number of days before the day it ended. The new chart counts the days back from its end hour and starts at the next point of its grid, so it can have up to a day of points fewer at the start. The old chart could also end with one extra point off the grid, which the new one does not have. Match points by
timestampbefore comparing values. - More projects answerThe old endpoint knew only layer 2s and layer 3s. The new one answers for any project with TVS data.
- Archived projectsA project archived more than 30 days ago has no points in the default range, so the answer is
[]. Passrange=maxto get its history.
Endpoint
Project TVS breakdown
Old
/api/scaling/tvs/{slug}/breakdownNew/v1/project/{projectId}/tokensTry it: https://api.ethbeat.org/v1/project/arbitrum/tokens
The docs mark this endpoint as one that may still change. The answer is still one entry per token with a synced value, sorted by its USD value for the project, largest first.
Fields of one token
| Old | New | Notes |
|---|---|---|
id | tokenId | |
name, symbol, amount, category, isAssociated | Unchanged | Same name, same value. |
valueForProject.value | valueUsd | |
priceUsd.value | priceUsd | A plain number. |
source | source | The old value "custom-canonical" is now reported as "canonical". "canonical", "external" and "native" are unchanged. |
isGasToken | isGasToken | Always present now. The old API left it out for some projects. |
address | addresses | Was one address, or the text "multiple". Now an array of { address, chain }, empty when the amount comes from a native balance or a fixed value. |
syncStatus | timestamp | Was a sentence, present only when the token was behind. Now the hour the values come from, always present. |
bridgedUsing | bridgedUsing | null when there is none. The old API left the field out. |
valueForProject.change, priceUsd.change, value, formula, iconUrl, filterable | Gone | No replacement. The two change fields were seven-day changes; value was the value before the project-specific rules that avoid double counting. |
Differences in the numbers
- A project without TVS dataA project that exists but has no TVS data answers
[]. The old API answered"Project not found.".
Endpoint
Scaling activity
Old
/api/scaling/activityNew/v1/activityTry it: https://api.ethbeat.org/v1/activity
Fields
| Old | New | Notes |
|---|---|---|
[timestamp, count, uopsCount] | { timestamp, txCount, uopsCount } | One chart point. count is renamed to txCount. |
Differences in the numbers
- Archived projects are left outThe old default (
type=all) summed every layer 2 and layer 3 with activity data, archived ones included. The new endpoint sums only active ones, so past days can be lower. typeandprojectIdsare goneThere is no chart for rollups only, or for a list of projects. Use/v1/activity/{projectId}for each project and add the counts up.- The chart ends at the last synced dayThe old chart ran to the last full day our activity data as a whole had reached, and gave
nullfor days it had no records for. The new chart stops at the last day that is synced for at least one project, and a synced day without records is0. A project that lags behind adds nothing to the newest days, or only part of its count for the day it is syncing. - Parameters
rangetakes the same values (30d,90d,180d,1y,max) and still defaults to30d. There is one point per day, as before. The first day can differ from the old one: the new chart starts at the first day in the range that has any transactions.
Endpoint
Project activity
Old
/api/scaling/activity/{slug}New/v1/activity/{projectId}Try it: https://api.ethbeat.org/v1/activity/arbitrum
Ethereum is still available: the old slug
ethereum is the id ethereum, so use https://api.ethbeat.org/v1/activity/ethereum.Fields
| Old | New | Notes |
|---|---|---|
[timestamp, count, uopsCount] | { timestamp, txCount, uopsCount } | One chart point. count is renamed to txCount. |
Differences in the numbers
- The chart ends at the last synced dayThe old chart ran to the last full day our activity data as a whole had reached, and gave
nullfor the days after the project was last synced. The new chart leaves those days out. Do not read a missing day as zero. - A project that was never syncedIt answers
[]. The old API answered"Missing data.". - Parameters
rangetakes the same values (30d,90d,180d,1y,max) and still defaults to30d. There is one point per day, as before. The first day can differ from the old one: the new chart starts at the first day in the range that has any transactions.