get term id and taxonomy taxonomy page code example
Example 1: get taxonomy term meta by id
get_term_meta( int $term_id, string $key = '', bool $single = false )
Example 2: How do I get current taxonomy "term id" on wordpress?
$obj = get_queried_object();
echo $obj->term_id;