Developer API · v1

Build on tape

Live markets, vault backing checked against Hyperliquid, quotes with ready-to-sign transactions. Read-only, no key, open CORS.

https://www.tapestocks.com/api/v1
GET /api/v1/vaults/NVDA live response
Loading the live response…
No keyEvery endpoint is a public GET. Cached for a few seconds at the edge.
Checked, not typedBacking is read from the vault on Elysium and from Hyperliquid in the same call.
Your keys stay yoursWrites come back as calldata. You sign them with your own wallet.
Asynchronous fillsA mint is a request. The keeper fills it on Hyperliquid in seconds and the vault settles.

Endpoints

Base URL https://www.tapestocks.com/api/v1. Every response is JSON. Errors come back as { "error": "…" } with a 400, 404 or 502.

GET/markets

Markets

Every stock and index tape tracks: live mark and oracle price, 24h change, funding, open interest, volume, and whether its vault is live.

Try /markets ›
GET/markets/{ticker}

One market

The same fields for one market. Takes the ticker or the token, any case.

ticker
NVDA or eNVDA
Try /markets/eNVDA ›
GET/vaults

Vaults

Every live vault with its backing: tokens out, shares owed, shares held on Hyperliquid (read live), and the ratio between them.

Try /vaults ›
GET/vaults/{ticker}

One vault

On-chain state, the live Hyperliquid position of the vault's own account, the backing ratio, the cap, the room left and the fees.

ticker
NVDA or eNVDA
Try /vaults/NVDA ›
GET/quote

Quote and transactions

Prices a mint or a redemption and returns the transactions to sign, in order, as {to, data, value, chainId}. With from, it skips an approval you already gave and warns about balances.

ticker
NVDA or eNVDA
side
mint (amount in USDC) or redeem (amount in tokens)
amount
a positive number
from
optional, the wallet that will sign
Try /quote?ticker=NVDA&side=mint&amount=50 ›

Read the backing

One call tells you whether every token is covered, and by what.

check-backing.ts
const v = await fetch("https://www.tapestocks.com/api/v1/vaults/NVDA").then((r) => r.json());

console.log(v.backing.ratio);        // 1.0000 when fully backed
console.log(v.hyperliquid.live);     // the vault account, read from Hyperliquid
console.log(v.limits.roomUsdc);      // what can still be minted under the cap

Mint from a bot

Ask for a quote, sign what comes back, in order.

mint.ts
import { createWalletClient, http } from "viem";

const q = await fetch(
  "https://www.tapestocks.com/api/v1/quote?ticker=NVDA&side=mint&amount=50&from=" + account.address,
).then((r) => r.json());

if (q.warnings.length) throw new Error(q.warnings.join("; "));

for (const tx of q.transactions) {
  // approve USDC if needed, then requestMint
  const hash = await wallet.sendTransaction({ to: tx.to, data: tx.data, chain: elysium });
  await client.waitForTransactionReceipt({ hash });
}
// the keeper fills on Hyperliquid within seconds: watch balanceOf(account)

Contracts

On Elysium mainnet, sources verified on the explorer. A vault is also its token (ERC-20, 18 decimals).

Chain Elysium · chain id 99901
RPC https://rpc.elysium.kinetiq.xyz
eNVDA (vault and token) 0x9dAe1f59AA4A4b2352D7EA26e6d19455a380Eb82
CoreRelay 0xF172c872434baFF82EcB00D22c8B89a2F2ed76Dd
USDC 0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65

The calls that matter

  • requestMint(uint256 usdc, uint256 maxPx) takes USDC (6 decimals) and the worst price you accept (18 decimals).
  • requestRedeem(uint256 tokens, uint256 minPx) locks tokens and sells the matching shares.
  • claim() pays USDC owed from a redemption when the buffer was short.
  • reserves() returns supply, shares per token, price, equity, the Hyperliquid account, its value and position, buffer, owed and in-transit USDC in one read.

Limits: Hyperliquid refuses orders under $10, so a mint starts at 11 USDC (more on markets with large lots). Each vault is capped while the contracts wait for an audit; limits.roomUsdc says how much is left. tape tokens follow perpetuals on Hyperliquid; they are not shares and are not available to US persons.