Obviously you need to run a test that uses a list of real people's names and genders to measure the method's accuracy. But remember the following points:
* People might resent any effort to pin down their gender in a commercial or advertising context.
* The negative outcome for a gender misidentification may be much greater than the positive outcome for a correct one.
* Gender-neutral names are becoming increasingly fashionable among well-educated parents, i.e. people who have money.
On that basis and in my opinion, unless you can get above 90% accuracy, it's not worth doing.
Some popular gender-neutral names:
http://www.babynames1000.com/gender-neutral/
http://thestir.cafemom.com/pregnancy/157282/25_best_genderne...
http://en.wikipedia.org/wiki/Unisex_name#English
A quote: "Unisex names have been enjoying a decent amount of popularity in English speaking countries in the past several decades."
To be fair: do it if you must. But don't let the user see the gender field as it changes. If someone has a name that's associated with the opposite gender (or they believe themselves to be of another gender), seeing the change to that gender in the gender field will make them sad, annoyed, or irritated. At best, they will chuckle at the failed attempt to predict their gender.
This is one of those things that, when they work as intended, users don't notice it and it doesn't improve their experience that much, but when it fails, they notice and the annoyance hurts your image.
http://www.scb.se/Pages/TableAndChart____31028.aspx
and for boys at:
http://www.scb.se/Pages/TableAndChart____31036.aspx
You can also go to http://www.scb.se/Pages/NameSearch.aspx?id=259432 and do a search for name. For example, there are 990 people in Sweden with Strömgren as a last name.
It seems that "Gudrun" isn't that popular these days as fewer than 10 girls get that name. A different set of names is available from http://en.wiktionary.org/wiki/Category:Swedish_given_names .
I don't have need for this data and I can't comment about the effectiveness of the API.
You can get top-1000 US names for a given year by going to http://www.ssa.gov/OACT/babynames/#ht=1 , selecting a year, change "Popularity" to "Top 1000" and submitting the form. (For example, your search doesn't have 'Lowell', which was #172 in the US in 1940.)
Good luck!
Also, I would love to learn more about how the service actually works on the back-end.
I've actually thought about adding like a baseline of names from different lists though, to backup the names that are not yet represented in the dataset. Do you have a link to the names you are mentioning? Could be interesting.
Many, but not all, of the people mentioned in the 87 data sets (and counting!) that make up this database have a gender explicitly declared. Locale is the former province of Galicia in the Austro-Hungarian Empire, which is today eastern Poland and southwestern Ukraine. Time period is mostly 19th century and some early 20th century. Ethnicity is strongly biased towards Ashkenazi Jewish, but we also have some data sets that have representation of all the people in the community at that time, such as tax lists or phonebooks or school lists. I can get you data in JSON or XML, let me know.
I also have access to another large given name database that could be useful to you -- but that one is entirely Ashkenazi Jewish from what used to be northeastern Hungary, from roughly 1850 to 1906.
{"name":"dillon","gender":"male","probability":"1.00","count":1}
I'm interested is how its decided there was a 100% probability that I'm male (It was correct though).
and received {"name":"batman","gender":null}