{"id":9243705,"url":"https://github.com/thm/uinames","last_synced_at":"2025-08-17T08:32:59.762Z","repository":{"id":13602828,"uuid":"16295768","full_name":"thm/uinames","owner":"thm","description":"A simple tool to generate names for use in designs and mockups.","archived":false,"fork":false,"pushed_at":"2023-11-22T03:24:48.000Z","size":2194,"stargazers_count":756,"open_issues_count":35,"forks_count":207,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-04-16T00:56:15.796Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://uinames.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-27T22:51:39.000Z","updated_at":"2024-03-23T02:11:43.000Z","dependencies_parsed_at":"2022-09-10T12:42:04.731Z","dependency_job_id":null,"html_url":"https://github.com/thm/uinames","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thm%2Fuinames","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thm%2Fuinames/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thm%2Fuinames/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thm%2Fuinames/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thm","download_url":"https://codeload.github.com/thm/uinames/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":216818638,"owners_count":16083832,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-05-08T00:10:52.534Z","updated_at":"2024-08-24T22:30:40.774Z","avatar_url":"https://github.com/thm.png","language":"PHP","funding_links":[],"categories":["Index"],"sub_categories":["Development"],"readme":"uinames.com\n=======\n\nThis is the repo for [uinames.com](https://uinames.com). Feel free to contribute to the project by adding names. Keep in mind that more isn't better. Quality over quantity. Quality being the most common/popular names in a region.\n\n### The Algorithm\nWhen the option to pick a region at random is selected, a region will be picked based on the amount of possible name-combinations for that region. A region with more names is more likely to be picked, and regions with less names are less likely to be picked. I propose having a maximum of 100 male names, 100 female names and 300 last names per region. That's 60.000 possible combinations per region.\n\n### The Layout (JSON)\n    [\n      {\n        \"region\": \"Region\",\n        \"male\": [\"Male\", \"First\", \"Names\"],\n        \"female\": [\"Female\", \"First\", \"Names\"],\n        \"surnames\": [\"Last\", \"Names\"]\n      },\n      {etc}\n    ]\n\n### The API\nAll responses are returned as JSON(P) over HTTP(S). There is currently no request limit. However, please keep the amount of requests to a minimum, and cache responses whenever possible.\n\n#### Basic usage\n    https://uinames.com/api/\n    ---\n    {\n      \"name\":\"John\",\n      \"surname\":\"Doe\",\n      \"gender\":\"male\",\n      \"region\":\"United States\"\n    }\n#### Optional Parameters\nNumber of names to return, between `1` and `500`:\n\u003cpre\u003ehttps://uinames.com/api/\u003cstrong\u003e?amount=25\u003c/strong\u003e\u003c/pre\u003e\n\nLimit results to the `male` or `female` gender:\n\u003cpre\u003ehttps://uinames.com/api/\u003cstrong\u003e?gender=female\u003c/strong\u003e\u003c/pre\u003e\n\nRegion-specific results:\n\u003cpre\u003ehttps://uinames.com/api/\u003cstrong\u003e?region=germany\u003c/strong\u003e\u003c/pre\u003e\n\nRequire a minimum number of characters in a name:\n\u003cpre\u003ehttps://uinames.com/api/\u003cstrong\u003e?minlen=25\u003c/strong\u003e\u003c/pre\u003e\n\nRequire a maximum number of characters in a name:\n\u003cpre\u003ehttps://uinames.com/api/\u003cstrong\u003e?maxlen=75\u003c/strong\u003e\u003c/pre\u003e\n\nFor JSONP, specify a callback function to wrap results in:\n\u003cpre\u003ehttps://uinames.com/api/\u003cstrong\u003e?callback=example\u003c/strong\u003e\u003c/pre\u003e\n\n#### Extra Data\nAdditional random data is served to requests passing an `ext` parameter. However, response times may be slower, especially when requesting larger quantities of data.\nAll photos are hand-picked from [unsplash.com](https://unsplash.com) ([license](https://unsplash.com/license)):\n\u003cpre\u003e\nhttps://uinames.com/api/\u003cstrong\u003e?ext\u003c/strong\u003e\n---\n{\n  \"name\": \"John\",\n  \"surname\": \"Doe\",\n  \"gender\": \"male\",\n  \"region\": \"United States\",\n  \"age\": 29,\n  \"title\": \"mr\",\n  \"phone\": \"(123) 456 7890\",\n  \"birthday\": {\n  \"dmy\": \"19/06/1987\", // day, month, year\n  \"mdy\": \"06/19/1987\", // month, day, year\n  \"raw\": 551062610 // UNIX timestamp\n  },\n  \"email\": \"john.doe@example.com\",\n  \"password\": \"Doe87(!\",\n  \"credit_card\": {\n    \"expiration\": \"12/20\",\n    \"number\": \"1234-5678-1234-5678\",\n    \"pin\": 1234,\n    \"security\": 123\n  },\n  \"photo\": \"https://uinames.com/api/photos/male/1.jpg\"\n}\n\u003c/pre\u003e\n#### Exception handling\nError messages have the following format:\n\u003cpre\u003e{\"error\":\"Region or language not found\"}\u003c/pre\u003e\n\n### Author\nThis project is initiated and maintained by [@thomweerd](https://twitter.com/thomweerd).\n\n### Credit\nThis massive collection of names wouldn't have been as complete without the help of [these wonderful people](https://github.com/thm/uinames/network/members). Thanks for all the contributions and the continued support!\n\nSpecial thanks to [Claudio Albertin](https://github.com/ClaudioAlbertin) for his work on the API.\n\n### License\nParts of this repository are licensed. Except where otherwise stated, any code not covered by this license is published under exclusive copyright. See [LICENSE.md](LICENSE.md) to learn more.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthm%2Fuinames","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthm%2Fuinames","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthm%2Fuinames/lists"}