Geocodify

Geocodify

  • Category: Geocoding


Geocodify API Documentation

Geocodify provides a public API to enable developers to easily access geocoding services. The API is well-documented and can be accessed using HTTP/REST requests. This article gives a brief overview of the Geocodify API documentation and provides some example API requests using JavaScript.

API Documentation Overview

The Geocodify API documentation consists of many endpoints that can be used to perform geocoding operations. These endpoints provide various ways to search for an address, or reverse geocode a coordinate. Here are some of the main endpoints for using the Geocodify API:

  • Forward geocoding: This endpoint allows users to search for the geographic coordinates of an address by passing an address string as a parameter.

  • Reverse geocoding: This endpoint enables users to get the nearest street address and other location details by passing in geographic coordinates as input.

  • Batch geocoding: This endpoint allows users to submit multiple forward or reverse geocoding requests at the same time.

  • Autocomplete: This endpoint provides auto-suggestions of places or addresses as users type a query.

Example API Requests Using JavaScript

Here are some examples of how to perform HTTP requests using JavaScript to access the Geocodify API:

Forward Geocoding Request

const address = '123 Main St, New York, NY';
const key = 'your_geocodify_api_key';

fetch('https://api.geocodify.com/v1/forward', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'Authorization': `Bearer ${key}`
  },
  body: JSON.stringify({address})
})
  .then(response => response.json())
  .then(json => console.log(json));

Reverse Geocoding Request

const lat = 37.9358;
const lng = -122.3478;
const key = 'your_geocodify_api_key';

fetch(`https://api.geocodify.com/v1/reverse?lat=${lat}&lng=${lng}`, {
  headers: {
    'Authorization': `Bearer ${key}`
  }
})
  .then(response => response.json())
  .then(json => console.log(json));

Batch Geocoding Request

const addresses = ['123 Main St, New York, NY', '456 Elm St, Los Angeles, CA'];
const key = 'your_geocodify_api_key';

fetch('https://api.geocodify.com/v1/batch-forward', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'Authorization': `Bearer ${key}`
  },
  body: JSON.stringify({addresses})
})
  .then(response => response.json())
  .then(json => console.log(json));

Autocomplete Request

const query = 'Central Park';
const key = 'your_geocodify_api_key';

fetch(`https://api.geocodify.com/v1/autocomplete?q=${query}`, {
  headers: {
    'Authorization': `Bearer ${key}`
  }
})
  .then(response => response.json())
  .then(json => console.log(json));

Conclusion

The Geocodify API provides a simple and convenient way of accessing geocoding services. The API documentation is well-documented and provides many endpoints for performing geocoding operations, including forward and reverse geocoding, batch geocoding, and autocomplete. By using the API, developers can quickly integrate geocoding capabilities into their own applications, and perform simple, customizable searches for geolocation data.

Visit to Geocodify website

Similar APIs of Geocoding

Walk Score

Walk Score

Geocoding

Calculates travel times between an origin and a set of destinations. Visualize travel times on a map and supports walking, public transit, driving, and biking times. Calls to the Travel Time HTTP API must be made from a server-side script.

distancetransitmap

IPGeolocation API

IPGeolocation API

Geocoding

ipgeolocation.io API provides IP to Location information such as country, city, state, province, latitude and longitude, company detail, ISP lookup, threat intelligence information, tor, VPN and proxy data. It also provides user agent lookup information, sun rise, sun set and moon set, moon rise timings. All APIs support REST JSON and XML formats.

IPGeoIPIP

Abstract Geolocation API

Abstract Geolocation API

Geocoding

Abstract IP geolocation API provides developers from small startups to big technology companies with a fast and robust API to get the location of any IP worldwide. With Abstract, you can get the city, region and country of any IP. In addition, Abstract IP Geolocation API provides you with timezone and coordinates data so you can build the most delightful experience for your developers. Whether it's for content personalisation, fraud detection or GDPR compliance, Abstract covers a variety of use cases thanks to its extensive and robust platform currently used by 100,000 developers worldwide in companies like Google or Shopify. Freelancers and indiehackers can enjoy an extensive free plan serving up to 20,000 calls per month.

ipgeolocationip

ArcGIS World Geocoding Services

ArcGIS World Geocoding Services

Geocoding

The World Geocoding Service finds addresses and places from a single endpoint.

geocodingmappingarcgis

Geolake

Geolake

Geocoding

Easy to use geocoding API with best-in-class accuracy. Provides both API based geocoding as well as via CSV batch upload. Can return ZIP+4 values for US addresses, geocode IP addresses and phone numbers based on the data that is available. Data returned may include the top level domain for a country, currency and time zone for the location.

geocodegeocodergeolake

IP Geolocation API

IP Geolocation API

Geocoding

Free IP Geolocation and IP Address Lookup Location API.

ipgeocodingapi

Maps Me

Maps Me

Geocoding

API is designed to allow integrating the offline maps with your iOS or Android app. The best part is that MAPS.ME code is completely open, and you can hack it to your needs!

ipgeocodingapi

IP Api

IP Api

Geocoding

Find location with ip address

ipgeocodingapi

International Street Address API

International Street Address API

Geocoding

Convert addresses into proper USPS or international address format

streetaddressip

IP Geolocation

IP Geolocation

Geocoding

Free IP API provides country, city, state, province, local currency, latitude and longitude, company detail, ISP lookup, language, zip code, country calling code, time zone, current time, sunset and sunrise time, moonset and moonrise time from any IPv4 and IPv6 address in REST, JSON and XML format over HTTPS.

ipgeolocationcity