Knowing my f-curve, how can I find the animated setting?
bpy.data.actions['Material.001Action'].fcurves[0]
The answer was pretty simple. Just add this at the end of line:
.data_path
bpy.data.actions['Material.001Action'].fcurves[0].data_path