California requires contractors to hold a valid license issued by the Contractors State License Board. For foundation work, the relevant license classifications are General Building Contractor (Class B) or Concrete Contractor (Class C-8). Verify that any contractor you are considering holds a current, valid license — the CSLB website allows you to check license status, classification, and any disciplinary history.
Beyond licensing, confirm that the contractor carries both general liability insurance and workers compensation coverage. Foundation repair involves excavation, concrete work, and work in and around your home's structure — adequate insurance protects you from liability if something goes wrong during the project.