Skip to main content
This page demonstrates calling the Enhance Location endpoint to enrich a single address with Ping.Data. Reach for this workflow when one of the following is true:
  • You have a single address and want enriched data returned synchronously in one HTTP call.
  • You’re powering an interactive use case such as a form lookup, address validation, or on-demand enrichment.
  • You don’t want to manage a polling loop or download a result file.
For batches of more than a handful of addresses, use Enhance Multiple Locations instead. The bulk endpoint accepts an array of locations in one request and produces a single downloadable output file. The examples show a simple GET-based call (query parameters) and a minimal Python script you can run locally. sources accepts datasource codes (e.g., PG, PH) from List Datasources, which returns the datasources your account has access to along with each one’s input requirements and geographic coverage. The code blocks allow the user to select from Python or cURL (via terminal) use cases. The sample Python script is available for download at the bottom of the page. Try filling in the blanks (e.g., {id}) to Enhance Location using cURL!

1. Enhance a Single Location

Example code:
enhance_location.py
Example response (truncated):
enhance_location.py

Python Demo

Download a ready-to-run Python demo of this workflow here:                                   Download Python Script here