Geocoding APIs
Use Radar's geocoding APIs to convert addresses to latitude and longitude coordinates, or vice versa.
#
QuickstartFirst, sign up for Radar and get an API key.
Then, call one of the geocoding APIs below, either directly or using the SDK.
From there, use the APIs to build location features in your app or website, such as store locators, address autocomplete, or delivery tracking.
#
Endpoints#
Forward geocodingUse the forward geocoding API to convert addresses to coordinates.
This endpoint is best for complete addresses. For partial addresses, call the autocomplete API instead.
Use cases for this endpoint include converting an address to coordinates to drop a pin on a map or search nearby the address.
See the forward geocoding API reference here.
#
Reverse geocodingUse the reverse geocoding API to convert coordinates to an address.
Use cases for this endpoint include displaying an address for a pin dropped on a map.
See the reverse geocoding API reference here.
#
IP geocodingUse the IP geocoding API to convert IP address to city, state, and country.
Use cases for this endpoint include localizing content on a website or in an app without requesting location permissions.
See the IP geocoding API reference here.
#
CoverageRadar's geocoding APIs incorporate both open and commercial datasets for maximum coverage at an affordable price relative to alternatives.
The following table describes data coverage for geocoding APIs, by country, for consumer use cases (e.g., store locators) and logistics use cases (e.g., ride sharing, delivery).
#
LegendIcon | Description |
---|---|
⬤ | Great data quality and availability |
◐ | Good data quality and availability |
◯ | Approximate data quality and availability |
#
CoverageCoarse (city-level) forward and reverse geocoding | Fine (address-level) forward and reverse geocoding | IP geocoding | |
---|---|---|---|
🇺🇸 US (consumer) | ⬤ | ⬤ | ⬤ |
🇺🇸 US (logistics) | ⬤ | ⬤ | ⬤ |
🇨🇦 CA (consumer) | ⬤ | ⬤ | ⬤ |
🇨🇦 CA (logistics) | ⬤ | ⬤ | ⬤ |
🇬🇧 UK (consumer) | ◐ | ◯ | ⬤ |
🇬🇧 UK (logistics) | ◐ | ◯ | ⬤ |
🌎 Other (consumer) | ◐ | ◯ | ⬤ |
🌎 Other (logistics) | ◐ | ◯ | ⬤ |
#
CachingYou can cache API responses for up to 30 days. For more information, see our terms of use here.
#
Report an issueThe Radar team is constantly working to improve data coverage for our geocoding, search, and routing APIs. Bad response? Unexpected error? Report it here, and our team will fix it ASAP.
#
SupportHave questions? We're here to help! Contact us at radar.com/support.