NamSor API v2
namsor · Company
NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. By default, enpoints use 1 unit per name (ex. Gender), but Ethnicity classification uses 10 to 20 units per name depending on taxonomy. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add i
Authentication
Sample Requests
Read API Key info.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/namsor.com/2.0.24/api2/json/apiKeyInfo"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/namsor.com/2.0.24/api2/json/apiKeyInfo",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/namsor.com/2.0.24/api2/json/apiKeyInfo'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/namsor.com/2.0.24/api2/json/apiKeyInfo"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/namsor.com/2.0.24/api2/json/apiKeyInfo")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/namsor.com/2.0.24/api2/json/apiKeyInfo";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));List of classification services and usage cost in Units per classification (default is 1=ONE Unit). Some API endpoints (ex. Corridor) combine multiple classifiers.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/namsor.com/2.0.24/api2/json/apiServices"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/namsor.com/2.0.24/api2/json/apiServices",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/namsor.com/2.0.24/api2/json/apiServices'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/namsor.com/2.0.24/api2/json/apiServices"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/namsor.com/2.0.24/api2/json/apiServices")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/namsor.com/2.0.24/api2/json/apiServices";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Prints the current status of the classifiers. A classifier name in apiStatus corresponds to a service name in apiServices.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/namsor.com/2.0.24/api2/json/apiStatus"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/namsor.com/2.0.24/api2/json/apiStatus",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/namsor.com/2.0.24/api2/json/apiStatus'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/namsor.com/2.0.24/api2/json/apiStatus"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/namsor.com/2.0.24/api2/json/apiStatus")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/namsor.com/2.0.24/api2/json/apiStatus";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with NamSor API v2?
NamSor API v2 is a Company API. Developers commonly use company APIs for:
- enriching CRM records with company firmographics
- building lead-generation and prospecting tools
- verifying business identity and registration details
- monitoring competitors and market intelligence
- powering B2B data enrichment pipelines
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. NamSor API v2 is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?