Combining with somatostatin to initiate a change in cell activity. Somatostatin is a peptide hormone that regulates the endocrine system by signaling via G-protein coupled somatostatin receptors. Somatostatin has two active forms produced by proteolytic cleavage: a 14 amino acid peptide (SST-14) and a 28 amino acid peptide (SST-28).