Tutorials

Language specific tutorials for using the OpenCage Geocoding API

  • ArcGIS API for Javascript

    article on Medium
  • Command line

    using cURL or WGET
  • Excel

  • Google Cloud/Serverless

    article on Medium
  • Google Docs

    geocode inside a Google sheet
  • Java

  • Javascript

  • jQuery

  • Jupyter Notebook

  • Insomnia REST Client

    query our API via Insomnia
  • Leaflet

    add search box to a Leaflet map
  • MATLAB

  • Node.js

  • OpenLayers

    add search box to an OpenLayers map
  • OpenStreetMap: adding an address

  • Perl

  • PHP

  • Postman

    query our API via the Postman app
  • Python

  • R

    rOpenSci tutorial
  • ReactJS

    article on Medium
  • React Native

    article on Learnetto
  • Ruby

  • Rust

  • Thingstream - geocoding device coordinates

  • Stata

  • Vue.js

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