Trusted by 1000+ Customers

  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid
  • Postgrid

See Our Address Autocomplete Feature for U.S., Canada, and
Global Addresses in Action

Automatically fill out address fields with correct, deliverable information

TRY IT OUT

output Address result

TRY FOR FREE. SIGN UP FOR ADDRESS AUTOCOMPLETE API

Geocoding API Sample Requests

Integrate geocoding into your workflow on request.

cURL

Copy
Loading

cURL

Copy
Loading

cURL

Copy
Loading

cURL

Copy
Loading

cURL

Copy
Loading
READ OUR FULL API DOCS HERE

Geocoding API Response Inputs

If the query parameter is successfully supplied, the response will include a geocodeResult which has the following schema:

Name Type Description
location Object Object that contains lat, lng properties with number values
accuracy number A real number from 0.00 to 1.00 that represents an accuracy score
accuracyType string A string representing the accuracy type

Accuracy Score
This real number value from 0.00 to 1.00 represents our confidence in the geocodes. Generally speaking, scores larger than 0.8 are quite accurate. Anything below could be a rough match.

Accuracy Type

One of the following values:

Posten Norge Address Validation
  • Rooftop, indicating that the exact point was found
  • Point indicating that the exact point was found within a range of addresses
  • Range_interpolation indicating that we used interpolation to generate the result (still fairly accurate)
  • Nearest_rooftop_match, indicating we found a nearby rooftop point and used that
  • Intersection, indicating we found a street intersection at the point
  • Street_center indicating we used the center of the closest street
  • Place indicating that the point was a city/town/place
  • State indicating that the point was just a state

Validate Millions of Addresses Across the U.S., Canada, and Other Countries

Get API Access
99
Uptime SLA
245
Countries & Territories
1
Addresses Processed
120
Default Rate Limit

How Does Geocoding API Work?

Contact Support

Reach out to the PostGrid support team to request geocoding activation on your existing account. No new signup required.

Feature Enabled

Our team enables the geocoding add-on on your account and confirms your API key is authorized to return coordinate data.

Add the Parameter

Add geocode=true as a query parameter to any existing verification POST request. No new endpoint needed.

Verify & Geocode

PostGrid validates the address against USPS CASS and Canada Post SERP records, then returns a geocodeResult with precise lat/lng.

Map & Integrate

Feed geocode data into your routing engine, CRM, or mapping platform for last-mile delivery, analytics, or location services.

Geocoding API Features Your Platform Needs

Secure precise location data backed by verified, postal-certified address records

01

Global Coverage

Access verified geocode data for addresses across 245+ countries and territories with consistent international address formatting.

02

CASS & SERP Certified

Every geocoded address is validated against official USPS and Canada Post records before coordinates are returned, ensuring per-address deliverability.

03

Forward Geocoding

Convert any mailing address into exact latitude and longitude coordinates. Returned in every verification response when geocode=true is set.

04

Accuracy Scoring

Every geocode result includes an accuracy score (0.00–1.00) and accuracy type: rooftop, range interpolation, street center, and more for precision.

05

Bulk Geocoding

Upload address lists via CSV to receive coordinate data in a batch. Designed for large-scale database enrichment.

06

NCOA Integration

Cross-reference addresses with USPS National Change of Address data before geocoding, ensuring coordinates always reflect the most current, deliverable location.

07

Sub-Premise Accuracy

Go beyond street level and retrieve coordinates pinpointed to specific apartment, suite, or unit addresses for precise last-mile delivery targeting.

08

Timezone & Census Data

Pair geocoding with includeDetails=true to receive timezone, US Census tract, congressional district, carrier route, and residential/vacant flags alongside coordinates.

09

ZIP+4 Lookup

Append the extra four digits to ZIP codes for the highest level of postal routing accuracy before geocoding is applied to the verified address.

10

DPV Confirmation

Perform real-time Delivery Point Validation as part of the same request before geocoding to confirm every address is physically serviceable by the post office.

11

Native Integrations

Connect geocoding data with 1,600+ apps via Zapier, including HubSpot, Shopify, Salesforce, and more. No custom coding required.

12

Dashboard Analytics

Monitor geocoding request volume, success rates, and error breakdowns directly in the PostGrid developer console.

Benefits of Geocoding API

Eliminate Coordinate Errors

Geocoding unverified addresses generates inaccurate coordinates. PostGrid validates every address against USPS and Canada Post records before converting to lat/lng, ensuring your data is precise and reliable.

Optimize Routing and Delivery

Feed verified geocodes into your routing engine to reduce delivery time, cut fuel costs, and improve last-mile efficiency. Pinpoint-accurate coordinates mean fewer failed deliveries and driver detours.

Location Analytics

Map your customer base geographically, identify regional demand patterns, and build data-driven territory strategies using verified coordinate data appended to your CRM records.

Enrich Your Database at Scale

Append latitude and longitude to any volume of existing address records through bulk geocoding with NCOA validation, ensuring every coordinate reflects the most current, deliverable address on file.

Support Global Operations

Standardize and geocode addresses from 245+ countries and territories within a single API. A consistent coordinate format simplifies international expansion and cross-border logistical planning.

Geocoding API Use Cases

Last-Mile Delivery Optimization

  • Capture exact latitudinal and longitudinal data to optimize routing and reduce transit time
  • Differentiate between residential and business addresses to assign appropriate delivery windows
  • Detect missing suite or unit numbers before dispatch to prevent failed delivery attempts

Customer & Territory Mapping

  • Visualize customer distribution geographically to identify regional demand clusters
  • Assign sales territories and field service zones based on verified coordinate boundaries
  • Track location-based performance metrics across regions, zip codes, and countries
Canada Post Address Validation

Real-Time Address Geocoding in Forms

  • Geocode customer addresses at checkout or intake to capture coordinates at the point of entry
  • Verify and standardize address input before assigning coordinates to prevent dirty data
  • Populate lat/long fields automatically in your CRM, ERP, or logistics platform

Database Enrichment & Cleansing

  • Add geocodes to existing address records in bulk to enable location-based queries
  • Cross-check all addresses against USPS NCOA data to flag outdated or undeliverable entries
  • Ensure global consistency by standardizing address formats across 245+ countries and territories before geocoding
hipaa data privacy

Leveraged by Ecommerce, Healthcare, Financial Services, Insurance, and Several Other Sectors

With a 5-star rating on G2, our Address Autocomplete API can auto-fill, standardize, validate, and verify and geocode delivery addresses for any use case.

Read the Case Study

Ecobee

This smart home technology leader integrated PostGrid to increase ROI by 15%, using the API to fix raw address data and eliminate redundant entries across their customer database

Read the Case Study

TalentReef

A leading talent management platform, TalentReef implemented PostGrid's address validation to clean and deduplicate candidate data, ensuring higher data integrity across its recruitment pipeline.

Read the Case Study

Leon’s

PostGrid's CASS & SERP certified API helped Leon standardize supplier addresses and streamline cross-border operations, significantly reducing order reconciliation errors.

Enterprise-Grade Compliance and Data Security

HIPAA

PIPEDA

GDPR

SOC 2 TYPE 2

PCI-DSS

Data Encryption

Audit Logs

Role-Based Access Control

Secure Hosting on AWS

Single Sign-On

Third-Party Penetration Testing

Continuous Monitoring

Integrates with Your Favorite Tech Stack & Tools

Easily Improve your workflow and automate print & mail through seamless integration capabilities.

salesforce logo
PostGrid Marketo
Post Grid Eloqua
PostGrid Hubspot
sap
microsoft dynamic
activecampaign
insightly
keap
zoho
pipedrive
twilio
netsuit
close.io
zapier

Frequently Asked Questions

What is a Geocoding API, and How Does It Work?

A geocoding API converts a mailing address into latitude and longitude coordinates. PostGrid verifies and standardizes every address against USPS and Canada Post records before returning coordinates, so that the location data always reflects a real, deliverable address.

What is the Difference Between Geocoding and Reverse Geocoding?

Geocoding converts an address into coordinates. Reverse geocoding does the opposite, taking a latitude and longitude and returning the closest matching readable address. PostGrid supports both within the same verified address infrastructure.

How Accurate are PostGrid's Geocoding Results Compared to Google Maps API?

Google Maps geocodes against map data, which can return coordinates for non-deliverable locations. PostGrid only geocodes addresses verified against USPS CASS and Canada Post SERP records, which ensures that every coordinate corresponds to an address the post office confirms as deliverable.

Does PostGrid's Geocoding API Work for International Addresses?

Yes. PostGrid supports geocoding across 245+ countries and territories, standardizing every address to the destination country's postal format before returning coordinates.

How Does PostGrid's Geocoding API Pricing Compare to Google Maps API?

Google Maps charges separately for geocoding, address validation, and map usage. PostGrid bundles geocoding directly into the address verification request as one additional lookup, making it more cost-effective for businesses already verifying addresses at scale.

Featured In

Media & Press

Ready to Get Started?

Start transforming and automating your offline communications with PostGrid

SIGN UPREQUEST A DEMO