Skip to content
oslew
Get a free key

Overview

Switching

Changing geocoder usually means rewriting every call site: new parameters, a new response shape, new error handling, and a long tail of code that reads one field in one place. oslew removes most of that by serving other providers' request and response formats directly, with its own data inside and the provenance of every result intact. The first step of a switch is a change of base URL; moving call sites to the native API can happen afterwards, one at a time.

The compatibility endpoints

There are compatibility endpoints for Google Geocoding API, Mapbox Geocoding v5, Nominatim search and reverse, LocationIQ search.php and reverse.php. They are billed as the Address product, so they run on every plan including Free, at the same rate as the native geocoder. They are not proxies: no request is forwarded to the other provider, and nothing about your traffic leaves oslew. Each one returns at most 10 results, and the parameters that have no oslew equivalent are ignored rather than rejected — each guide lists them, because a silently ignored filter is the thing most likely to surprise you in testing.

Check the switch before you make it

Paste one of your existing request URLs into the migration checker. It needs no key — you do not have one yet, and asking for one to read a comparison would defeat the point. It returns the equivalent oslew request and which of your parameters carry over and which do not. For some providers it also estimates a month's cost from a single list price it keeps; that estimate ignores volume bands and can lag the provider's own page, so the comparison pages, which quote each provider's current prices with dates, are the place to check cost.

The migration checker
curl "https://api.oslew.com/v1/migrate?url=https://maps.googleapis.com/maps/api/geocode/json?address=..."

Some providers publish no list price the checker can use, and for those it says so rather than guessing. The guides below walk through the rest: the base-URL change, the fields that differ, the test to run before cutting traffic over, and what you give up.

Guides by provider

Browse every page →