Geocoding · head-to-head

GeoJS vs OpenStreetMap

GeoJS

GeoJS is a free, no-signup IP geolocation lookup that returns country, city, ASN, and timezone data as JSON or JSONP over HTTPS with open CORS. It's built for simple client-side and ChatOps integrations rather than high-volume commercial traffic, and has no paid tier.

OpenStreetMap

The core OpenStreetMap API serves and edits the raw map database underlying OSM — nodes, ways, and relations — over HTTPS at api.openstreetmap.org. Reading map data requires no authentication at all, while creating or modifying data requires an OAuth 2.0 token tied to an OSM account (the older Basic Auth/OAuth 1.0a login methods were retired in June 2024). It's a general-purpose data API rather than a geocoding service specifically — OSM points address-lookup users to the separate Nominatim service, and bulk-read users to Overpass.

GeoJSOpenStreetMap
AuthenticationNoneNone
Pricingfreefree
FormatsJSON, JSONPXML, JSON
CORSyesyes
HTTPSYesYes

More comparisons