Code Libraries / SDKs

Access the OpenCage Geocoding API via your favorite language

AWS Lambda
AWS Lambda
C
C
C++
C++
Clojure
Clojure
Cloudflare Workers
Cloudflare Workers
ColdFusion (CFML)
ColdFusion (CFML)
Dart
Dart
Elixir
Elixir
Erlang
Erlang
GatsbyJS
GatsbyJS
Go
Go
Haskell
Haskell
iOS (Swift)
iOS (Swift)
Java
Java
Tutorial / code example
Kotlin / Android
Kotlin / Android
Leaflet Maps
Leaflet Maps
Tutorial / code example
Lua
Lua
MATLAB
MATLAB
Tutorial / code example
.NET
.NET
Neo4j
Neo4j
Node.js
Node.js
Tutorial / code example
OpenLayers
OpenLayers
Perl
Perl
Tutorial / code example
PHP
PHP
Tutorial / code example
PostgreSQL
PostgreSQL
Python
Python
Tutorial / code example
R
R
Raku
Raku
ReactJS
ReactJS
React Native
React Native
Ruby
Ruby
Tutorial / code example
Rust
Rust
Tutorial / code example
Scala
Scala
SQLite
SQLite
Stata
Stata
Tutorial / code example
Typescript
Typescript
Don't see your favorite language or framework? Please write an SDK, and we will gladly feature it here. Please follow the our SDK guidelines.

Start your free trial

2,500 geocoding 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