Search local businesses
curl --request POST \
--url https://app.nudgen.net/api/v1/map-leads/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"location": "<string>",
"keywords": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({location: '<string>', keywords: '<string>'})
};
fetch('https://app.nudgen.net/api/v1/map-leads/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.nudgen.net/api/v1/map-leads/search"
payload = {
"location": "<string>",
"keywords": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"center": {
"lat": 0,
"lng": 0
},
"leads": [
{
"placeId": "<string>",
"name": "<string>",
"address": "<string>",
"lat": 0,
"lng": 0,
"website": "<string>",
"domain": "<string>",
"phone": "<string>",
"rating": 2.5,
"categories": [
"<string>"
],
"email": "<string>",
"socials": {
"linkedin": "<string>",
"facebook": "<string>",
"twitter": "<string>",
"instagram": "<string>"
},
"businessSummary": "<string>",
"businessSources": [
{
"url": "<string>",
"title": "<string>"
}
],
"enrichmentPending": true
}
],
"nextPageToken": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
},
"enrichmentRetryToken": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}API reference
Search local businesses
PAT uses the active workspace. Defaults to a strict 5 km circle; integer radiusKm 1–100 is explicit. Preserve location, keywords, center, place ID and radius on pagination. Empty filtered pages can still have nextPageToken. Only new searches consume daily quota; pagination does not. Increasing radius starts a new search. Provider failures refund reservations; cancelling an accepted search does not. For NDJSON, parse each line as progress/complete with data, or error with error text. The complete event is authoritative and includes quota and any retry token. Progress snapshots may omit those fields.
POST
/
api
/
v1
/
map-leads
/
search
Search local businesses
curl --request POST \
--url https://app.nudgen.net/api/v1/map-leads/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"location": "<string>",
"keywords": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({location: '<string>', keywords: '<string>'})
};
fetch('https://app.nudgen.net/api/v1/map-leads/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.nudgen.net/api/v1/map-leads/search"
payload = {
"location": "<string>",
"keywords": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"center": {
"lat": 0,
"lng": 0
},
"leads": [
{
"placeId": "<string>",
"name": "<string>",
"address": "<string>",
"lat": 0,
"lng": 0,
"website": "<string>",
"domain": "<string>",
"phone": "<string>",
"rating": 2.5,
"categories": [
"<string>"
],
"email": "<string>",
"socials": {
"linkedin": "<string>",
"facebook": "<string>",
"twitter": "<string>",
"instagram": "<string>"
},
"businessSummary": "<string>",
"businessSources": [
{
"url": "<string>",
"title": "<string>"
}
],
"enrichmentPending": true
}
],
"nextPageToken": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
},
"enrichmentRetryToken": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"code": "<string>",
"quota": {
"plan": "<string>",
"limit": 123,
"used": 123,
"remaining": 123,
"resetAt": "2023-11-07T05:31:56Z"
}
}Authorizations
Body
application/json
Was this page helpful?