Which should I use?
Top restaurants within 5 minute walk
Top restaurants within a 5 minute walk
For broader context, this is to be used as a section heading in an app, and so adding an article actually complicates the code, since it now requires the coder to programmatically distinguish between a and an based on the number falling between within and minute, since numbers beginning with one, eight-, or eleven would need the longer article.