# Return active FCurve with python

i'm trying to write a little addon to help deal with FCurves modifier, and i would need to get the active modifier from active FCurves.

So far i'm not able to return active FCurve in python, i don't really know where to look. The purpose being get the active modifier in this FCurve, i tried to just iterate and get modifier marked as active, but they can be several (one by FCurves) so it won't work as intented. I can only get selected FCurves with

fcurves[index].select


Do you have any idea where to look for this property ? Cheers guys !

bpy.context.active_editable_fcurve