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.
stevekrouse avatar
nanoid
@stevekrouse
Script
Nano Id Function Usage @stevekrouse.nanoid() // Returns something like "MRRdswxjEph4sDiuEzlBM" Example: https://www.val.town/v/stevekrouse.exampleNanoId
tmcw avatar
nhttpExample
@tmcw
HTTP (deprecated)
nhttp example This uses the tiny nhttp framework with the Val Town Web API . New frameworks like nhttp works really well with our system because they rely on the standard Request & Response objects! Server examples Hono Peko Itty Router Nhttp
nimalu avatar
messageMe
@nimalu
Script
An interactive, runnable TypeScript val by nimalu
stevekrouse avatar
notionGetDatabaseEditedAfter
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
tempdev avatar
handler
@tempdev
Script
An interactive, runnable TypeScript val by tempdev
easrng avatar
alias
@easrng
Script
Forked from neverstew/alias
tmcw avatar
httpMockingExample
@tmcw
HTTP (deprecated)
HTTP Val Mocking example This is an example of mocking an HTTP val. Let's say that you're developing a val that responds to a POST request. That's tricky to debug and develop in the Browser preview tab, which just shows a GET request. But you can do it, because with web-standard Request & Response objects, requests and responses are values, and we can create those values ourselves.
stevekrouse avatar
cors_example_backend
@stevekrouse
HTTP (deprecated)
Forked from stevekrouse/cors_example
neverstew avatar
renderFormAndSaveData
@neverstew
HTTP (deprecated)
Forked from vtdocs/renderFormAndSaveData
tjvantoll avatar
umbrellaReminder
@tjvantoll
Cron
Forked from stevekrouse/umbrellaReminder
stevekrouse avatar
stdEmailAttachmentExample
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
jrmann100 avatar
whoami
@jrmann100
Script
Forked from stevekrouse/whoami
MichaelNollox avatar
tenseRoseTiglon
@MichaelNollox
HTTP (deprecated)
Forked from janpaul123/VALLE
isidentical avatar
falImageGen
@isidentical
Script
* Generates an image with Stable Diffusion XL through fal.ai * * @param {string} prompt - The input prompt to send to SDXL model. * @returns {Promise<string>} A promise that resolves to the URL of the image.
gio avatar
convenientAzureSparrow
@gio
Cron
// Your Telnyx API Key
stevekrouse avatar
valwriter_output
@stevekrouse
HTTP (deprecated)
An interactive, runnable TypeScript val by stevekrouse