Skip to content
oslew
Get a free key

Learn

Can you store geocoding results?

Often, but not always, and not always for as long as you need. Some providers limit how long coordinates may be cached, some sell the right to keep results as a separate and dearer product, and some let you keep them indefinitely. Beneath the provider’s terms sits the data’s licence: permissively licensed results may be kept and reused with few conditions beyond attribution, while results derived from share-alike data such as OpenStreetMap may be kept, but pass the obligation on to any database built from them that you share.

Last reviewed

Storage is a clause that can change a geocoding decision after the contract is signed. A team geocodes its customer table, writes the coordinates beside each record, and learns later that the provider’s terms allowed them only to be cached for a while, or only for the feature that requested them. Reading the storage clause first costs very little; reading it second can mean geocoding everything you hold a second time.

Two sets of rules apply at once

Every stored geocoding result is governed twice. The provider’s terms are a contract between you and the company that answered: they can limit caching, tie results to a map, or price storage separately, and they apply whatever the data’s origin. The data’s licence comes from whoever made the underlying data — a government address file, OpenStreetMap, a commercial database — and it travels with the data, including after the contract ends. A result can be permitted by one and restricted by the other, so both need reading.

What each provider’s terms say

The clauses below are quoted from each provider’s own terms, policy or pricing page, with the date each was read.

Google Maps Platform

Google limits how long coordinates may be cached and exempts its own identifier. The coordinate clause: Latitude and longitude from the Geocoding API may be cached for up to 30 consecutive calendar days and must then be deleted; indefinite caching is allowed only to support the end-user feature that made the request, kept per end user and not as a replacement for further calls. (Google Maps Platform, read 24 Sep 2026) The identifier clause: The place ID is exempt from the caching restrictions and may be stored indefinitely. (Google Maps Platform, read 24 Sep 2026)

For a team that wants a lasting geocoded customer table, the first of those clauses is the one to take to counsel. A stored place ID is a key for asking Google again, not a coordinate you hold. The Google Maps comparison sets these terms beside oslew’s.

Mapbox

Mapbox sells the right to keep results as a product of its own. Its rule on storing results: Temporary geocoding results may not be cached; Permanent results may be cached and stored indefinitely, which requires a valid credit card on file or an active enterprise contract. Requests are Temporary by default. (Mapbox, read 24 Sep 2026) The product that grants that right has its own price and conditions: Permanent Geocoding API requests list no free tier and cost $5.00 per 1,000 up to 500,000 a month and $4.00 above; results are for the customer's own use and cannot be distributed or sublicensed. (Mapbox, read 24 Sep 2026)

With Mapbox, then, the question is not whether results can be stored but which product you call, and a cost comparison has to use the permanent product’s figures if you intend to keep what you geocode. The Mapbox comparison covers the rest of its terms.

HERE

HERE’s platform terms set a time limit on keeping results outside its platform: Results from HERE Content or Location Services may not be cached or stored outside the HERE platform for more than 30 days (24 hours for HERE Positioning), except for internal testing, evaluation, or audit and legal record retention. (HERE Technologies, read 24 Sep 2026) Longer storage is arranged separately: Permanent Geocoding is not included in the Base Plan; HERE asks customers to contact it for pricing. (HERE Technologies, read 24 Sep 2026)

LocationIQ

LocationIQ ties part of the answer to whether you pay: Free accounts may cache request-response pairs for up to 48 hours and customers for as long as they remain customers; response data may be stored forever. (LocationIQ, read 24 Sep 2026) Read the clause in full before relying on it: it separates caching request-response pairs, where a free account’s window is short, from storing response data, which it allows without a time limit.

Geoapify

Geoapify permits storage and attaches attribution to it: Geoapify does not restrict storing geocoding results, provided attribution to the data sources is kept with the stored data or shown when it is reused. (Geoapify, read 24 Sep 2026)

OpenCage

OpenCage places no time limit on storage: Results may be cached or stored for as long as you like, on the free trial or a paid plan and after you stop being a customer; there is no separate price for permanent storage. (OpenCage, read 24 Sep 2026) It also takes a position on the data’s licence, which is discussed below.

The public Nominatim instance

The public Nominatim instance asks for caching rather than restricting it: The policy asks applications to proxy and cache requests where possible, and requires one-time bulk tasks to cache results on their side. (Nominatim (OpenStreetMap Foundation public instance), read 24 Sep 2026) What you cache is OpenStreetMap data, and the licence stays with it: Data is provided under the ODbL, which requires share-alike, though small extractions are likely to be covered by fair use or fair dealing. (Nominatim (OpenStreetMap Foundation public instance), read 24 Sep 2026)

Share-alike, in plain terms

Share-alike is a condition in some open licences: if you make something from the licensed material and share it, you must share it under the same licence. The ODbL, OpenStreetMap’s licence, applies the idea to databases. In outline, and subject to the licence’s own wording:

  • Using the data is allowed, commercially or not, and keeping it for your own use does not by itself trigger anything.
  • A produced work — a map image, a route drawn for a user, a printed report — needs attribution to the source when it is made public, but is not itself bound by share-alike — though a produced work made from a derived database can oblige you to offer that database as well.
  • A derived database — a table built by extracting, combining or transforming the data — must be offered under the ODbL, with attribution, if you make it public.

Whether a particular use makes a derived database public is the question that matters, and it depends on the details. OpenCage points to community guidance on geocoding in particular: Results use OpenStreetMap data, which customers credit to OpenStreetMap contributors; OpenCage cites the OSM Foundation's geocoding guidelines that ODbL share-alike is not triggered by almost all geocoding cases. (OpenCage, read 24 Sep 2026) That guidance is an interpretation rather than a term of the licence, so read it alongside the licence before building a dataset you mean to publish.

Permissive licences work differently. CDLA-Permissive-2.0, under which Overture Maps publishes its places (some place sources come under Apache-2.0 instead), lets anyone use, modify and share the data with minimal conditions and no share-alike. The licence travels with each record instead of attaching conditions to the database you build from it. Overture’s addresses carry the permissive licence of each source, while its base, buildings, divisions and transportation themes are published under the ODbL, share-alike included. Overture Maps versus OpenStreetMap explains which open datasets carry which licence and why.

oslew’s answer, per layer

oslew answers the storage question per result rather than per provider, because one response can mix layers under different licences. Addresses and places come from permissively licensed sources and may be stored and reused without a time limit. Administrative boundaries come from Overture’s Divisions theme, which Overture publishes under the ODbL, and time zones and every road or routing answer — routes, matrices, isochrones, snapping — derive from OpenStreetMap through ODbL-licensed data; all of these may be stored, but a derived database you make public carries share-alike. Every result names a licence in its provenance.license field, beside the dataset and release it came from. One code is out of step with its publisher: boundary answers currently read CDLA-Permissive-2.0, and the ODbL Overture publishes them under is the licence that applies.

The practical rule is to decide at the moment of storage, by the code on each row, using an allowlist of the codes you are prepared to keep, and to treat any row whose provenance.name begins overture-divisions as ODbL whatever its code says; a code you have not seen before should wait for a person rather than be stored by default. The licensing concept page shows the codes as real responses carry them, and the licensing page is the authoritative statement for each layer. Results from a batch job come from the same address and place data as single geocodes, but a batch output file has no provenance column, so geocode a row on its own if you need its code.

Before you build a stored dataset

Put these questions to any provider, oslew included, before geocoding anything you mean to keep:

  1. How long may coordinates be kept, and does the answer change with the plan you are on?
  2. Does the right survive the end of the contract, or must stored results be deleted when you leave?
  3. May stored results be shared with customers or partners, or sublicensed?
  4. What attribution does the stored data require, and where must it appear?
  5. Are identifiers — place IDs, feature IDs — under the same rule as coordinates, and would anyone else understand them?
  6. What is the data’s licence for each record, and will you store it beside the row?

The last question is the one most often skipped. A licence code stored with each row turns a later audit, or a change of provider, from an investigation into a query. The same goes for provenance generally: the dataset and release a row came from say what you hold, long after anyone remembers where it was fetched.

The limits of this page

This page summarises published terms and open licences; it is not legal advice. Terms change, and every quotation above is dated for that reason. Whether a particular use amounts to publishing a derived database under the ODbL depends on the details of that use, and is a question for the licence text and your own counsel.

It also covers only what the provider and the data licence say. Your own obligations — to the people whose addresses you hold, under privacy law, for instance — sit on top of both and are not addressed here.

Bottom line

Most geocoders let you store something; they differ on how long, at what price and under which licence. If you need to keep what you geocode, rule out any provider whose storage clause does not fit before comparing accuracy or price, and store the licence code with every row. On oslew, address and place results may be kept without a time limit, while boundaries, time zones and anything derived from roads carry ODbL share-alike once a database built from them is made public.

Questions

How long can I cache Google geocoding results?

Google’s service terms set the rule: Latitude and longitude from the Geocoding API may be cached for up to 30 consecutive calendar days and must then be deleted; indefinite caching is allowed only to support the end-user feature that made the request, kept per end user and not as a replacement for further calls. (Google Maps Platform, read 24 Sep 2026) The place ID is treated differently and may be kept, but it is an identifier for asking Google again rather than a stored position.

Can I store results from an OpenStreetMap-based geocoder?

As far as the data licence goes, usually yes: keeping ODbL data for your own use is permitted, and the share-alike obligation arrives only if you make public a database derived from it. The provider’s own terms apply on top, and some limit caching or tie it to a paid plan, so read both.

Does share-alike make my whole database open data?

No. Share-alike applies to a database derived from the licensed data when you make it public — a published table of travel times built from OpenStreetMap roads, for example. Keeping ODbL-derived answers for your own use triggers nothing, and permissively licensed records stored beside them are unaffected. Where the line falls in a particular case is a question for the licence text and your counsel.

Which oslew results can I store permanently?

Address and place results come from permissively licensed sources and may be stored without a time limit. Administrative-boundary results, time-zone answers and every road or routing answer are ODbL: you may store them, but a database built from them that you make public carries share-alike. Each result names a licence in provenance.license; on boundary results that code currently reads CDLA-Permissive-2.0, and Overture’s published ODbL is the one to follow.

What should I store alongside a geocoding result?

The licence code and source of the row, together with the coordinates, the precision the provider reported and the date you received it. The licence tells a later reader what the row may be used for, the precision tells them how far to trust it, and the date tells them when it might be worth refreshing.

Browse every page →