U.S. Address Geocoder avatar
U.S. Address Geocoder
Try for free

3 days trial then $19.00/month - No credit card required now

View all Actors
U.S. Address Geocoder

U.S. Address Geocoder

timgreen/u-s-address-geocoder
Try for free

3 days trial then $19.00/month - No credit card required now

Convert any number of U.S. addresses to latitude and longitude coordinates for a fraction of the cost of the Google Maps Geocoding API. Geocoding 1,000 addresses takes about two minutes and costs pennies.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "addresses": [
8    "1600 Pennsylvania Avenue NW, Washington, DC 20500",
9    "350 Fifth Avenue, New York, NY 10118"
10  ],
11  "proxy": {
12    "useApifyProxy": true
13  }
14}
15EOF
16
17# Run the Actor using an HTTP API
18# See the full API reference at https://docs.apify.com/api/v2
19curl "https://api.apify.com/v2/acts/timgreen~u-s-address-geocoder/runs?token=$API_TOKEN" \
20  -X POST \
21  -d @input.json \
22  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 2 monthly users
  • 3 stars
  • 100.0% runs succeeded
  • Created in May 2024
  • Modified 2 months ago