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%20%22Image%20title%22?q=api&page=1&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 19733 results for "api"(1452ms)

Plantfo

Plantfo8 file matches

@Llad•Updated 3 hours ago
API for AI plant info

scrapeCraigslistAPI1 file match

@shapedlines•Updated 1 day ago

researchAgent2 file matches

@thesephist•Updated 3 days ago
This is a lightweight wrapper around Perplexity's web search API

memoryApiExample2 file matches

@ingenierotito•Updated 3 days ago

api_ianmenethil_com133 file matches

@ianmenethil•Updated 4 days ago

api_ianmenethil_com74 file matches

@ianmenethil•Updated 4 days ago

readback-api

@tr3ntg•Updated 5 days ago
API for readback.

beeminder-api4 file matches

@cricks_unmixed4u•Updated 6 days ago

shippingAPI1 file match

@dynamic_silver•Updated 1 week ago

api_zenithpayments_com

@ianmenethil•Updated 1 week ago

galerry_01index.html2 matches

@fravarela•Updated 33 mins ago
7
8 <!-- Google Fonts: Poppins -->
9 <link rel="preconnect" href="https://fonts.googleapis.com">
10 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
11 <link
12 href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap"
13 rel="stylesheet"
14 >

shitty-leaderboardindex.ts8 matches

@jonbo•Updated 34 mins ago
51 const timestamp = Date.now();
52 const [choresResponse, historyResponse] = await Promise.all([
53 fetch(`/api/${instanceId}/chores?_t=${timestamp}`),
54 fetch(`/api/${instanceId}/history?_t=${timestamp}`),
55 ]);
56
316 const pathParts = url.pathname.split("/").filter(p => p.trim() !== "");
317
318 // API endpoints - proxy to the main Shitty database
319 if (pathParts[0] === "api" && pathParts.length >= 2) {
320 const syncId = pathParts[1];
321 const apiResource = pathParts.length > 2 ? pathParts[2] : null;
322
323 // Helper to create demo data
412
413 // Chores endpoint
414 if (apiResource === "chores") {
415 return new Response(JSON.stringify(instanceData.chores), {
416 headers: { "Content-Type": "application/json" },
418 }
419 // History endpoint
420 else if (apiResource === "history") {
421 const sortedHistory = [...instanceData.tending_log].sort((a, b) => b.timestamp - a.timestamp);
422 return new Response(JSON.stringify(sortedHistory), {
425 }
426
427 return new Response(JSON.stringify({ error: "API endpoint not found" }), {
428 status: 404,
429 headers: { "Content-Type": "application/json" },
apiry
snartapi