How to get URL param for pagination in shortcode?

You can use get_query_var('paged'), this will return the current page in pagination.

$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;

Or the shorter form

$paged = get_query_var('paged') ?: 1;