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.
rwev avatar
rwev
polygonPriceOnDate
Script
An interactive, runnable TypeScript val by rwev
0
markprobst avatar
markprobst
webhookTest
Script
An interactive, runnable TypeScript val by markprobst
0
vtdocs avatar
vtdocs
telegramSendMessage
Script
An interactive, runnable TypeScript val by vtdocs
1
tmcw avatar
tmcw
trackIphoneTradein
Cron
Track iPhone trade-in prices iPhone trade in values - to trade phones back to Apple themselves - fluctuate over time , and eventually they no longer accept certain kinds of phones. You can still trade in an iPhone 7 - released in 2016 , about 6 years ago as of this writing. But no longer does an iPhone 6 have value back to Apple. This tracks those values - it runs every month and records prices to iphoneTradeInValues , which I'll visualize once there's some data.
1
kjk avatar
kjk
usdBTC
Script
An interactive, runnable TypeScript val by kjk
0
tmcw avatar
tmcw
big_story_visualization
Express (deprecated)
The Big Story This val, along with @tmcw.big_story , which requests from the New York Times API , and @tmcw.big_stories_ranks , which contains the data, generates a visualization of top stories on the NYTimes homepage. This is here just to ask the question – what happens to cover stories over time? Do they slowly drop down the page, or just get replaced by a fully new lede? So far it doesn't have quite enough data to answer that question. But also, it might be neat because it'll show which kinds of stories make the front page - is it climate, war, politics, or something else? 👉 The Big Story (visualization)
4
jamisonl avatar
jamisonl
darkMagentaFlamingo
HTTP
Forked from camajudson/handleDiscordInteraction
0
iamseeley avatar
iamseeley
valcontributionchart
HTTP
Forked from ejfox/valcontributionchart
0
andrewh avatar
andrewh
usdETH
Script
// Get the current price of Bitcoin in US dollars
0
janu avatar
janu
dataDash
HTTP
This is a passworded dashboard to go on a tv. The password is office123. It tells the bitcoin price, but can be swapped for any other timeseries endpoint for your use case.
0
stevekrouse avatar
stevekrouse
linkInBioTemplate
HTTP
@jsxImportSource https://esm.sh/react
0
jamisonl avatar
jamisonl
obnoxiousAmaranthCamel
HTTP
Forked from camajudson/handleDiscordInteraction
0
jdan avatar
jdan
myspaceCSS
Script
An interactive, runnable TypeScript val by jdan
0
talha_husnain avatar
talha_husnain
First
Script
// Track which players have folded
0
jaredsilver avatar
jaredsilver
startup_clicker
HTTP
@jsxImportSource https://esm.sh/react
2
bwaidelich avatar
bwaidelich
usdETH
Script
// Get the current price of Ethereum in US dollars
0