As a buyer you certainly want to know as much as you can about your prospective new home. In fact, you should want to know as much as you can about your new neighborhood as well.
Part of learning about your new neighborhood is knowing who your neighbors might be. What I'm referring to here is the public database of sex offenders. Law dictates that the offenders must register their whereabouts, including their residence.
The onus is on you, the home buyer to find out if there is a sex offender residing in your new neighborhood. If you ask a listing agent if there are any sex offenders living in the area, they are not obligated to say UNLESS, they actually have checked the database themselves or have been informed. They certainly can respond they don't know, if they have not checked, but if they actually have checked, they are obligated to tell the truth.
Kind of heavy material to digest, while trying to find the "perfect home", but I just thought you should know....