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.
nishui avatar
MusicAPI2
@nishui
HTTP (deprecated)
API: https://nishui-MusicAPI2.web.val.run?id=xxx id 是网易云的音乐 id 值,使用此 API 将会访问网页的两个 API 去获取音乐信息和歌词信息 我们用 req.url 获取 API 的url,然后再获取 url 的参数 id,这样就获取到对应的参数 id 了 2024年03月25日 不知道什么原因,获取 song 的 detail 失败,说是 querystring/url must match format \"uri\
nbbaier avatar
mockToApi
@nbbaier
HTTP (deprecated)
Forked from nbbaier/dbToAPIexample
stevekrouse avatar
dateMeNotionDatabase
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
postpostscript avatar
authIdUserGuide
@postpostscript
HTTP (deprecated)
authIdUserGuide: steps necessary to sign in as you to HTTP vals which support this pattern Required Val: @[your username/authId Fork @postpostscript/authId Required Val: @[your username/jwks Setup Fork @postpostscript/jwks Set JWKS Environment Variables Go to https://postpostscript-generatejwksenv.web.val.run/?prefix=JWKS Follow the steps there with the prefix "JWKS" Test it out! Go to this val's endpoint Enter your username and click "Go to Your Sign In Page" You are now on your sign in page that you completely control ! Click "Send Sign In Link to My Email" Check for an email with the subject line "Sign In Request" and click the "Sign In" link Review the permissions that the val has asked for. The only token scope that is currently required is "@[your username]/authId/id". If a val has requested any others, you may optionally accept them here Click "Provide Access" You are now signed in!
stevekrouse avatar
roseDragon
@stevekrouse
Script
Forked from stevekrouse/uploadTo0x0
amotivv avatar
blob_admin
@amotivv
HTTP (deprecated)
Forked from stevekrouse/blob_admin
pomdtr avatar
blob_admin
@pomdtr
Script
Forked from stevekrouse/blob_admin
zokonil avatar
users
@zokonil
HTTP (deprecated)
An interactive, runnable TypeScript val by zokonil
mattq avatar
dream_interpreter
@mattq
Cron
Forked from horatiothomas/dream_interpreter
stevekrouse avatar
basicAuth
@stevekrouse
Script
Forked from pomdtr/basicAuth
sethdijkstra avatar
handleFormExample2
@sethdijkstra
Script
An interactive, runnable TypeScript val by sethdijkstra
kora avatar
get_gemini_models
@kora
Script
Forked from cotr/get_gemini_models
zeroftdev avatar
api
@zeroftdev
Script
Forked from pomdtr/api
blainandsimple avatar
myApi
@blainandsimple
Script
An interactive, runnable TypeScript val by blainandsimple
janpaul123 avatar
valle_tmp_2702005215371008406643879034496836
@janpaul123
HTTP (deprecated)
// This val responds with an HTML form to input the user's name and greet them
wilt avatar
thisUrl
@wilt
Script
Programmatically get the API URLs for the val that calls this val. For example: // @wilt.myCoolVal: const myCoolVal = @wilt.thisUrl("web"); } // returns: // https://wilt-myCoolVal.web.val.run If targetVal is passed as entry , returns the URL of the very first val in the current call stack. For example: // @wilt.myFirstCoolVal: const myFirstCoolVal = @wilt.mySecondCoolVal()); } // @wilt.mySecondCoolVal: const mySecondCoolVal = () => { return @wilt.thisUrl("web", "entry"); } // Running @wilt.myFirstCoolVal returns: // https://wilt-myFirstCoolVal.web.val.run