Gender API
無料でサインアップ
言語 expand_more

Java Client

Enterprise-ready Java client for Gender-API.com providing robust, type-safe gender detection for your production applications. Our specialized API delivers 99.5% accuracy with sub-100ms response times, significantly outperforming generic AI solutions. Built for scalability with proper error handling, connection pooling, and thread safety. Perfect for Spring Boot, Jakarta EE, and microservices architectures. Unlike generic LLMs, our database is specifically tuned for name-gender associations across 150+ countries with continuous learning adding thousands of names daily. Ideal for CRM systems, user management, and marketing platforms. Start free with 100 monthly API calls and scale to millions. Trusted by Fortune 500 companies worldwide.

まず composer を使ってライブラリをインストールします:

クライアントの詳細なドキュメントはこちら:

https://github.com/markus-perl/gender-api-client

まず npm を使ってライブラリをインストールします:

クライアントの詳細なドキュメントはこちら:

https://github.com/markus-perl/gender-api-client-npm

まず npm を使ってライブラリをインストールします:

クライアントの詳細なドキュメントはこちら:

https://github.com/markus-perl/gender-api-client-npm

まず pip を使ってライブラリをインストールします:

クライアントの詳細なドキュメントはこちら:

https://github.com/markus-perl/gender-api-client-python
https://pypi.org/project/gender-api-client/

import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.io.IOException;
import com.google.gson.Gson;
import com.google.gson.JsonObject;

public class Main {

    public static void main(String[] args) {
        String apiKey = "YOUR_API_KEY";
        String url = "https://gender-api.com/v2/gender/by-first-name";
        String payload = "{\"first_name\":\"Theresa\"}";

        HttpClient client = HttpClient.newHttpClient();

        HttpRequest request = HttpRequest.newBuilder()
                .uri(URI.create(url))
                .header("Content-Type", "application/json")
                .header("Authorization", "Bearer " + apiKey)
                .POST(HttpRequest.BodyPublishers.ofString(payload))
                .build();

        try {
            HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());

            Gson gson = new Gson();
            JsonObject json = gson.fromJson(response.body(), JsonObject.class);

            System.out.println("Gender: " + json.get("gender").getAsString());
            System.out.println("Probability: " + json.get("probability").getAsFloat());

        } catch (IOException | InterruptedException e) {
            e.printStackTrace();
        }
    }
}

アプリケーション向けのプロフェッショナルな性別判定

Gender-API.com は、150か国以上で 99.5% の精度を実現するエンタープライズ品質の性別判定を提供します。汎用的な AI ソリューションよりも、レスポンスは10〜90倍速く、精度も9〜34%高くなります。

なぜ汎用 AI ではなく Gender-API を選ぶのですか?

  • 目的に特化 性別判定に特化。汎用AIではありません
  • 超高速 汎用AIが数秒かかるのに対し、レスポンスタイムは100ms未満
  • より正確に 文化や地域性を踏まえたインテリジェンスで、精度99.5%
  • より大きなデータベース 900万件以上の名前数。一般的なAI学習データより37%多い
  • 信頼できる 予測可能なパフォーマンスを備えた、稼働率 99.9% のSLA

主な機能

  • わずか数行のコードで簡単に連携できます
  • 大量データを扱うアプリ向けの一括処理
  • 地域ごとの名前のバリエーションに対応した、国別の高精度判定
  • スマートな正規化で、誤字や表記ゆれにも対応
  • GDPR準拠で、エンタープライズにも対応

今日から無料で始める

クレジットカード不要で、毎月100回まで API を無料でご利用いただけます。用途に合わせて選べる柔軟な料金プランで、成長に合わせてスケールできます。

チャット