There have been a lot of threads recently around salary. I'm pretty sure it is entirely based on your willingness to negotiate to the best of your abilities. Yes, you need to be willing to step up to the plate and negotiate.
Thankfully we work in a very mobile and fluid industry. I know people who live in Oklahoma and work for well known startups that get paid a very competitive wage even for NYC standards. Location is becoming less of a factor in the war for talent.