Api Hero With Terminal
A developer hero with the pitch beside a terminal running the first API call and its response.
A developer hero with the pitch beside a terminal running the first API call and its response.
The Marketing Collection unlocks the source for every Marketing block. All Access unlocks every Collection.
Already purchased? Log in
Api Hero With Terminal opens a developer landing page with the pitch beside a terminal already mid session. The request is four lines of curl, the response is real looking JSON with an id and a latency figure, and the blinking cursor implies the next command is yours. Two buttons split the audience, get a key or read docs.
The terminal is drawn from divs and mono text, no images and no syntax highlighter dependency. Request and response live in two small arrays at the top of the file, so swapping in your actual API shape is a one minute edit.
Reach for this block at the top of API and developer tool pages where the fastest way to qualify a visitor is showing the actual interface, the code. Pair it with quickstart steps so the promise of the terminal has a path behind it.
A natural flow around it on a Marketing Pro page:
Before
After
One strong use is your simplest possible API call with its real response. Other terminals:
Tip: keep the response honest, a real id format and a real latency number read as documentation, not decoration.