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=26&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"(803ms)

myApi2 file matches

@rodrigotelloโ€ขUpdated 1 year ago

myApi1 file match

@ethanniserโ€ขUpdated 1 year ago

myApi1 file match

@agibralterโ€ขUpdated 1 year ago

myApi1 file match

@nanekโ€ขUpdated 1 year ago

myApi1 file match

@usefulthinkโ€ขUpdated 1 year ago

myApi1 file match

@nealiumโ€ขUpdated 1 year ago

myApi1 file match

@m4oliveiโ€ขUpdated 1 year ago

myApi1 file match

@marcโ€ขUpdated 1 year ago

hiddenAPI2 file matches

@rd3mโ€ขUpdated 1 year ago

myApi1 file match

@rssnyderโ€ขUpdated 1 year ago

untitled-3323new-file-8432.tsx2 matches

@AP123โ€ขUpdated 18 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 58 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>
apiv1
papimark21