CDNs

Main part of URL (interchangeable):
Wii: x
DSi: http://nus.cdn.t.shop.nintendowifi.net/ccs/download/
3DS: http://nus.cdn.c.shop.nintendowifi.net/ccs/download/
Wii U: http://ccs.cdn.wup.shop.nintendo.net/ccs/download/

then:
[title id]

then one of these:
tmd[.title version]
cetk
Content ID (8 digits, 00000000 would be the first)

eShop Metadata

https://samurai.[ctr or wup].shop.nintendo.net/samurai/ws/<two-letter region code>/["titles" or "title/[eshop id]"]?limit=[limit]&offset=[offset]