The agent-native data plane for Stacks
Pull with Streams, index with Subgraphs, push with Subscriptions, and query Foundation Datasets directly — all behind one auth and one REST surface.
Pick your surface
01DatasetsCurated, public-good tables with stable APIs and parquet exports.GET /v1/datasets02IndexQuery decoded blocks, transactions, and events through one endpoint.GET /v1/index/events03SubgraphsDefine app-specific materialized tables from contract events.POST /api/subgraphs04SubscriptionsPush matched rows to your webhook as signed POSTs.POST → your webhook05StreamsThe raw chain-event firehose — cursor-paginated and replayable.GET /v1/streams
Get started
One global binary — works with bun, npm, or pnpm.
$bun add -g @secondlayer/cli