DevelopersDetails
HomeSearchDiscoverAIWallet
STRATA Developers

Build for the onchain browser

Extensions, mini apps, AI agents, wallet tools and data widgets for STRATA — test them in the browser and publish to the STRATA Store.

OverviewMy projectsCreateAPI keysDocumentationAnalyticsSubmissionsDeveloper profile
STRATA APIAPI keysBrowser extensionsWallet accessMini appsAI agentsData widgetsPublishing

STRATA API

JSON over HTTPS. The public endpoints work without a key; responses from live data include where the data came from so you can show it.

GET/api/search?q=Universal search: tokens, wallets, apps, protocols, news (with intent)
GET/open?q=Resolve a ticker, address or signature and redirect to its page
GET/api/tokens?list=trending|top_traded|new|gainers|losersToken lists
GET/api/tokens/{mint}Token market data: price, market cap, volume, liquidity, holders
GET/api/tokens/{mint}/history?range=1D|7D|30D|90D|1YPrice history
GET/api/tokens/{mint}/holdersTop holders
GET/api/wallets/{address}Portfolio from onchain balances
GET/api/wallets/{address}/activityRecent transactions, explained
GET/api/wallets/{address}/pnl7d / 30d / all-time trading PnL
GET/api/account/{address}What an address is: wallet, token mint, program…
GET/api/tx/{signature}Plain-English transaction explanation
GET/api/security?q=Risk indicators for a mint, wallet, program or website
POST/api/security/txDecode and simulate a transaction before signing
GET/api/appsApp registry with live usage metrics
GET/api/defiProtocols, yields and DEX volume
GET/api/newsSolana news with sources
GET/api/networkSlot, TPS and priority fees
POST/api/ai/askSTRATA AI, one response: { prompt, wallet? }
POST/api/ai/chatSTRATA AI, streamed (NDJSON events)
curl "https://solos-rho.vercel.app/api/tokens/JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN" \
  -H "x-strata-key: $STRATA_API_KEY"

API keys

Create keys under API keys. Send one as x-strata-key or Authorization: Bearer strata_live_…. Requests with a key count toward your Analytics; a revoked or wrong key gets 401. Keep keys on your server or in an extension's background worker, not in page code.

Browser extensions

STRATA runs Chrome extensions (Manifest V3): toolbar popups, background service workers, content scripts, chrome.storage, chrome.tabs, chrome.windows, chrome.identity.launchWebAuthFlow and chrome.sidePanel. Anything on the Chrome Web Store installs in one click.

  1. Create a project (Create → Browser extension) and unzip the starter.
  2. In the STRATA desktop app: ⋮ → Developer → turn on Developer mode, then Load unpacked extension… and pick the folder.
  3. Your extension appears under the puzzle-piece button. Pin it to the toolbar. Use Reload on My projects after editing.

Each STRATA profile (Main Wallet, Trading, Burner…) has its own extensions and storage, so you can test with a burner wallet without touching your main one.

Wallet access

Wallet extensions (Phantom, Solflare, Backpack) inject their providers into pages as in Chrome: window.phantom.solana, window.solflare, window.backpack, and the Wallet Standard. Use the standard wallet adapter in mini apps. Never ask users for recovery phrases; STRATA flags pages that do.

const provider = window.phantom?.solana ?? window.solflare;
const { publicKey } = await provider.connect();
const portfolio = await fetch(`https://solos-rho.vercel.app/api/wallets/${publicKey}`).then((r) => r.json());

Mini apps

Mini apps are ordinary web apps that open in a STRATA tab, split view or a saved tab group. Keep them fast and mobile-friendly: the STRATA phone app opens them too, and connects wallets through Mobile Wallet Adapter.

AI agents

An agent is a set of instructions plus STRATA AI's tools (token data, wallet portfolio and activity, transaction explainer, security checks, search). Call it with POST /api/ai/ask:

curl -X POST https://solos-rho.vercel.app/api/ai/ask -H "content-type: application/json" \
  -d '{"prompt":"You summarize whale buys. Analyze wallet 5Q544f…"}'

Data widgets

Widgets are small cards in the STRATA workspace, loaded in a sandboxed frame from your entry URL and described by a strata.json manifest. They ask for permissions the user approves on install:

searchSearch the STRATA index
wallet:readSee your connected wallet address and balances
tokens:readRead token prices and metadata
portfolio:readRead your portfolio
prefs:readRead its own settings
prefs:writeSave its own settings
notificationsSend you notifications
aiAsk STRATA AI questions
programs:readRead on-chain accounts
network:readRead Solana network status
news:readRead news headlines
defi:readRead DeFi protocols and yields

Publishing to the STRATA Store

Submit a project from Submissions with notes for reviewers and a source link. Reviews check the permissions you ask for, wallet access, network requests and what the code does. You'll see the status (In review, Changes requested, Published) on your dashboard.