Y axis rotary cable

where can i buy a rotary y axis cable it has to be 6 pon on both ends

Try this one. It has 6 pins of both ends but 4 wires. This matches the rotary I have. I don’t think you need all six wires. Its a standard JST-PH 2.0 cable for stepper motors

https://www.etsy.com/listing/1307694005/stepper-motor-extension-cable-20in-jst?ref=yr_purchases

I need it to be female on both ends

Thats going to be hard to find. You may have to buy a JST 2.0 kit and make your own:

https://www.amazon.com/Connectors-Header-Ribbon-Cable-2-0mm/dp/B0BK9975DV/ref=asc_df_B0BK9975DV/?tag=hyprod-20&linkCode=df0&hvadid=692875362841&hvpos=&hvnetw=g&hvrand=977834935716304611&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9016910&hvtargid=pla-2281435179818&psc=1&mcid=de709b5234b537b8a7d18f3f51e428b1&hvocijid=977834935716304611-B0BK9975DV-&hvexpln=73

Try this one. Its only 100mm. If that’s not long enough then your back to making your own

Here’s a longer one. Buy two and solder them together
This one is 30cm