Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/image-url.jpg?q=api&page=63&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=api

Returns an array of strings in format "username" or "username/projectName"

Found 11547 results for "api"(1022ms)

myExpressApi2 file matches

@stevekrouseUpdated 1 year ago

verifySecretAPI2 file matches

@stevekrouseUpdated 1 year ago

hiddenAPI2 file matches

@stevekrouseUpdated 1 year ago

myApi1 file match

@ALienbytesUpdated 1 year ago

myApi1 file match

@gulleyUpdated 1 year ago

myApi1 file match

@rapUpdated 1 year ago

myApi1 file match

@lionelloUpdated 1 year ago

myApi1 file match

@ayrtonlacerdaUpdated 1 year ago

myApi1 file match

@anibalestrellaUpdated 1 year ago

myApi1 file match

@erics118Updated 1 year ago

blog2025-04-08-migration.md1 match

@filUpdated 55 mins ago
83We didn't. We left them where they are, and proxy to them.
84
85Writing a proxy in Val Town (or any functions platform with the ['fetch handler' interface](https://blog.val.town/blog/the-api-we-forgot-to-name/)) is a delight:
86
87```ts

bloglive-reload.ts1 match

@filUpdated 56 mins ago
82 // if we wanted to create a /lastUpdatedAt route,
83 // which would let us pass a val town bearer token, we could do that here
84 // gives us 10k API requests per minute instead of 1k
85 // and would work with private projects
86
papimark21
socialdata
Affordable & reliable alternative to Twitter API: ➡️ Access user profiles, tweets, followers & timeline data in real-time ➡️ Monitor profiles with nearly instant alerts for new tweets, follows & profile updates ➡️ Simple integration