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.
ianvph avatar
blob_admin
@ianvph
HTTP (deprecated)
Forked from stevekrouse/blob_admin
karfau avatar
getRaw
@karfau
Script
A helper to get the raw data of a val, using the very nice implementation from @pomdtr.raw . Usage: https://www.val.town/v/karfau.test_getRaw Also look at @karfau.rawUrl to just get the raw url of another val inside a val.
psimyn avatar
blobAdmin
@psimyn
HTTP (deprecated)
Forked from stevekrouse/blob_admin
chriswmartin avatar
uploadImage
@chriswmartin
Script
Forked from easrng/uploadImage
augustohp avatar
myApi
@augustohp
Script
An interactive, runnable TypeScript val by augustohp
ryanguill avatar
roamForm
@ryanguill
Express
An interactive, runnable TypeScript val by ryanguill
charlypoly avatar
blob_admin
@charlypoly
HTTP (deprecated)
Forked from stevekrouse/blob_admin
komolkin avatar
Fetch
@komolkin
HTTP (deprecated)
Forked from hunty/Fetch
nichoth avatar
blob
@nichoth
Script
Forked from janpaul123/blob
neverstew avatar
queryParams
@neverstew
HTTP (deprecated)
Handling query params in requests Using the standard URL#searchParams method, you can grab query parameters out of any val that is operating using the Web API . This val demonstrates how to grab one or more query parameters. It returns the all the query parameters found as a json response.
janpaul123 avatar
valle_tmp_290532195688157024602543648883546
@janpaul123
HTTP (deprecated)
// We will create an HTTP val that responds with "Hello world" on every request.
stevekrouse avatar
blobSetResponseBodyExample
@stevekrouse
Script
Set Blob Storage via fetch Response body Inspired by Wes Bos's tweet about Bun's elegant Filesystem API.
rodrigotellovaltown avatar
nameNationality
@rodrigotellovaltown
Script
// Predict the nationality of a name
matthamlin avatar
api400
@matthamlin
Script
An interactive, runnable TypeScript val by matthamlin
mbo avatar
celinewaitlist
@mbo
HTTP
* This Val creates a simple API endpoint that saves an email address for notifications * using Val Town's JSON storage. It handles POST requests to save the submitted email * and returns a simple confirmation message.
stevekrouse avatar
form
@stevekrouse
HTTP (deprecated)
Simle HTML Form & Handler This val demonstrates how to render an HTML form and handle submissions. View Live Form | View Data