quickstart-studio-sdk
Quickstart: Studio SDK
Use algo-dsl to build the same search-and-hydration algorithms that Console generates.
Install
npm install algo-dslCreate a feed algorithm
import { StudioV1 } from "algo-dsl";
export default async function algo({ apiKey }) {
const mbd = new StudioV1({ apiKey });
return mbd
.search()
.index("polymarket-items")
.include()
.numeric("volume_24hr", 1000)
.notNull("question")
.sortBy("volume_24hr", "desc")
.size(25)
.execute();
}This matches the current Console builder flow:
- Search a supported index.
- Hydrate the rows with
.include(). - Return output for preview, feed configs, or notification configs.
There is no separate feature, scoring, or ranking step in the current Console builder.
Create a notification algorithm
import { StudioV1 } from "algo-dsl";
export default async function notificationAlgo({ apiKey }) {
const mbd = new StudioV1({ apiKey });
return mbd
.search()
.index("dex-notifications")
.include()
.inAppUsers("wallet_address")
.notNull("user_id")
.sortBy("timestamp", "desc")
.size(50)
.execute();
}Supported index names
Use the index names shown in Console's algo dropdown:
polymarket-tradespolymarket-itemshyperliquid-tradesbase-tradesethereum-tradessolana-tradestoken-itemshyperliquid-itemshyperliquid-notificationsdex-notificationspolymarket-notificationskalshi-notificationswallet-usershyperliquid-walletspolymarket-wallets
See Supported Indices for details.
Next steps
- Save and test algorithms in Console.
- Attach feed algorithms to Feed Configs.
- Attach notification algorithms to Notifications.

