TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do you make pretty “demos” of your API on your landing page?

2 pointsby mighty_donkeyover 2 years ago
There are a number of variations to this question but feel free to answer whichever based on your own experience. Some examples:<p>1) Stripe: showing the code being animated in an IDE with the response https:&#x2F;&#x2F;stripe.com&#x2F;<p>2) OpenAI: code that you can copy-paste https:&#x2F;&#x2F;openai.com&#x2F;api&#x2F;<p>Some folks make snappy video demos, other more interactive things. What do you do and how do you do it (e.g. tools, process)?

1 comment

ndimaresover 2 years ago
Depending on the nature of the API, you could wrap it in a react component (if that&#x27;s likely what users would do), and then embed it onto your landing page so that people could interact with it.