Programmatic access to metatag module fields
If you have node object loaded, you can access the meta tags as below:

$metaTags = $node-&gt;get('field_meta_tags')-&gt;value;
if (!empty($metaTags)) {
      $metaTagsArr = unserialize($metaTags);
echo "&lt;pre&gt;";
print_r($metaTagsArr);
echo "&lt;/pre&gt;";
}