By survey resource
Non-post-cat damage for AOI
GET https://api.nearmap.com/ai/features/v4/surveyresources/ab7b076b-0e33-580c-9e70-234bbe086350/features.json?include=all&packs=damage_non_postcat&polygon=138.63535948097706%2C-34.77207515216363%2C138.63535344600677%2C-34.77207074568428%2C138.63538563251495%2C-34.772035493840974%2C138.6353239417076%2C-34.771998589551366%2C138.63530717790127%2C-34.77201456305186%2C138.63525688648224%2C-34.771984268479315%2C138.63517574965954%2C-34.77207570297354%2C138.6351764202118%2C-34.77207570297354%2C138.63516502082348%2C-34.772088371600276%2C138.6351891607046%2C-34.772102692654265%2C138.635169044137%2C-34.77212692827843%2C138.6351965367794%2C-34.77214510499188%2C138.63520190119743%2C-34.77213849527835%2C138.63526158034801%2C-34.77217374707768%2C138.6352937668562%2C-34.77213849527835%2C138.63529980182648%2C-34.77214180013518%2C138.63532796502113%2C-34.77211481046724%2C138.6353588104248%2C-34.77207570297354%2C138.63535948097706%2C-34.77207515216363&parcelMode=true
As this is a non-post-cat resource, the damage_non_postcat
pack is used. Non-post-cat packs can only be used to access non-post-cat resources, and vice versa. The classes
query parameter, however, can be used to access resources of both types.
Post-cat damage for address
GET https://api.nearmap.com/ai/features/v4/surveyresources/09aee77b-3f6e-5077-b9ec-036da962642e/features.json?packs=damage&include=damage&systemVersionPrefix=gen6&until=2025-01-25&streetAddress=15102 ALBRIGHT ST&city=PACIFIC PALISADES&state=CA&zip=90272&country=US&since=2025-01-02
As this is a post-cat resource, the damage
pack is used.
By date
Post-cat damage for AOI with date parameters
As packs=damage
is set, this will return post-cat resources only.
GET https://api.nearmap.com/ai/features/v4/features.json?polygon=-118.52957582603341,34.03700470919965,-118.52961481356054,34.03685932290679,-118.52916125866173,34.03678178344846,-118.52910927529241,34.03692609293881,-118.52957582603341,34.03700470919965&packs=damage&include=damage&systemVersionPrefix=gen6&since=2025-01-01&until=2025-01-14
Non-post-cat damage for AOI with date parameters
As packs=damage_non_postcat
is set, this will return non-post-cat resources only.
GET https://api.nearmap.com/ai/features/v4/features.json?polygon=-118.52957582603341,34.03700470919965,-118.52961481356054,34.03685932290679,-118.52916125866173,34.03678178344846,-118.52910927529241,34.03692609293881,-118.52957582603341,34.03700470919965&packs=damage_non_postcat&include=damage&systemVersionPrefix=gen6&since=2025-01-01&until=2025-01-14&parcelMode=true
Damage for address with date parameters
GET https://api.nearmap.com/ai/features/v4/features.json?packs=damage_non_postcat&include=damage&systemVersionPrefix=gen6&until=2025-01-25&streetAddress=15102 ALBRIGHT ST&city=PACIFIC PALISADES&state=CA&zip=90272&country=US&since=2025-01-02&parcelMode=true
Damage for address with date parameters and rapid set to true
GET https://api.nearmap.com/ai/features/v4/features.json?packs=damage_non_postcat&include=damage&systemVersionPrefix=gen6&until=2025-01-25&streetAddress=15102 ALBRIGHT ST&city=PACIFIC PALISADES&state=CA&zip=90272&country=US&since=2025-01-02&parcelMode=true&rapid=true
Damage for address with date parameters and class and rapid set to true
GET https://api.nearmap.com/ai/features/v4/features.json?polygon=-118.52957582603341,34.03700470919965,-118.52961481356054,34.03685932290679,-118.52916125866173,34.03678178344846,-118.52910927529241,34.03692609293881,-118.52957582603341,34.03700470919965&rapid=true&include=damage&systemVersionPrefix=gen6&since=2025-01-01&until=2025-01-14&classes=91987430-6739-5e16-b92f-b830dd7d52a6&parcelMode=true
This request uses the class ID of Building Lifecycle (91987430-6739-5e16-b92f-b830dd7d52a6
) manually instead of via the damage
or damage_non_postcat
packs.
Damage for address with supplementary sources included
GET https://api.nearmap.com/ai/features/v4/features.json?polygon=-118.52957582603341,34.03700470919965,-118.52961481356054,34.03685932290679,-118.52916125866173,34.03678178344846,-118.52910927529241,34.03692609293881,-118.52957582603341,34.03700470919965&packs=damage_non_postcat,building,roof_cond&include=damage,roofSpotlightIndex&systemVersionPrefix=gen6&since=2025-01-01&until=2025-01-14&parcelMode=true
This request includes other content such as the building
and roof_cond
packs as well as the roofSpotlightIndex
supplementary data source so rapid=true
cannot be set for this request.
By date with AOI in POST request body
POST https://api.nearmap.com/ai/features/v4/features.json?rapid=true&packs=damage&include=damage&systemVersionPrefix=gen6&parcelMode=true&since=2022-10-01&until=2022-10-29
With body:
{
"aoi": {
"type": "Polygon",
"coordinates": [
[
[
-80.06298,
32.812025
],
[
-80.06301,
32.811982
],
[
-80.063171,
32.81206
],
[
-80.063133,
32.812116
],
[
-80.06298,
32.812025
]
]
]
}
}
Only the property aoi
is supported in the POST body.