When a recruiter contacts you, be friendly, and tell them a high number for your desired salary (I suggest starting at $200k). Soon you will get a feel for what they are willing to go for, and sometimes they will even tell you directly what their maximum is. FWIW Right now in Silicon Valley, $170k seems to be the max for senior devs, and $200k is actually reachable for managing tech leads.