curl \
"https://api.global-search.at/v1/search/name?q=John+Smith" \
-H "Authorization: Bearer gs_live_████████████████████████"
import requests
r = requests.get(
"https://api.global-search.at/v1/search/name",
headers={"Authorization": "Bearer gs_live_████████████████████████"},
params={"q": "John Smith", "limit": 5}
)
data = r.json()
const res = await fetch(
"https://api.global-search.at/v1/search/name?q=John+Smith&limit=5",
{ headers: { Authorization: "Bearer gs_live_████████████████████████" } }
);
const { data, meta } = await res.json();
200 OK
application/json
142ms
{
"data": [
{
"name": "John Michael Smith",
"date_of_birth": "15.03.1985",
"gender": "MALE",
"phone": ["████████████", "████████████"],
"email": ["j.████@████.com"],
"address": "████ Main St, Houston, Texas 77001",
"source": "US Voters 2022 [USA]"
},
{
"name": "John Smith",
"date_of_birth": "15.03.1985",
"gender": "MALE",
"phone": ["████████████"],
"email": ["jsmith85@████.com", "j.smith@████corp.com"],
"address": "██ Oak Avenue, Chicago, Illinois 60601",
"password_hash": "$2y$10$████████████████████████████████████████████████",
"source": "LinkedIn Scraped 2022 [GLOBAL]"
},
{
"name": "Jonathan Smith",
"date_of_birth": "15.03.1985",
"gender": "MALE",
"phone": ["████████████"],
"email": ["jonathan.smith@████.co.uk"],
"address": "██ Threadneedle St, London EC2R",
"source": "Exactis 2018 [GLOBAL]"
}
],
"meta": {
"total": 1247,
"returned": 5,
"cost_usd": 0.30
}
}