You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/...?q=api&page=11&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 18991 results for "api"(2431ms)
91Â <!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Honeydew</title>
92Â <style>Â
93Â @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&family=Inter:wght@400&display=swap');Â
94Â @keyframes spin{to{transform:rotate(360deg)}}
95@keyframes slide-in-bounce {
224Â <script>Â
225Â (function() {
226Â const API_URL = '${sourceUrl}';Â
227Â const STORE_KEYS = { projects: 'honeydew_projects_v1', tasks: 'honeydew_tasks_v1', theme: 'honeydew_theme_v1' };Â
228Â let projects = [], tasks = [], activeView = 'today', conversationHistory = [];Â
429430Â Â try {Â
431Â Â Â const res = await fetch(\`\${API_URL}?action=chat\`, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ messages: conversationHistory.slice(0, -1), tasks, projects }) });Â
432Â Â Â const data = await res.json();Â
433Â Â Â if (!res.ok || data.error) throw new Error(data.error || 'Server error');Â
524Â Â toggleLoading(btn, true);Â
525Â Â try {Â
526Â Â Â const res = await fetch(\`\${API_URL}?action=synthesizeProject\`, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ goal }) });Â
527Â Â Â const data = await res.json();Â
528Â Â Â if (!res.ok || data.error) throw new Error(data.error || "Server error");Â
542Â Â toggleLoading(btn, true);Â
543Â Â try {Â
544Â Â Â const res = await fetch(\`\${API_URL}?action=dailyRebalance\`, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ tasks: todayTasks }) });Â
545Â Â Â const data = await res.json();Â
546Â Â Â if (!res.ok || data.error) throw new Error(data.error || "Server error");Â
772}
773} catch (error) {
774console.error("AI API Error:", error);
775return new Response(
776JSON.stringify({ error: error.message || "An unknown error occurred with the AI service." }),
76</head>
77<body>
78<h1>QR Code Generator API</h1>
79<h2>Usage</h2>
80<p>Generate QR codes for payment information using GET parameters:</p>