First, review the terms of use at http://www.fakenamegenerator.com/api-tos.php
Next, get an API key from http://www.fakenamegenerator.com/api-key.php.
Last, review the basic instructions below:
We offer a REST API. The URL is http://www.fakenamegenerator.com/api/v1/rest.php?method=get_identity
| Parameter | Valid Options | Description |
|---|---|---|
| key | Your API key | Your API key. If omitted, you will receive an error message. |
| output | xml php json |
Choose whether you want the output to be XML, serialized PHP, or JSON. If omitted, output will be in XML. |
| c | as au bg ca cyen cygk dk fi fr gr hu is it sl sp sw sz uk us |
Choose the country to generate details for. If omitted, "us" will be selected. |
| n | ar au ch dk en fi fr gr hu it jp nl pl sl sp sw us |
Choose the nameset to generate details for. If omitted, "us" will be selected. |
| gen | 0 (random) 1 (male) 2 (female) |
Choose the gender to generate details for. If omitted, "0" will be selected. |
| method | get_identity | Required. If omitted, you will receive an error message. |