For Agents
Classify a name's likely gender, country of origin, residence, and ethnicity across 100+ countries. Single-name and batch (up to 100) operations.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the NamSor API v2, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with NamSor API v2 API.
Infer the likely gender of a first name or first+last name pair, with optional country context
Predict the country of origin or country of residence from a personal name
Classify a name's ethnicity using regional taxonomies (US race, UK, Brazilian, Asian)
GET STARTED
Use for: I need to predict the gender of a first name across many countries, Classify the likely country of origin for a list of full names, Find the most likely ethnicity for a customer name in a US dataset, Detect whether 'Apple' refers to a personal name or a brand
Not supported: Does not handle identity verification, fraud scoring, or PII discovery — use for name-based gender, origin, and ethnicity classification only.
Jentic publishes the only available OpenAPI specification for NamSor API v2, keeping it validated and agent-ready. NamSor classifies personal names by likely gender, country of origin, country of residence, ethnicity, and US 'race' for diversity reporting and customer enrichment. The API works across alphabets and languages and exposes 114 endpoints covering single-name lookups, geo-aware variants, batch processing of up to 100 names per request, and admin endpoints for API key usage and feature toggles. Costs are metered in 'units' per name with simple operations using one unit and ethnicity classifiers using 10 to 20 units depending on the taxonomy.
Detect whether a proper noun is a personal name, brand, or place to clean noisy contact data
Process batches of up to 100 names per request to enrich large customer files efficiently
Inspect remaining API key units and per-classifier cost via admin endpoints
Patterns agents use NamSor API v2 API for, with concrete tasks.
★ Diversity and Inclusion Reporting
Talent and HR teams use name-based ethnicity and gender inference to estimate workforce demographics where self-reporting is incomplete. NamSor's ethnicity endpoints return predicted classes and confidence scores using established US-race taxonomies, letting analytics platforms produce DE&I dashboards while flagging low-confidence predictions for manual review. Batch endpoints handle full applicant pools in a single call.
POST /api2/json/genderBatch with 100 employee first+last names and aggregate the predicted gender distribution by department.
CRM Contact Enrichment
Sales and marketing platforms enrich contact records with predicted gender, country of origin, and country of residence to personalise outreach. NamSor's geo-aware endpoints accept an ISO country code alongside the name to disambiguate (for example 'Maria' in Spain vs Brazil), improving accuracy for international audiences. Batch processing keeps cost per record predictable.
POST /api2/json/originBatch with a list of leads and append the predicted country of origin to each CRM record.
Data Cleaning for Inbound Forms
Forms and webhooks often capture noisy data where users enter brand names, places, or generic strings in name fields. The /api2/json/nameType endpoint classifies a proper noun as 'personalName', 'brandName', or 'place' so downstream systems can route or reject the record. This prevents downstream enrichment calls from wasting units on invalid inputs.
Call GET /api2/json/nameType/{properNoun} for each new lead and reject any record where the response is 'brandName' or 'place'.
AI Agent Name Intelligence
An AI assistant invoked through Jentic enriches contact data on demand by searching for a NamSor operation, loading its schema, and executing it with the contact's name. Jentic stores the X-API-KEY in its vault and exposes only a scoped token, so the agent can call gender, origin, and ethnicity endpoints without ever seeing the raw API key, simplifying compliance for customer-data workflows.
Search Jentic for 'predict gender from name', load POST /api2/json/genderBatch, and execute it with a 50-name batch from the CRM segmentation job.
114 endpoints — jentic publishes the only available openapi specification for namsor api v2, keeping it validated and agent-ready.
METHOD
PATH
DESCRIPTION
/api2/json/gender/{firstName}/{lastName}
Infer the likely gender of a first+last name pair
/api2/json/genderBatch
Batch gender classification for up to 100 names
/api2/json/origin/{firstName}/{lastName}
Predict the likely country of origin (10 units)
/api2/json/country/{personalNameFull}
Predict the likely country of residence (10 units)
/api2/json/corridorBatch
Batch corridor classifications for migration analysis
/api2/json/nameType/{properNoun}
Classify a proper noun as personal name, brand, or place
/api2/json/apiUsage
Read current API key unit usage
/api2/json/apiServices
List classifiers and their unit costs
/api2/json/gender/{firstName}/{lastName}
Infer the likely gender of a first+last name pair
/api2/json/genderBatch
Batch gender classification for up to 100 names
/api2/json/origin/{firstName}/{lastName}
Predict the likely country of origin (10 units)
/api2/json/country/{personalNameFull}
Predict the likely country of residence (10 units)
/api2/json/corridorBatch
Batch corridor classifications for migration analysis
Three things that make agents converge on Jentic-routed access.
Credential isolation
The NamSor X-API-KEY is stored encrypted in the Jentic vault. Agents receive a scoped execution token, so the raw key is never in prompts, logs, or agent memory.
Intent-based discovery
Agents search Jentic with intents like 'predict gender from name' or 'classify country of origin' and receive the matching NamSor operation with input schema, avoiding manual selection across the 114 endpoints.
Time to first call
Direct integration: 1-2 days to handle auth, batch shape, and unit-budget tracking. Through Jentic: under 1 hour — search, load, execute.
Alternatives and complements available in the Jentic catalogue.
Specific to using NamSor API v2 API through Jentic.
Why is there no official OpenAPI spec for NamSor API v2?
NamSor does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call NamSor API v2 via structured tooling. It is validated against the live API and kept up to date. Get started at https://app.jentic.com/sign-up.
What authentication does the NamSor API v2 use?
NamSor uses an API key sent in the X-API-KEY HTTP header. When called through Jentic the key is stored encrypted in the vault and the agent receives a scoped execution token; the raw X-API-KEY never enters the agent's context.
Can I batch-classify many names with the NamSor API v2?
Yes. The batch endpoints (genderBatch, genderGeoBatch, originBatch, corridorBatch, etc.) accept up to 100 names per request and return one classification object per input. Batch calls are the recommended pattern for any workload above a handful of names per minute.
How is NamSor API v2 usage priced and rate-limited?
Costs are metered in 'units' per name. Simple operations like gender consume 1 unit per name; origin and country classifications use 10 units; corridor and ethnicity taxonomies can use up to 50 units per name pair. Call GET /api2/json/apiUsage to read remaining units and GET /api2/json/apiServices to see per-classifier costs.
Can the NamSor API v2 distinguish a personal name from a brand or place?
Yes. GET /api2/json/nameType/{properNoun} returns 'personalName', 'brandName', or 'place' so you can clean noisy form input before sending it to the gender or origin classifiers. There is also a geo-aware variant at /api2/json/nameTypeGeo/{properNoun}/{countryIso2} that uses country context.
How do I run a gender classification through Jentic?
Run jentic.search('predict gender from name'), load the POST /api2/json/genderBatch operation, then jentic.execute with an array of {firstName, lastName} objects. Jentic returns the structured response so the agent can append predicted gender and probability to each contact record.
/api2/json/nameType/{properNoun}
Classify a proper noun as personal name, brand, or place
/api2/json/apiUsage
Read current API key unit usage
/api2/json/apiServices
List classifiers and their unit costs