Back to APIs list

US Congress Stock Trading API examples & templates

Use these vals as a playground to view and fork US Congress Stock Trading API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
kalshi
lucaskohorst
kalshi
An interactive, runnable TypeScript val by lucaskohorst
HTTP
kalshi
adjacent
kalshi
Remix of: lucaskohorst/kalshi
HTTP
rationalCoralGull
lucaskohorst
rationalCoralGull
Remix of: adjacent/kalshi
HTTP
cryptoVolumeTraderAdvice
Sabji
cryptoVolumeTraderAdvice
@jsxImportSource https://esm.sh/react@18.2.0
HTTP
stockPrice
stevekrouse
stockPrice
Current Stock Price This val was designed to be used in Google Sheets, particularly because Google Finance stopped supporting Spotify inexplicably. Usage Copy and paste this into Google Sheets: =IMPORTDATA(CONCATENATE("https://stevekrouse-stockprice.web.val.run/?simple=1&symbol=","SPOT")) Replace "SPOT" with the symbol you want API This val currently uses Alpha Vantage's free plan (5 requests per minute & 500 per day). You can sign up for your own API Key here: https://www.alphavantage.co/support/#api-key
HTTP
planetScaleInsertStockTable
vtdocs
planetScaleInsertStockTable
Part of the PlanetScale page on docs.val.town .
RPC (deprecated)
slackScout
sarahxc
slackScout
Slack scout sends a slack notification every time your keywords are mentioned on Twitter, Hacker News, or Reddit. Get notified whenever you, your company, or topics of interest are mentioned online. Built with Browserbase . Inspired by f5bot.com . Full code tutorial . Getting Started To run Slack Scout, you’ll need a Browserbase API key Slack Webhook URL: setup here Twitter Developer API key Browserbase Browserbase is a developer platform to run, manage, and monitor headless browsers at scale. We’ll use Browserbase to navigate to, and scrape our different news sources. We’ll also use Browserbase’s Proxies to ensure we simulate authentic user interactions across multiple browser sessions . Get started with Browserbase for free here . Twitter We’ve decided to use the Twitter API to include Twitter post results. It costs $100 / month to have a Basic Twitter Developer account. If you decide to use Browserbase, we can lend our token. Comment below for access. Once you have the SLACK_WEBHOOK_URL , BROWSERBASE_API_KEY , and TWITTER_BEARER_TOKEN , input all of these as Val Town Environment Variables . Project created by Sarah Chieng and Alex Phan 💌
Cron
usdBTC
tmcw
usdBTC
// Get the current price of Bitcoin in US dollars
Script
planetScaleCreateStockTable
vtdocs
planetScaleCreateStockTable
Part of the PlanetScale page on docs.val.town .
Script
usdBTC
colehpage
usdBTC
// Get the current price of Bitcoin in US dollars
Script
polygonTickerSummary
rwev
polygonTickerSummary
An interactive, runnable TypeScript val by rwev
Script
therundown
dcm31
therundown
@jsxImportSource https://esm.sh/react@18.2.0
HTTP
Future
Get
Future
// --- Type Definitions (Essential for TS, minimal impact on final JS size but kept for clarity) ---
HTTP
web_Zw1Asa4o7V
dhvanil
web_Zw1Asa4o7V
An interactive, runnable TypeScript val by dhvanil
HTTP
usdBTC
zigu
usdBTC
// Get the current price of Bitcoin in US dollars
Script
alphaVantageSymbolQuery
sean
alphaVantageSymbolQuery
An interactive, runnable TypeScript val by sean
Script