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/$%7Burl%7D?q=api&page=27&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 11824 results for "api"(830ms)

myApi1 file match

@sinfulPortkeyโ€ขUpdated 1 year ago

myApi1 file match

@timocโ€ขUpdated 1 year ago

myApi1 file match

@thedavisโ€ขUpdated 1 year ago

myApi1 file match

@olibootyโ€ขUpdated 1 year ago

myApi1 file match

@colebemisโ€ขUpdated 1 year ago

myApi1 file match

@db0โ€ขUpdated 1 year ago

myApi1 file match

@droonkidโ€ขUpdated 1 year ago

myApi1 file match

@hibodog667โ€ขUpdated 1 year ago

valTownApiExampleVal2 file matches

@tmcwโ€ขUpdated 1 year ago

myApi1 file match

@qingmangโ€ขUpdated 1 year ago

untitled-3323new-file-8432.tsx2 matches

@AP123โ€ขUpdated 8 mins ago
79// โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
80async function fetchRedditPost(postUrl: string, limit: number) {
81 const api = postUrl.replace(/\/?$/, "")
82 + `.json?limit=${limit}&raw_json=1`;
83 const [postListing, commentListing] = await fetch(api, {
84 headers: { "User-Agent": "val-town-reddit-scraper" },
85 }).then(r => r.json());

pollinaterpblindex.tsx2 matches

@armadillomikeโ€ขUpdated 48 mins ago
271 <title>The S.M.A.R.T Hive</title>
272 <meta name="viewport" content="width=device-width, initial-scale=1">
273 <link rel="preconnect" href="https://fonts.googleapis.com">
274 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
275 <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap" rel="stylesheet">
276 <script src="https://esm.town/v/std/catch"></script>
277 </head>
mux
Your friendly, neighborhood video API.
api