How to photograph your finished api development work

Screenshotting finished API work well is a craft of its own, and it matters when you write a portfolio entry, a release note, or a walkthrough for teammates. A good image shows the result and hides the mess. These habits take a few extra minutes and make your work look as considered as it actually is.

Prepare the screen before you capture

Close the tabs you do not need, zoom the editor or terminal to roughly 120 percent, and switch to a clean theme with enough contrast. If you use a dark theme, make sure it does not swallow thin text once the image is resized for a page. Fill the window with only the content that matters.

Remove anything personal first: real customer names, tokens in headers, internal hostnames, and the request history sidebar. It is easier to start from a clean account than to scrub a screenshot afterwards.

Take the capture, then look at it on a phone before you publish. Text that was readable at full size often turns to grey mush at a narrow width, and the one line you needed to show is usually the first to vanish. Crop tighter or split the image in two, one idea per frame. The same rule applies to diagrams, where labels fail before anything else does.

Choose the right kind of image

  • Terminal output: capture the request and a compact, readable response, not forty lines of headers.
  • Diagrams: redraw the flow at large text sizes rather than shrinking a dense whiteboard export.
  • Dashboards: show one clear trend, and crop away empty charts that add nothing.
  • Physical setup: if you show a self-hosted box or a desk, treat it like a product photo with a plain background.

Lighting and framing for photographs of screens

When you photograph a screen with a phone instead of taking a capture, kill reflections first. Turn off overhead lights, angle the screen slightly away from the window, and shoot from directly in front so the edges stay parallel. A screenshot avoids all of this, so only reach for the camera when the physical device is part of the story.

Keep the shot tight. A laptop on a desk with a plant is fine for a thumbnail, but the reader came to see the interface. Take one wide frame for context and one close frame for detail.

Export and label

Save PNG for interfaces and text, JPEG for photographs of hardware. Keep the original file name meaningful, such as orders-endpoint-201.png, and add alt text that describes what the image shows rather than the endpoint name alone. Place the image next to the sentence it supports.

Treat each screenshot as a small deliverable: clean the screen, crop to the point, keep secrets out, and write the caption last. Your future readers, and your future self, will thank you.