Search box options

There are a few posts on the forum about how to integrate a duckduckgo search box, like this one:

Alas, the URL
https://duckduckgo.com/search_box
reverts to
https://duckduckgo.com
And the various posts on the forum with examples seem to no longer have the duckduckgo search bar.
Does anyone know if duckduckgo removed this functionality or how to do this nowadays? Thanks!

It is not very elegant, and it takes you away from write.as
It’ll have to do for now:

<form class="ddg" name="x" action="//duckduckgo.com/"> <input type="hidden" value="YOURBLOGURL" name="sites"></input> <input type="hidden" value="1" name="kh"></input> <input type="hidden" value="1" name="kn"></input> <input type="hidden" value="1" name="kac"></input> <input type="search" placeholder="YOURTEXTSTRING" name="q"></input><button class="button" type="submit">duckduckgo</button></form>

Any alternative suggestions?