A structural engineer
Independent of any contractor. Can assess whether there is a structural problem and write a repair scope that contractors then price.
This guide does not diagnose your foundation. It helps you decide who to call and what to ask.
There are two common ways to get more headroom. Underpinning extends the foundation down under the existing footings. A bench footing leaves the existing footings and steps the new floor down inside them.
Both are structural work. Engineering and a building permit are often part of the project, and the rules come from your municipality.
If you think there is an immediate safety risk, leave the area and contact your local emergency services.
Independent of any contractor. Can assess whether there is a structural problem and write a repair scope that contractors then price.
Can look at the problem and propose a repair. They sell the repair, so ask what else could explain what you see.
Prepares the drawings your municipality reviews for the building permit. Contractors price the foundation from those drawings.