Find an API

Search public APIs with auth details & Postman guides

← All APIs

Nearmap API

nearmap.com · Company

Company API Key Free Tier Insurance Real Estate Construction Aerial Imagery Property Insurance

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

API Key API key from your Nearmap account. Passed as a query parameter. Free trial available at nearmap.com/free-trial.

Parameter name: apikey (in query)

Sample Requests

GET Get latest imagery tile

Returns the latest aerial image tile for a map coordinate. Used to display property imagery in Guidewire ClaimCenter or PolicyCenter.

https://api.nearmap.com/tiles/v3/{tileResourceType}/{z}/{x}/{y}.img?apikey=YOUR_API_KEY

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));
GET Get AI property attributes

Returns AI-detected property features: roof condition, material, area, solar panels, pools, and hazard indicators — for a given address or coordinate.

https://api.nearmap.com/ai/v4/features?packs=building_char,roof_char&point=-96.7970,32.7767&apikey=YOUR_API_KEY

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

Get Postman ↗
  1. Sign up for a free trial at https://nearmap.com/free-trial
  2. Get your API key from the Nearmap Account Portal
  3. Coverage checker: https://nearmap.com/content/nearmap-coverage
  4. Tile API uses standard XYZ/TMS tile coordinates — use a lat/lng to tile converter
  5. AI Features API takes a coordinate point: longitude,latitude format
  6. packs parameter controls which AI attributes to return (roof_char, building_char, vegetation)
  7. 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?

Open documentation ↗