Hard to tell
However an easy way to tell is if your pain is in the groin region or in the front thigh area where the legs meets the pelvis it could be hip.
Otherwise it could be sciatica
as well. Recommend seeing a spine/pain specialist that has musculoskeletal training to determine what your problem might be.