API name of a field

API name of a field

How can I find out what's the API name of a field and how can I change it?

And also how/where do we control if field is available through API? I created a custom field that seems to be not available even though it used to be?