NameAPI is a web API
to handle people's names
in your software.

News

26.04.2024

Enhanced NameAPI Database

We've updated our NameAPI database to better handle names that include professions. We have added...


12.04.2024

Bosnian names: Echoes of Diversity and Heritage

Bosnia and Herzegovina stands out in Europe for its remarkable diversity, being a country where...


29.03.2024

Larger Name Database

We are pleased to announce a new update to our database, which now features a broader range of...


01.03.2024

Diving Deeper into Latin American Names

From the indigenous communities of the Andes to the Afro-Caribbean rhythms of the Caribbean coast,...


16.02.2024

Swagger-UI: The New and Improved Way to Use Our REST API

We are happy to announce that we have added a new feature to our REST API: Swagger-UI, which allows...


Downloads

 

We provide software libraries to make your integration of the name api into your software as smooth as possible.

For non-techies: you can't download NameAPI. It's a hosted software to which your software connects by sending small requests. These libraries offered here make your programmer feel like the software was local.

 

 

Java and the JVM

 

This library is for Java, and for all programming languages running on the Java Virtual Machine including GroovyScala and Cold Fusion.

This library written in Java hides the REST details and offers a nice programming api. It's open source and managed on GitHub. It uses command4j (a general-purpose command framework) and anythingworks (a rest/soap utility library for building clients and services). They're both on GitHub, too.

You may still roll your own solution. We recommend using this library instead. Thanks to command4j, it offers many ready-made client-side interceptors such as failover, exception translation, logging, and timeouts.

Maven

Just include this in your pom.xml:

<dependency>
  <groupId>org.nameapi.client</groupId>
  <artifactId>nameapi-client</artifactId>
  <version>5.4.2</version>
</dependency>

Gradle

Just include this in your build.gradle:

implementation 'org.nameapi.client:nameapi-client:5.4.2'

Github

The project is on GitHub.

Source/Jar Download

Or download the release from here.

 

 

PHP

 

This library written in PHP hides the REST details and offers a nice, well documented programming api. It's open source and managed on GitHub.

If you use Composer (recommended) then add this to your composer.json as a dependency:

"require": {
"optimaize/nameapi-client-php": "dev-master",
}

 

 

Other Programming Languages

 

For the languages not listed above, there is currently no client library available. If you're interested in building one, please go ahead, we'd be happy to help.

You can call the REST web services directly using the standard HTTP protocol, and toolkits or frameworks for your programming language may simplify the task.

The SOAP/WSDL APIs are still present, though not actively developed anymore.

To use NameAPI with REST from Go or Python, see this blog post by Julien Salinas.
Update the endpoint to the current one: https://api.nameapi.org/rest/v5.3