Code Recipes
SAMPLE CODE FOR
EVERY AI TOOL
Free AI API examples in C#, Python, Java & JavaScript
One page per service: the call that matters in C#, Python, Java and JavaScript, ending with a link to the official docs, which always win.
Chat, completion, tool calling and structured output — the APIs most projects reach for first.
Nothing in this category has a sample in that language yet.
Text to speech, transcription and real-time voice — the APIs, and the engines you can host yourself.
Nothing in this category has a sample in that language yet.
Generation, editing and reading text out of pictures.
Nothing in this category has a sample in that language yet.
Vector databases and the embedding APIs that feed them — the retrieval half of RAG.
Nothing in this category has a sample in that language yet.
Orchestration layers that sit above the raw APIs, including the ones built for C# and Java.
Nothing in this category has a sample in that language yet.
Run models yourself, or route to many providers through one endpoint.
Nothing in this category has a sample in that language yet.
WHAT THIS IS
The snippet you were going to search for anyway. Authentication, the first working call, streaming, error handling, and the one detail per service that costs an afternoon if you do not know it.
Runnable as written. No framework you have to adopt first, and no wrapper library of ours between you and the vendor's SDK.
WHAT THIS IS NOT
Not a ranking, not a benchmark, and not a replacement for the official documentation — every page links to it, and the vendor's docs are always the authority on their own API.
Pricing and model names move faster than any page can. Where something is likely to be stale, the page says so rather than pretending.
NEW CODE EVERY MONTH.
Get a note when new Claude Code templates, code recipes or tools go live.
No account required
We email once to confirm. Unsubscribe anytime — it deletes your address.