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

# Reverse Geocode

> Reverse geocode: convert geographic coordinates into a human-readable address or place name. Returns the nearest matching locations sorted by proximity.



## OpenAPI

````yaml GET /v1/geocoding/reverse
openapi: 3.1.0
info:
  title: Footstep API
  description: >-
    Terrain-intelligent routing, geocoding, elevation, and spatial analysis.
    Every routing response includes terrain analytics by default. Routing
    endpoints support two response formats: footstep (default, compact) and
    geojson (standard GeoJSON).
  version: 1.0.0
servers:
  - url: https://api.footstep.ai
    description: Production
security:
  - apiKey: []
paths:
  /v1/geocoding/reverse:
    get:
      tags:
        - Geocoding
      summary: Reverse geocode coordinates
      description: >-
        Reverse geocode: convert geographic coordinates into a human-readable
        address or place name. Returns the nearest matching locations sorted by
        proximity.
      operationId: geocodingReverse
      parameters:
        - name: point.lat
          in: query
          required: true
          schema:
            type: number
            minimum: -90
            maximum: 90
          description: Latitude of the point to reverse geocode
        - name: point.lon
          in: query
          required: true
          schema:
            type: number
            minimum: -180
            maximum: 180
          description: Longitude of the point to reverse geocode
        - name: size
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 40
            default: 1
          description: Maximum number of results
        - name: boundary.circle.radius
          in: query
          schema:
            type: number
          description: Search radius in kilometers
        - name: place_types
          in: query
          schema:
            type: string
          description: >-
            Comma-separated place types to filter: venue, address, street,
            locality, region, country
      responses:
        '200':
          description: Reverse geocoding results
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GeocodingReverseResponse'
              examples:
                basic:
                  summary: Reverse geocode central London
                  value:
                    results:
                      - coordinates:
                          lat: 51.5074
                          lng: -0.1278
                        label: 10 Downing Street, London, England, United Kingdom
                        name: 10 Downing Street
                        country: United Kingdom
                        country_code: GBR
                        region: England
                        locality: London
                        confidence: 0.9
                        place_type: address
                    query:
                      lat: 51.5034
                      lon: -0.1276
                      size: 1
                with_layers:
                  summary: Only return localities
                  value:
                    results:
                      - coordinates:
                          lat: 51.5074
                          lng: -0.1278
                        label: London, England, United Kingdom
                        name: London
                        country: United Kingdom
                        country_code: GBR
                        region: England
                        locality: London
                        confidence: 0.85
                        place_type: locality
                    query:
                      lat: 51.5034
                      lon: -0.1276
                      size: 1
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Geocoding engine unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    GeocodingReverseResponse:
      type: object
      required:
        - results
        - query
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/GeocodingResult'
        query:
          type: object
          required:
            - lat
            - lon
            - size
          properties:
            lat:
              type: number
            lon:
              type: number
            size:
              type: integer
    Error:
      type: object
      required:
        - error
        - message
      properties:
        error:
          type: string
        message:
          type: string
    GeocodingResult:
      type: object
      required:
        - coordinates
        - label
        - name
        - confidence
        - place_type
      properties:
        coordinates:
          $ref: '#/components/schemas/GeocodingCoordinate'
        label:
          type: string
          description: Full human-readable label (e.g. 'London, England, United Kingdom')
        name:
          type: string
          description: Short name of the place
        country:
          type: string
          description: Country name
        country_code:
          type: string
          description: ISO 3166-1 alpha-3 country code
        region:
          type: string
          description: Region/state/province
        county:
          type: string
          description: County/district
        locality:
          type: string
          description: City/town
        neighbourhood:
          type: string
          description: Neighbourhood/suburb
        confidence:
          type: number
          minimum: 0
          maximum: 1
          description: Result confidence score (0-1)
        place_type:
          type: string
          description: 'Place type: venue, address, street, locality, region, country'
    GeocodingCoordinate:
      type: object
      required:
        - lat
        - lng
      properties:
        lat:
          type: number
          minimum: -90
          maximum: 90
        lng:
          type: number
          minimum: -180
          maximum: 180
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Your Footstep API key

````