How can I get only DOI number (not URL) from an article

Oh, thank you!

Actually, I’ve found a solution here using {$pubId}. So simple. With {$pubId} I can use on Plumb and Dimensions badge.