Elysium CityBack to the city

Developer API

Free, read-only JSON. No key needed. CORS is open, so you can call it from a browser.

Base URL https://elysiumcity.io. Please cache on your side and keep it under one request per second per endpoint. Times are Unix milliseconds (UTC). Addresses are lowercase.

Quick start

const r = await fetch('https://elysiumcity.io/api/feed');
const { items } = await r.json();
items.slice(0, 5).forEach(e => console.log(e.text));

Endpoints

GET/api/chain

Live Elysium stats: latest block, block time, transactions per second and gas price. Cached about 10 seconds.

{"chainId":99901,"block":16413856,"blockMs":103.3,"tps":48.4,"gasGwei":0.5,"t":1796320636923}
GET/api/feed

Latest city events: deploys, bounties, submissions, payouts, vault listings, share buys and revenue. Add ?w=<address> for one wallet.

{"t":1796320636259,"items":[{"ts":1796320000000,"k":"deploy","w":"0x…","a":"0x…","text":"deployed a token City Coin (CITY)"}]}
GET/api/builders

Top builders ranked by badges and on-chain activity. Cached 2 minutes.

{"t":1796320636556,"total":11,"builders":[{"w":"0x…","badges":["first-deploy"],"score":42,"stats":{}}]}
GET/api/quests?w=<address>

This week's three quests (UTC weeks starting Monday) and the weeks the wallet completed.

{"week":{"n":1,"start":1795996800000,"end":1796601600000,"quests":[{"id":"post","title":"Post a bounty, grant or prize","done":false}]},"completed":[]}
GET/api/oc?kind=studio|bounty|vault

Contracts made in the city: Workshop deploys, Guild bounties and Exchange vaults. Each one is checked against its deploy transaction.

{"items":[{"a":"0x…","t":"token","from":"0x…","ts":1796320000000,"meta":{"title":"City Coin"}}]}
GET/api/oc?kind=sub&b=<bounty>

Work submitted to one bounty.

{"items":[{"wallet":"0x…","url":"https://…","ts":1796320000000}]}
GET/api/pool?a=<uniswap v3 pool>

Recent swap prices for a Uniswap v3 pool on Elysium (sqrtPriceX96 with timestamps), used for token charts.

{"points":[{"ts":1796315209000,"p":"0x…"}]}
GET/api/registry

Projects placed on city plots and claims under review.

{"projects":{},"claims":{}}
GET/api/link

Approved links between downtown buildings and their main Elysium contracts.

{"links":{"uniswap":"0x…"}}
GET/api/vault?a=<vault>

Revenue paid into an Exchange vault over time (amounts in wei).

{"since":1796320000000,"points":[{"ts":1796330000000,"amt":"2000000000000000000"}]}
GET/api/oc?kind=rate&w=<address>

A builder's reputation: ratings left by bounty sponsors after paying them, with the average.

{"ratings":[{"bounty":"0x…","stars":5,"note":"Great work"}],"avg":5,"count":1}
GET/api/event

The current city event (for example a Builder Week), or null.

{"event":{"title":"Builder Week","prize":"500 HYPE","start":1796500000000,"end":1797100000000}}
GET/api/health

Latest health check and the last 48 hours of results.

{"last":{"t":1796320000000,"ok":true,"checks":[{"name":"Elysium RPC","ok":true,"ms":180}]},"uptime24h":100}
GET/api/og?p=<slug> · ?w=<address>

1200×630 PNG share card for a building or a wallet.

(image/png)

Embed cards

Put a live card for your project or builder profile on your own site:

<iframe src="https://elysiumcity.io/embed/p/<slug>" width="100%" height="120" style="border:0;max-width:440px" loading="lazy" title="Elysium City"></iframe>

Use /embed/w/<address> for a builder, and add ?theme=light for light pages. The ready-made code is in each project and profile panel under "Add to your website".

Links you can share

Contracts

The Workshop templates (token, NFT, staking pool, bounty escrow, revenue vault) are open source. See Contracts and safety in the city. Service status is on /status.