MapIron Maps (formerly PinSharing)

v1.0.3
com.pinsharing/maps Checked 2 days ago Published 25 days ago

Renamed: now com.mapiron/maps.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

geocode Geocode an address or place

Look up an address, place name or point of interest and get coordinates (lat, lon), a readable label and address parts, from OpenStreetMap data. Use it before static_map or privacy_area_map when you only have an address. Counts 1 address lookup against the account's monthly cap. Results may be stored: up to 30 days on the Free plan, indefinitely on paid plans. Show "© OpenStreetMap contributors" with results.

ParameterTypeDescription
query *stringAddress, place or point of interest, e.g. "233 S Wacker Dr, Chicago" or "Oswego, Illinois"
bboxarray[min_lon, min_lat, max_lon, max_lat]
langstringPreferred language for names, e.g. en, de, fr
limitintegerMaximum number of matches
nearobjectPrefer matches near this point

reverse_geocode Find the address at a point

Find the nearest address or place to a latitude/longitude, from OpenStreetMap data. Counts 1 address lookup against the account's monthly cap. Same storage terms and attribution as geocode.

ParameterTypeDescription
lat *numberLatitude of the point to look up, in decimal degrees (WGS84)
lon *numberLongitude of the point to look up, in decimal degrees (WGS84)
langstringPreferred language for names, e.g. en, de, fr
limitintegerMaximum number of nearby addresses or places to return

static_map Render a static map image

Render a map as an image (returned inline) with optional pins (markers) and a line (path, e.g. a route). Give center and zoom, or just markers and/or path and the view is fitted automatically. Also returns a reusable image URL for web pages (add your key). Counts 1 static image against the account's monthly cap. Do not use this to show a private address such as someone's home; use privacy_area_map instead.

ParameterTypeDescription
centerobjectMap centre; use with zoom
formatstringImage format. jpg and webp are smaller than png
heightintegerImage height in CSS pixels
markersarrayPins to draw
paddingintegerSpace in pixels kept around markers and paths when the view is fitted automatically
parcel_idstringHighlight one parcel (a parcel_id from parcel_lookup, e.g. us-37183-0794123456); the view fits it if no center is given
parcelsbooleanDraw property parcel lines (visible from zoom 13; Business plans and up). Not available on privacy_area_map
patharrayA line through these points, in order
scaleintegerPixel density: 2 renders a sharper image for high-density screens at double the pixel size
stylestringMap style: light (default), dark, white or grayscale
widthintegerImage width in CSS pixels
zoomnumber0 = world, 10 = city, 15 = streets, 18 = buildings

parcel_lookup Find the property parcel at a point

Get the property parcel (lot) at a latitude/longitude, or by parcel_id: its boundary, the county parcel number (APN), area in m² and acres, and the public source and date. US coverage from open government data only (see mapiron.com/docs/parcels for the counties covered); owner names and values are never included. Lines are approximate and not a survey. Business plans and up; counts 1 address lookup. Results from open-licensed sources may be stored indefinitely on paid plans.

ParameterTypeDescription
geometrystringBoundary detail: simplified (about 1 m, smaller), full, or none
latnumberLatitude of a point inside the parcel (use with lon)
lonnumberLongitude of a point inside the parcel (use with lat)
parcel_idstringA parcel_id from an earlier lookup, e.g. us-37183-0794123456 (instead of lat/lon)

district_lookup Find Texas and Colorado special taxing districts (MUD, WCID, PID, metro district) at a point

List the Texas special taxing districts that contain a latitude/longitude: municipal utility districts (MUD), water control and improvement districts (WCID), fresh water supply, levee and management districts statewide (TCEQ), and public improvement districts (PID) where cities publish them (coverage in the answer). For each: name, type, status, counties, the district's self-reported tax rate per $100 of taxable value with its report year, outstanding debt (Texas Comptroller), website, and the statute for the purchaser's notice (Texas Water Code §49.452 or Property Code §5.014). Colorado: ev…

ParameterTypeDescription
lat *numberLatitude of the property (a point inside the parcel is best)
lon *numberLongitude of the property
geometrystringInclude each district's boundary
include_inactivebooleanAlso list inactive or dissolved districts

location_profile Get demographics, housing, market and hazard data for the area around a US address

A source-cited profile of the area around a US address or point (50 states, DC and Puerto Rico): population, density, age, households, income, poverty, education, employment, commute, housing units, vacancy, owner/renter share, home value, rents, rent burden, year built, building types (Census ACS 2020-2024 5-year estimates, at block group by default), population growth (Census estimates), home price change over 1 and 5 years (FHFA House Price Index by ZIP, county or metro), the latest monthly county unemployment rate (BLS) and natural hazard risk ratings for 18 hazards (FEMA National Risk Ind…

ParameterTypeDescription
addressstringA US street address, e.g. "1455 Riverside Dr, Austin TX" (or use lat and lon)
fieldsarrayField keys or sections (people, income, education_work, housing, growth, market, risk); default: everything. Field keys: GET https://api.mapiron.com/v1/location/fields
latnumberLatitude (use with lon instead of address)
lonnumberLongitude (use with lat)
scalestringThe smallest area to describe; fields without data at that scale come from the next larger area

directions Get a driving, truck, cycling or walking route in the US

Route between 2 to 25 points in the United States, in the order given, by car, truck, bike or foot (OpenStreetMap roads, Valhalla engine). Returns distance in metres, duration in seconds and the route line as an encoded polyline (precision 6); steps=true adds turn-by-turn instructions. Travel times are free-flow estimates with no live traffic: never present them as a live ETA. Geocode addresses first (geocode tool). Counts 1 address lookup against the monthly cap.

ParameterTypeDescription
points *arrayStops in travel order, each [lat, lon]
alternativesintegerExtra alternative routes (2 points only)
avoidarrayKinds of road to avoid where possible
profilestringHow to travel: car, truck (keeps to roads trucks may use), bike or foot
stepsbooleanInclude turn-by-turn instructions

isochrone Map the area reachable within a travel time or distance

Polygons of the area reachable from a US point within given travel times (minutes, up to 60) or distances (km, up to 100), by car, truck, bike or foot: service areas, delivery zones, commute sheds, catchments. Up to 4 contours; returned as GeoJSON. Free-flow travel times, no live traffic. Counts 2 address lookups per contour.

ParameterTypeDescription
lat *numberLatitude of the starting point
lon *numberLongitude of the starting point
avoidarrayKinds of road to avoid where possible
kmarrayTravel-distance contours instead of times
minutesarrayTravel-time contours, e.g. [10, 20, 30]
profilestringHow to travel: car, truck (keeps to roads trucks may use), bike or foot

distance_matrix Travel times and distances between many US points

Travel time (seconds) and road distance (metres) from each source to each target in the United States: up to 50 sources and 50 targets, 2,500 pairs at most. Omit targets for every source to every other. Use it to pick the nearest store or driver, or to feed a route optimiser. null means no route. Free-flow times, no live traffic. Counts 1 address lookup per pair.

ParameterTypeDescription
sources *arrayOrigins, each [lat, lon]
avoidarrayKinds of road to avoid where possible
profilestringHow to travel: car, truck (keeps to roads trucks may use), bike or foot
targetsarrayDestinations, each [lat, lon] (default: the sources)

privacy_area_map Map an approximate area without revealing the exact point

Show roughly where a place is without revealing the exact point. The point is snapped to a grid and drawn as a shaded circle that always contains the true point, with no pin; every address in the same grid cell gets the identical image, so the exact location cannot be recovered or averaged out across listings. Use it for real-estate, rental and marketplace listings, people's homes, or any location that should stay private. The image is returned inline, with a reusable URL that contains only the snapped point. Counts 1 static image against the account's monthly cap.

ParameterTypeDescription
lat *numberLatitude of the exact place to hide. It is snapped to the grid before use and never returned
lon *numberLongitude of the exact place to hide. It is snapped to the grid before use and never returned
colorstringCircle colour as hex, e.g. 0f766e
formatstringImage format. jpg and webp are smaller than png
heightintegerImage height in CSS pixels
radius_mnumberMinimum circle radius in metres; it is raised if needed so the circle always contains the true point
scaleintegerPixel density: 2 renders a sharper image for high-density screens at double the pixel size
snap_degnumberGrid size in degrees (0.01 is about 1 km). 0 turns snapping off and is not recommended
stylestringMap style: light (default), dark, white or grayscale
widthintegerImage width in CSS pixels

map_setup Get code to show an interactive map

Get ready-to-paste HTML/JavaScript for an interactive, zoomable MapIron map in a web page (MapLibre GL JS vector map, Leaflet or OpenLayers raster map), or the raster tile URL template for any other library. Replace YOUR_KEY with a key restricted to the website. Needs no key and uses no quota; the map itself counts map tiles when viewed.

ParameterTypeDescription
library *stringmaplibre = vector map (sharpest); leaflet or openlayers = raster tiles; tile_url = just the XYZ URL template
stylestringMap style: light (default), dark, white or grayscale