npm i findort

Find the place.

Address fields that fill themselves. Findort suggests addresses, streets and places while your customers type. Two endpoints, one key, one script.

  • 50,000 requests a month for free
  • Hosted in Switzerland
  • Every Swiss house number
JSON
Type an address above and pick a suggestion. The API response shows up here.

The demo uses the public key pk_demo, which only works on this site.

Built in within minutes

One script, one element, done. For servers there are libraries for JavaScript, PHP and Python, each a single file with no dependencies.

Go to the quickstart →

<script type="module" src="https://api.findort.ch/sdk/v1/search.js"></script>
<findort-search key="pk_…" country="ch" lang="en" name="address"></findort-search>
<script>
  document.querySelector('findort-search')
    .addEventListener('findort-select', (e) => console.log(e.detail.place));
</script>

npm i findort

import { Findort } from 'findort';

const findort = new Findort('pk_…', { lang: 'de', country: 'ch' });
const places = await findort.search('Bundesplatz 3, Bern');
console.log(places[0].label); // "Bundesplatz 3, 3011 Bern"

composer require findort/findort

$findort = new Findort\Findort('sk_…', ['lang' => 'de']);
$place = $findort->geocode('Bundesplatz 3, Bern', ['country' => 'ch']);

echo $place?->label; // Bundesplatz 3, 3011 Bern

pip install findort

from findort import Findort

findort = Findort("sk_…", lang="de")
place = findort.geocode("Bundesplatz 3, Bern", country="ch")
print(place.label)  # Bundesplatz 3, 3011 Bern
curl "https://api.findort.ch/v1/search?q=Bundesplatz%203%20Bern&country=ch&limit=1" \
  -H "Authorization: Bearer sk_…"

What Findort stands for

Clear

Two endpoints: search and reverse. Flat results with a ready-made label instead of nested GeoJSON.

Open

Data from OpenStreetMap and the official Swiss building address register by swisstopo, libraries under the MIT licence.

Fair

Fixed monthly prices instead of per-session billing. We store no data about your users.

Precise

Results, error messages and docs mean exactly what they say. Every error has a code and a sentence that helps.

How it works

  1. Get a key

    Create an account and a public key. You decide which domains it works on.

  2. Add the field

    Load the script and put <findort-search> into your form. Works with any framework or none.

  3. Use the result

    When someone picks a suggestion you get the label, the address parts and the coordinates. The form submits the address.

Fixed prices, no surprises

You pay per month, not per session. If you need more than your quota, you turn on extra requests at fixed prices, never beyond the budget you set yourself.

Free

CHF 0.–per month

50 000 requests/month

Starter

CHF 19.–per month

1 000 000 requests/month

Pro

CHF 79.–per month

5 000 000 requests/month

Business

CHF 249.–per month

25 000 000 requests/month

All prices and details →

Geocoding without the Google bill

Google Places is powerful, but often too much for an address field: per-session billing, data in the US and the rule to show results on a Google map.

  • A fixed monthly price instead of a price per session
  • Hosted in Switzerland, no end-user data
  • Show the results however you like
  • Open data under the ODbL, no lock-in
Findort and Google Places compared

Frequently asked questions

Where does the data come from?

From OpenStreetMap, the free map of the world. The data is licensed under the ODbL. The API and the search field always include the required notice "© OpenStreetMap contributors".

Do I have to show the results on a map?

No. Show the results however you like: in a form, in a list, on a map of your choice or not at all. The only duty is the OpenStreetMap notice.

Is a public key in my HTML not a risk?

No. A pk_ key only works on the domains you allowed. For servers there are secret sk_ keys without that check; those never belong in a browser.

What happens when my quota is used up?

The API answers with 429 quota_exceeded until the next month. On paid plans you can turn on extra requests: from CHF 1.– per 100,000, at most up to your budget.

Does Findort store data about my users?

No. We only count the number of requests per key. No tracking, no profiles.

Build your first address field in five minutes.

50,000 requests a month are free.

Start for free