latlng-work Geocoding API

Convert addresses and place names to coordinates, and coordinates to addresses.

Operations 2

GET /api Forward geocoding #
GET /reverse Reverse geocoding #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/latlng-work:latlng-work-geocoding-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

latlng-work-geocoding-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LatLng Geocoding API
  version: 1.0.0
  description: 'LatLng provides affordable maps and location APIs for developers building location-aware apps.


    The API includes forward geocoding, reverse geocoding, places search, nearby places,

    place categories, static maps, and custom dataset map tiles powered by OpenStreetMap data.


    Developers can start free with a generous daily quota. LatLng also offers an MCP server

    so AI tools can use location APIs directly.


    Homepage: https://www.latlng.work

    Documentation: https://www.latlng.work/docs

    Get a free API key: https://dash.latlng.work

    MCP server: https://mcp.latlng.work/mcp'
  termsOfService: https://www.latlng.work/terms
  contact:
    name: LatLng
    url: https://www.latlng.work
    email: support@latlng.work
servers:
- url: https://api.latlng.work
  description: Production API
security:
- ApiKeyAuth: []
- ApiKeyQuery: []
tags:
- name: Geocoding
  description: Convert addresses and place names to coordinates, and coordinates to addresses.
paths:
  /api:
    get:
      tags:
      - Geocoding
      summary: Forward geocoding
      description: Convert an address or place name to GeoJSON coordinates.
      operationId: forwardGeocode
      parameters:
      - $ref: '#/components/parameters/ApiKeyQuery'
      - name: q
        in: query
        required: true
        schema:
          type: string
        example: Berlin
        description: Address or place name to geocode.
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 50
        example: 5
      - name: lang
        in: query
        schema:
          type: string
        example: en
      - name: lat
        in: query
        schema:
          type: number
          format: double
        example: 52.52
        description: Bias results near this latitude.
      - name: lon
        in: query
        schema:
          type: number
          format: double
        example: 13.405
        description: Bias results near this longitude.
      responses:
        '200':
          description: GeoJSON feature collection.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GeoJsonFeatureCollection'
              example:
                type: FeatureCollection
                features:
                - type: Feature
                  geometry:
                    type: Point
                    coordinates:
                    - 13.3888599
                    - 52.5170365
                  properties:
                    name: Berlin
                    country: Germany
                    state: Berlin
                    osm_key: place
                    osm_value: city
        '400':
          $ref: '#/components/responses/BadRequest'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
  /reverse:
    get:
      tags:
      - Geocoding
      summary: Reverse geocoding
      description: Convert latitude and longitude to nearby address/place results.
      operationId: reverseGeocode
      parameters:
      - $ref: '#/components/parameters/ApiKeyQuery'
      - name: lat
        in: query
        required: true
        schema:
          type: number
          format: double
        example: 52.517
      - name: lon
        in: query
        required: true
        schema:
          type: number
          format: double
        example: 13.389
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 50
        example: 5
      - name: lang
        in: query
        schema:
          type: string
        example: en
      responses:
        '200':
          description: GeoJSON feature collection.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GeoJsonFeatureCollection'
        '400':
          $ref: '#/components/responses/BadRequest'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  parameters:
    ApiKeyQuery:
      name: ApiKeyQuery
      in: query
      required: false
      schema:
        type: string
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
  schemas:
    GeoJsonFeatureCollection:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
  responses:
    BadRequest:
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
    RateLimited:
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
    Unavailable:
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
externalDocs:
  description: LatLng documentation
  url: https://www.latlng.work/docs