Get maps search job
curl --request GET \
--url https://api.leadsforge.ai/public/v1/maps-discovery/jobs/{jobID} \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.leadsforge.ai/public/v1/maps-discovery/jobs/{jobID}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.leadsforge.ai/public/v1/maps-discovery/jobs/{jobID}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://api.leadsforge.ai/public/v1/maps-discovery/jobs/{jobID}';
const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://api.leadsforge.ai/public/v1/maps-discovery/jobs/{jobID}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.leadsforge.ai/public/v1/maps-discovery/jobs/{jobID}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.leadsforge.ai/public/v1/maps-discovery/jobs/{jobID}")
.header("Authorization", "<api-key>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.leadsforge.ai/public/v1/maps-discovery/jobs/{jobID}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "<api-key>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.leadsforge.ai/public/v1/maps-discovery/jobs/{jobID}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}require 'uri'
require 'net/http'
url = URI("https://api.leadsforge.ai/public/v1/maps-discovery/jobs/{jobID}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"categories": [
"dentist",
"dental clinic"
],
"clientRequestID": "req_12345",
"completedAt": "<string>",
"consumedCredits": 123,
"createdAt": "2026-09-13T12:00:00Z",
"error": "<string>",
"foundCount": 143,
"jobID": "5f1c2e3a-0b1d-4c2e-9f3a-1b2c3d4e5f60",
"keywords": [
"emergency plumber"
],
"language": "en",
"lat": 40.758,
"limit": 200,
"lng": -73.9855,
"radiusKm": 5,
"reservedCredits": 123,
"resultsURL": "/public/v1/maps-discovery/jobs/5f1c2e3a-0b1d-4c2e-9f3a-1b2c3d4e5f60/results",
"status": "in_progress",
"statusURL": "/public/v1/maps-discovery/jobs/5f1c2e3a-0b1d-4c2e-9f3a-1b2c3d4e5f60",
"updatedAt": "2026-09-13T12:01:00Z",
"webhookURL": "https://example.com/webhooks/maps-search"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}Maps discovery
Get maps search job
Free. Synchronous. Returns the status of a local business search job: status is in_progress, then completed, failed or no_results. Requires the job ID returned when the job was created.
GET
/
maps-discovery
/
jobs
/
{jobID}
Get maps search job
curl --request GET \
--url https://api.leadsforge.ai/public/v1/maps-discovery/jobs/{jobID} \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.leadsforge.ai/public/v1/maps-discovery/jobs/{jobID}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.leadsforge.ai/public/v1/maps-discovery/jobs/{jobID}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://api.leadsforge.ai/public/v1/maps-discovery/jobs/{jobID}';
const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://api.leadsforge.ai/public/v1/maps-discovery/jobs/{jobID}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.leadsforge.ai/public/v1/maps-discovery/jobs/{jobID}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.leadsforge.ai/public/v1/maps-discovery/jobs/{jobID}")
.header("Authorization", "<api-key>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.leadsforge.ai/public/v1/maps-discovery/jobs/{jobID}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "<api-key>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.leadsforge.ai/public/v1/maps-discovery/jobs/{jobID}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}require 'uri'
require 'net/http'
url = URI("https://api.leadsforge.ai/public/v1/maps-discovery/jobs/{jobID}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"categories": [
"dentist",
"dental clinic"
],
"clientRequestID": "req_12345",
"completedAt": "<string>",
"consumedCredits": 123,
"createdAt": "2026-09-13T12:00:00Z",
"error": "<string>",
"foundCount": 143,
"jobID": "5f1c2e3a-0b1d-4c2e-9f3a-1b2c3d4e5f60",
"keywords": [
"emergency plumber"
],
"language": "en",
"lat": 40.758,
"limit": 200,
"lng": -73.9855,
"radiusKm": 5,
"reservedCredits": 123,
"resultsURL": "/public/v1/maps-discovery/jobs/5f1c2e3a-0b1d-4c2e-9f3a-1b2c3d4e5f60/results",
"status": "in_progress",
"statusURL": "/public/v1/maps-discovery/jobs/5f1c2e3a-0b1d-4c2e-9f3a-1b2c3d4e5f60",
"updatedAt": "2026-09-13T12:01:00Z",
"webhookURL": "https://example.com/webhooks/maps-search"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}Authorizations
Response
Job status
Was this page helpful?
