Skip to content

Feed Catalog API

The Feed Catalog API returns every supported asset with its exact feedId string and keccak256 hash — the value you must pass to createMarketAndBet on-chain.

GET https://quasdaq.com/api/feeds
ParameterTypeDescription
categorystringFilter by category: crypto, commodities, forex, stocks, indices
storkOnlyboolSet to true to only return feeds with a live Stork Oracle subscription
{
"feeds": [
{
"symbol": "BTC",
"name": "Bitcoin",
"feedId": "BTCUSD",
"feedIdHash": "0x...64-char-hex...",
"category": "Crypto",
"iconUrl": "https://...",
"icon": "",
"hasStorkFeed": true
}
],
"count": 65
}
FieldDescription
feedIdThe human-readable asset pair string (e.g. "BTCUSD"). Case-sensitive.
feedIdHashkeccak256(toUtf8Bytes(feedId)) — pass this as bytes32 to the contract.
hasStorkFeedWhether this feed has a live Stork Oracle subscription for resolution.
categoryDisplay category: Crypto, Equities, Forex, Commodities.
Terminal window
curl https://quasdaq.com/api/feeds
Terminal window
curl "https://quasdaq.com/api/feeds?category=crypto&storkOnly=true"
const res = await fetch("https://quasdaq.com/api/feeds?storkOnly=true");
const { feeds } = await res.json();
// Find a specific asset
const btc = feeds.find(f => f.symbol === "BTC");
console.log(btc.feedId); // "BTCUSD"
console.log(btc.feedIdHash); // "0x..." — use this for createMarketAndBet

Responses include Cache-Control: public, max-age=3600 and Access-Control-Allow-Origin: *. The feed catalog changes infrequently — safe to cache for an hour.