What the response contains
Load a random duck and inspect the image URL and optional message that accompany the JSON response.
This page uses /api/random, which returns JSON. The documentation also separates /randomimg, which returns an image file directly. Before publishing or reusing a photo, check its address, available attribution, and the rules that apply to your use.
Fields worth checking
- url: image address
- message: optional attribution
- /random returns JSON