Tutorials, Code Libraries, and Plugins

Tools for accessing the OpenCage geocoding API

We have many different libraries and plugins for interacting with our API


  • Command line

    using cURL or WGET
  • Excel

  • Google Cloud/Serverless

    article on Medium
  • Google Docs

    geocode inside a Google sheet
  • Switching from Google Maps

  • Java

  • Javascript

  • jQuery

  • Jupyter Notebook

  • Insomnia REST Client

    query our API via Insomnia
  • Leaflet

    add search box to a Leaflet map

  • Switching from Nominatim

  • Node.js

  • OpenLayers

    add search box to an OpenLayers map
  • Perl

  • PHP

  • Postman

    query our API via the Postman app
  • Python

  • ReactJS

    article on Medium
  • React Native

    article on Learnetto
  • Ruby

  • Rust

  • Stata

Libraries / SDKs

Written and supported by OpenCage

Don't see your favorite language or framework? Please write a library, and we will gladly feature it here. Please follow the library guidelines.

Third-party integrations

  • CesiumJS

    CesiumJS is a JavaScript library for creating 3D globes and 2D maps. You can configure OpenCage as your GeocoderSerivce.
  • Cirkwi

    Cirkwi distributes travel and tourism information. You can easily integrate the data on your website or mobile application as a map search engine. The service uses the OpenCage API and offers customers a 10% discount on their OpenCage subscription.

    Read the instructions on the Cirkwi blog.
  • GSAK

    GSAK (Geocaching Swiss Army Knife) is a software commonly used by geocachers. If that's your idea of fun, you can configure the software to use OpenCage as your reverse geocoder. Happy geocaching!
  • GraphHopper

    GraphHopper is an open source routing engine. You can configure OpenCage as an external geocoding provider.
  • Love Spreadsheets

    Love Spreadsheets takes the pain out of dealing with spreadsheets. If you have spreadsheets full of addresses that need geocoding, they can quickly and affordably handle that for you.
  • OpenGTS and GTS Enterprise

    OpenGTS is an open source web-based service for GPS tracking a fleet of vehicles. GTS Enterprise is the pro version. In both versions users can integrate OpenCage as their reverse geocodering engine. We offer GTS Enterprise customers a 10% discount on any of our paid plans, please ask GTS for the discount code.
  • OwnTracks

    OwnTracks is an open-source location recording software, designed to allow you to privately store and share your location with friends and family. OwnTracks users can use OpenCage for reverse geocoding their locations in OwnTracks Recorder.
  • thethings.iO

    thethings.iO is an internet of things platform for monitoring devices of all types. Users of the service can easily integrate OpenCage as their reverse geocoding provider. Here is a detailed blog post about how to integrate OpenCage. Ask thethings.iO for a discount code for a 10% lifetime discount on any of our paid packages.
  • Traccar

    Traccar is a free and open source GPS tracking platform. Traccar users can integrate the OpenCage geocoder as their reverse geocoder. We are pleased to offer a 10% lifetime discount to all Traccar customers on any of our paid packages. Details here.
  • WhereAmI

    Want to see where your Mac thinks you are? Use Rob Mather's open source WhereAmI command line tool to generate geographic coordinates from OS X and then use OpenCage to turn those coordinates into location information. Here's a detailed blog post with examples.
  • Yellowfin

    Yellowfin is a Business Intelligence & Analytics platform which allows end users to perform enterprise reporting, dashboarding, advanced analytics, and collaboration. Users can configure OpenCage as a reverse geocoding provider to transform their data during the data preparation phase.

Do you operate a service that needs geocoding? Please get in touch, we would love to integrate with you.

Start your free trial

2,500 API requests per day.

No credit card required.

This image shows the node density of OpenStreetMap data in summer 2015.
It's one of many data sources we use.

Data © OpenStreetMap contributors, Imagery © Martin Raifer, cc-by
Open as larger interactive map
OpenStreetMap node coverage