Nearmap API
nearmap.com · Company
High-resolution aerial imagery and AI-derived property attributes API. Insurers use Nearmap in Guidewire PolicyCenter for roof condition assessment, property verification, and change detection — without requiring a physical inspection. Updated multiple times per year across 90%+ of the US population.
Authentication
Parameter name: apikey (in query)
Sample Requests
Returns the latest aerial image tile for a map coordinate. Used to display property imagery in Guidewire ClaimCenter or PolicyCenter.
Hover any highlighted part to learn what it does
curl -X GET "https://api.nearmap.com/tiles/v3/{tileResourceType}/{z}/{x}/{y}.img?apikey=YOUR_API_KEY"import requests
params = {
"apikey": "YOUR_API_KEY"
}
response = requests.get(
"https://api.nearmap.com/tiles/v3/{tileResourceType}/{z}/{x}/{y}.img",
params=params,
)
print(response.json())const url = new URL('https://api.nearmap.com/tiles/v3/{tileResourceType}/{z}/{x}/{y}.img');
url.searchParams.set('apikey', 'YOUR_API_KEY');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.nearmap.com/tiles/v3/{tileResourceType}/{z}/{x}/{y}.img")
q := baseURL.Query()
q.Set("apikey", "YOUR_API_KEY")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
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.nearmap.com/tiles/v3/{tileResourceType}/{z}/{x}/{y}.img")
uri.query = URI.encode_www_form({
"apikey" => "YOUR_API_KEY"
})
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.nearmap.com/tiles/v3/{tileResourceType}/{z}/{x}/{y}.img?" . http_build_query([
"apikey" => "YOUR_API_KEY"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Returns AI-detected property features: roof condition, material, area, solar panels, pools, and hazard indicators — for a given address or coordinate.
Hover any highlighted part to learn what it does
curl -X GET "https://api.nearmap.com/ai/v4/features?packs=building_char%2Croof_char&point=-96.7970%2C32.7767&apikey=YOUR_API_KEY"
import requests
params = {
"packs": "building_char,roof_char",
"point": "-96.7970,32.7767",
"apikey": "YOUR_API_KEY"
}
response = requests.get(
"https://api.nearmap.com/ai/v4/features",
params=params,
)
print(response.json())const url = new URL('https://api.nearmap.com/ai/v4/features');
url.searchParams.set('packs', 'building_char,roof_char');
url.searchParams.set('point', '-96.7970,32.7767');
url.searchParams.set('apikey', 'YOUR_API_KEY');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.nearmap.com/ai/v4/features")
q := baseURL.Query()
q.Set("packs", "building_char,roof_char")
q.Set("point", "-96.7970,32.7767")
q.Set("apikey", "YOUR_API_KEY")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
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.nearmap.com/ai/v4/features")
uri.query = URI.encode_www_form({
"packs" => "building_char,roof_char",
"point" => "-96.7970,32.7767",
"apikey" => "YOUR_API_KEY"
})
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.nearmap.com/ai/v4/features?" . http_build_query([
"packs" => "building_char,roof_char",
"point" => "-96.7970,32.7767",
"apikey" => "YOUR_API_KEY"
]);
$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
- Sign up for a free trial at https://nearmap.com/free-trial
- Get your API key from the Nearmap Account Portal
- Coverage checker: https://nearmap.com/content/nearmap-coverage
- Tile API uses standard XYZ/TMS tile coordinates — use a lat/lng to tile converter
- AI Features API takes a coordinate point: longitude,latitude format
- packs parameter controls which AI attributes to return (roof_char, building_char, vegetation)
- Guidewire Marketplace accelerator available for PolicyCenter integration
What can you build with Nearmap API?
Nearmap API 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
API Key authentication. You'll receive a key after signing up. Send it with every request — in a header or query parameter. Keep it out of client-side code and never commit it to version control. Nearmap API is free to use up to a usage limit, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?