Code Libraries / SDKs

Access the OpenCage Geocoding API via your favorite language

AWS Lambda
C
C++
Clojure
Cloudflare Workers
ColdFusion (CFML)
Dart
Elixir
Erlang
GatsbyJS
Go
Haskell
iOS (Swift)
Java Tutorial / code example
Kotlin / Android
Leaflet Tutorial / code example
Lua
MATLAB Tutorial / code example
.NET
Neo4j
Node.js Tutorial / code example
OpenLayers
Perl Tutorial / code example
PHP Tutorial / code example
PostgreSQL
Python Tutorial / code example
R
  • opencage by Daniel Possenriede / rOpenSci
Raku
ReactJS
React Native
Ruby Tutorial / code example
Rust Tutorial / code example
Scala
Stata Tutorial / code example
Typescript
Don't see your favorite language or framework? Please write a library, and we will gladly feature it here. Please follow the our SDK guidelines.
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