New tag API implementation