> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tic.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get address by latitude and longitude (WGS84)

> Resolves a WGS84 coordinate to its Lantmäteriet location context. First the registered cadastral unit containing the point is resolved — a fastighet or a settled samfällighet (both carry a registerenhetsreferens); when no registered unit contains the point (only an unsettled 'outrett' area, water, or outside coverage) 404 is returned. Then the building footprint containing the point is found and its `belägenhetsadress` returned. When the point is on a property but not inside a building (or the building has no address), the property is returned with all address fields null.

<Badge color="green" size="sm">Pro+ tier</Badge>


## OpenAPI

````yaml get /addresses/by-location
openapi: 3.1.1
info:
  title: TIC Lens API
  description: "The TIC Lens API provides programmatic access to company, person, property, vehicle, and order data.\r\n\r\n## Authentication\r\n\r\nAll requests require an API key passed via the `x-api-key` header:\r\n\r\n```bash\r\ncurl -H \"x-api-key: YOUR_API_KEY\" https://lens-api.tic.io/companies/123\r\n```\r\n\r\nAPI keys are managed through the TIC Lens web application under **Settings → API Keys**.\r\n\r\n## Base URL\r\n\r\n| Environment | URL |\r\n|-------------|-----|\r\n| Production  | `https://lens-api.tic.io` |\r\n\r\n## Feature Access\r\n\r\nEndpoints are gated by your subscription plan. If your plan does not include a feature, the endpoint will return `403 Forbidden`.\r\n\r\n## Rate Limits\r\n\r\nRate limits are applied per API key. If you exceed the limit, requests will return `429 Too Many Requests`.\r\n\r\n## Response Format\r\n\r\nAll responses are JSON. Null values are omitted from responses.\r\n"
  version: v1
servers:
  - url: https://lens-api.tic.io
security:
  - ApiKey: []
tags:
  - name: Addresses
  - name: Bolagsverket
  - name: Brf
  - name: Companies
  - name: Documents
  - name: FlightImages
  - name: Free
  - name: Orders
  - name: OrdersExports
  - name: PaymentControl
  - name: PaymentControlImport
  - name: Persons
  - name: Properties
  - name: PublicSearch
  - name: SearchAutocomplete
  - name: Sentinel
  - name: ServingPermits
  - name: Team
  - name: Teams
  - name: Transportstyrelsen
  - name: Vehicles
  - name: WatchList
paths:
  /addresses/by-location:
    get:
      tags:
        - Addresses
      summary: Get address by latitude and longitude (WGS84)
      description: >-
        Resolves a WGS84 coordinate to its Lantmäteriet location context. First
        the registered cadastral unit containing the point is resolved — a
        fastighet or a settled samfällighet (both carry a
        registerenhetsreferens); when no registered unit contains the point
        (only an unsettled 'outrett' area, water, or outside coverage) 404 is
        returned. Then the building footprint containing the point is found and
        its `belägenhetsadress` returned. When the point is on a property but
        not inside a building (or the building has no address), the property is
        returned with all address fields null.
      operationId: GetAddressByLocation
      parameters:
        - name: latitude
          in: query
          description: The latitude of the position (WGS84)
          required: true
          schema:
            type: number
            format: double
        - name: longitude
          in: query
          description: The longitude of the position (WGS84)
          required: true
          schema:
            type: number
            format: double
      responses:
        '200':
          description: >-
            Property at the point, with the containing building's address when
            available. Address fields may be null when the point is not inside a
            building or the building has no address.
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Ormeo_Library_Lantmateriet_Dto_Lantmateriet_AddressLocationLookup_Dto
        '404':
          description: >-
            No registered cadastral unit (fastighet or settled samfällighet)
            contains the point
components:
  schemas:
    Ormeo_Library_Lantmateriet_Dto_Lantmateriet_AddressLocationLookup_Dto:
      type: object
      properties:
        addressObjektIdentitet:
          type:
            - 'null'
            - string
          format: uuid
        versionGiltigFran:
          type:
            - 'null'
            - string
          format: date-time
        statusforbelagenhetsadress:
          type:
            - 'null'
            - string
        gata:
          type:
            - 'null'
            - string
        adressomradestyp:
          type:
            - 'null'
            - string
        gardsadressomradeFaststalltnamn:
          type:
            - 'null'
            - string
        adressplatsnummer:
          type:
            - 'null'
            - string
        bokstavstillagg:
          type:
            - 'null'
            - string
        lagestillagg:
          type:
            - 'null'
            - string
        lagestillaggsnummer:
          type:
            - 'null'
            - integer
          format: int32
        adressplatstyp:
          type:
            - 'null'
            - string
        insamlingslage:
          type:
            - 'null'
            - string
        avvikerfranstandarden:
          type:
            - 'null'
            - boolean
        avvikandeadressplatsbeteckning:
          type:
            - 'null'
            - string
        popularnamn:
          type:
            - 'null'
            - string
        anlaggningstyp:
          type:
            - 'null'
            - string
        anlaggningstext:
          type:
            - 'null'
            - string
        postnummer:
          type:
            - 'null'
            - integer
          format: int32
        postort:
          type:
            - 'null'
            - string
        distriktskod:
          type:
            - 'null'
            - string
        distriktsnamn:
          type:
            - 'null'
            - string
        kommundelFaststalltnamn:
          type:
            - 'null'
            - string
        lanskod:
          type:
            - 'null'
            - string
        kommunkod:
          type:
            - 'null'
            - string
        kommunnamn:
          type:
            - 'null'
            - string
        registerEnhetObjektIdentitet:
          type:
            - 'null'
            - string
          format: uuid
        property:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet_Dto_Lantmateriet_PropertyLocationLookup_Dto
        latitude:
          type:
            - 'null'
            - number
          format: double
        longitude:
          type:
            - 'null'
            - number
          format: double
        distanceMeters:
          type:
            - 'null'
            - number
          format: double
      additionalProperties: false
    Ormeo_Library_Lantmateriet_Dto_Lantmateriet_PropertyLocationLookup_Dto:
      type: object
      properties:
        registerEnhetObjektIdentitet:
          type: string
          format: uuid
        beteckning:
          type:
            - 'null'
            - string
        trakt:
          type:
            - 'null'
            - string
        block:
          type:
            - 'null'
            - string
        enhet:
          type:
            - 'null'
            - integer
          format: int64
        kommunkod:
          type:
            - 'null'
            - string
        kommunnamn:
          type:
            - 'null'
            - string
        lanskod:
          type:
            - 'null'
            - string
        osakertlage:
          type:
            - 'null'
            - boolean
        objekttyp:
          type:
            - 'null'
            - string
        omradesnummer:
          type:
            - 'null'
            - integer
          format: int32
        samjelittera:
          type:
            - 'null'
            - string
      additionalProperties: false
  securitySchemes:
    ApiKey:
      type: apiKey
      name: x-api-key
      in: header

````