Geocoding API

Every place in logistics,
found as you type

Cities, seaports, airports, rail stations, dry ports and warehouses all over the world, each one in its place: world region, country, admin area, city and trade port. Send a name, a postal code, a UN/LOCODE, an IATA code or coordinates.

6 place types cities to warehouses
5 levels world region to trade port
7 requests one REST API
100 / 20 s requests per organization

How a search looks

A recorded example of compact autocomplete. The field plays a city, a port, a UN/LOCODE, an IATA code and a postal code on its own.

What you send

Ask the way your users think

A search box, a form with a country picked, a point on a map or an ID saved last week: every one of them leads to the same location.

Free text

As the user types it: a name, a postal code, a UN/LOCODE or an IATA code. Punctuation is fine.

{ "query": "Odes" }

Structured hints

Country, admin area, city or trade port, by code, ID or name, to narrow the answer down.

{ "query": "Miami", "country": { "code": "US" }, "admin": { "code": "FL" } }

Coordinates

Latitude and longitude, with a radius: the places around the point, nearest first.

{ "lat": 46.48, "lng": 30.72, "radius": 20000 }

Location ID

The ID of a place found before. Any ID one request returns works in every other.

{ "id": "T7ZOSA8Z2S" }
Location hierarchy

Every place knows where it belongs

A response fills the levels a place has and leaves the others empty. A country has no city; a trade port in international waters has no country at all.

    The ID tells the type

    So an ID found by one request goes straight into another.

    World region
    R BBE2LR8LI R + 9 characters
    Country
    UA ISO 3166-1 alpha-2
    Admin area
    UA. 51 country, a dot, area code
    City
    C GSDULWV3F C + 9 characters
    Trade port
    T 7ZOSA8Z2S T + 9 characters
    Seven requests

    The right request for every moment

    Suggestions while the user types, one definitive answer, a value you already know, a point on the map or the full profile of a place.

    
                        
    Reverse geocoding

    Drop a pin, get the nearest terminals

    Coordinates from a truck, a vessel or a click on a map turn into the cities, seaports, airports, rail stations and dry ports around them, nearest first, with the distance to each.

      Drag the pin or click the map
      Miami
      United States flag
      Florida United States · Admin area
      US.FL
      ISO FL FIPS 12 GeoNames FL Wikidata Q812
      21,538,187 population
      185,249 km² area
      697 cities
      81 ports
      67 airports
      59 rail stations
      Place details

      The whole profile of a place

      One ID opens everything we know about a location.

      • Boundaries Country, admin area and region shapes, simplified by default for a lighter answer.
      • Codes ISO, FIPS, GeoNames and Wikidata, UN/LOCODE and IATA for trade ports.
      • Statistics How many cities, ports, airports and rail stations an area has.
      • Around it Neighbouring countries, seas, population and time zone.
      GET /geo/place-details?id=US.FL
      Built for logistics

      Where clean locations save the day

      Quote and booking forms

      Origin and destination pickers that understand cities, ports and airports from the first letters.

      Clean shipment data

      Turn free text, LOCODEs, IATA and postal codes from partners into one ID per place.

      Nearest terminal

      From a GPS position to the closest seaport, airport, rail station or dry port.

      Rates and lanes

      Match a city to the ports that serve it, then search rates, sailings and transit times.

      Reports by region

      Group shipments by world region, country or admin area with the hierarchy already attached.

      Maps and dashboards

      Coordinates and boundaries ready to draw, without a second geocoder.

      For developers

      REST, JSON, one header

      Predictable URLs, JSON in and out, standard HTTP codes. Start from the OpenAPI spec or the Postman collection.

      Endpoint https://api.qubictron.com/geocoding/v1
      Authentication x-api-key: YOUR_API_KEY

      HTTPS only, the key in a lowercase header.

      Rate limit 100 requests / 20 s

      Per organization. Over it, the key pauses for a minute.

      Response codes
      • 200 Location data
      • 400 Empty query or bad ID
      • 401 Missing or unknown key
      • 403 No access or quota used
      • 404 Nothing matches
      • 422 A field has a bad value
      • 429 Rate limit exceeded
      Questions

      Before you integrate

      Which request should I use in a search box?

      Compact autocomplete for a flat list, one line per place, with seaports, airports, rail stations and dry ports. Autocomplete by structure when the form also has a country or an admin area to narrow the list.

      Can I find a port by its UN/LOCODE or an airport by IATA?

      Yes. Exact match resolves a UN/LOCODE or an IATA code to its trade port, a postal code to its cities and a 2-letter ISO code to its country. The autocomplete requests understand codes too.

      What is a trade port?

      A place where cargo changes hands: a seaport, an airport, a rail terminal, a road terminal or an inland container depot. Its features say which of these it is.

      Will an ID stay the same?

      IDs are made to be saved: store the ID of a place once and pass it later to Lookup by ID or Place details instead of searching again.

      How many requests can I send?

      100 requests every 20 seconds per organization. Over the limit, the key is paused for one minute.

      Available today

      Every location,
      one clean answer.

      Cities, ports, airports, rail stations, dry ports and warehouses, with codes, coordinates and their place in the world.