{"uid":"cap_3Dn1fMDKbGwKJWIjuenzs","slug":"osm-building-footprint-by-coordinate-d05647e8","name":"OSM Building Footprint by Coordinate","description":"OpenStreetMap building footprints via Overpass — give a coordinate (or bounding box) and get building geometry as GeoJSON, footprint area (m²), levels and height by coordinate. Worldwide coverage, OpenStreetMap data.","url":"https://x402-endpoints.onrender.com/osm/building-footprint?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"lat":{"type":"number","description":"Latitude of the point, e.g. 48.8584"},"lon":{"type":"number","description":"Longitude of the point, e.g. 2.2945"},"bbox":{"type":"string","description":"Alternative to lat/lon: 'south,west,north,east' (max ~2km span)"},"radius":{"type":"integer","description":"Search radius in metres [1-200], default 50"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"count":1,"query":{"lat":48.8584,"lon":2.2945,"radius_m":60},"cached":false,"source":"OpenStreetMap via Overpass API (overpass-api.de)","buildings":[{"tags":{"name":"Tour Eiffel","height":"324","building":"tower","addr:city":"Paris","addr:postcode":"75007"},"osm_id":5013364,"centroid":{"lat":48.8582603,"lon":2.2944966},"geometry":{"type":"Polygon","coordinates":[[[2.2942817,48.8576248],[2.2956897,48.8582343],[2.2942817,48.8576248]]]},"osm_type":"way","footprint_area_m2":11288.6}],"timestamp":"2026-06-25T10:00:00Z","attribution":"© OpenStreetMap contributors (ODbL)"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_i64_tObD38_iZVqJobX5_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns OpenStreetMap building geometry as GeoJSON with footprint area, floor count, and height for a given coordinate or bounding box","exampleAgentPrompt":"What does the building footprint look like at the Eiffel Tower — coordinates 48.8584, 2.2945? I need its GeoJSON outline, floor count, height, and footprint area in square meters, with a search radius of 100 metres.","exampleUseCases":null,"resultDescription":"GeoJSON feature(s) for the matching building(s) including polygon geometry, computed footprint area in square metres, number of levels/floors, and estimated height — sourced from OpenStreetMap via Overpass, with worldwide coverage.","failureModes":["No building found at the given coordinate or within the radius — returns empty feature collection","Bounding box exceeds ~2km span limit — returns error","Invalid lat/lon values outside valid range — returns 400 error","Overpass API temporarily overloaded or unavailable — returns 503 or timeout","Missing required lat/lon or bbox parameter — returns 422 validation error"],"whenToPreferThis":"Choose this endpoint when you need building geometry, footprint area, floor count, or height for any location worldwide using OpenStreetMap data. Ideal for urban analysis, real estate enrichment, solar potential preprocessing, navigation, or any geospatial workflow needing building polygons. Prefer over proprietary datasets when open data and global coverage matter more than cadastral precision.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:41:04.266Z","isFirstParty":false,"canonicalSlug":"osm-building-footprint-by-coordinate-d05647e8"}