const sites = await fetchSites({ live: true })sites.filter(isLive).map(renderCard)await kv.put(`votes:${key}:up`, String(next))export default function Home() { ... }npm run validate:content && npm run typecheckgit commit -m "ship it" && git pushif (prefersReducedMotion) return nullcurl -s https://base31.org/sitemap.xml | headaddEventListener("push", (event) => show(event))serve(public/sites/example/index.html)
section
Cool APIs
Free public APIs worth building with — no key hunting, no paid tier to start, just an endpoint and its docs.
⌕
63 links
Advice Slip↗api.adviceslip.comRandom pieces of advice, searchable by word, each with a stable slip ID you can cite.Not yet reviewed
Agify↗agify.ioGuess a person's age from their first name, with country-level breakdowns and sample sizes.Not yet reviewed
Art Institute of Chicago↗api.artic.eduThe museum's public collection — artworks, artists, images and descriptions — as open data.Not yet reviewed
Cat Facts↗catfact.ninjaA random cat fact on every request, plus breed lists and pagination for browsing.Not yet reviewed
CoinGecko↗coingecko.comLive prices, market caps and historical charts for thousands of cryptocurrencies on a free tier.Not yet reviewed
Datamuse↗datamuse.comA word-finding API for rhymes, synonyms and related terms — a poet's, or a word game's, toolbox.Not yet reviewed
Deck of Cards↗deckofcardsapi.comShuffle, draw and deal a virtual deck — the simplest way to add cards to a side project.Not yet reviewed
DiceBear↗dicebear.comGenerate identicon-style profile pictures as SVG or PNG straight from a URL, in dozens of styles.Not yet reviewed
Dog CEO↗dog.ceoRandom dog pictures by breed, hosted over HTTPS with no key required and no rate-limit drama.Not yet reviewed
ExchangeRate.host↗exchangerate.hostCurrency conversion and historical rates with a free key that never asks for a credit card.Not yet reviewed
Frankfurter↗frankfurter.devReference exchange rates from the European Central Bank, published daily and served as simple JSON.Not yet reviewed
Free Dictionary API↗dictionaryapi.devDefinitions, phonetics and audio pronunciations for English words, with no key and no signup.Not yet reviewed