# Fetch CATID using Discogs API (in Tag-to-Tag Feature)

**URL:** <https://community.mp3tag.de/t/fetch-catid-using-discogs-api-in-tag-to-tag-feature/53918>\
**Category:** Support\
**Created:** [July 31, 2021, 10:21am UTC](https://community.mp3tag.de/t/fetch-catid-using-discogs-api-in-tag-to-tag-feature/53918 "2021-07-31T10:21:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JaceTries](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/b2d939/32.png) [@JaceTries](https://community.mp3tag.de/u/JaceTries)\
**Post date:** [July 31, 2021, 10:21am UTC](https://community.mp3tag.de/t/fetch-catid-using-discogs-api-in-tag-to-tag-feature/53918/1 "2021-07-31T10:21:31Z")

</div>

Hi All,

I am a new user of mp3tag. I am absolutely amazed at this software. Thank you Florian for all the work you have put into it, truly commendable.

I have recently started tidying my collection, and am currently using the folder renaming function (by highlighting songs) then pressing Alt + 5 to call Tag-Tag:

In the dialogue box - i select : \_Directory

Then the string i fill out with:

'['%catalogid%']' %artist% - $replace(%album%,/,\_) (%year%) '['$replace(%\_codec%,Free Lossless Audio Codec,WEB FLAC)']'

Which results in something like the below:  
[ASCENSION 009] Technical Itch - Digitally Ascended Vol 2 (2011) [WEB FLAC]  
This is convenient as it renames the folder using the existing tags.

Is there a way to fetch catalogue ID only - while keeping existing tags?

In order to get CATID using mp3tag - you would need to select the Artist - Album Discogs icon first and re-write all tags in order to then do the above.

If this is possible - it would be fairly amazing 😃 Currently if i exclude Cat# - i can rename hundreds of albums at a time.

Thank you 🙂

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [February 9, 2026, 12:29pm UTC](https://community.mp3tag.de/t/fetch-catid-using-discogs-api-in-tag-to-tag-feature/53918/3 "2026-02-09T12:29:20Z")

</div>


