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

# Fetch Geo Data by Lat & Lon

> **Host**: http://qshop.ng



## OpenAPI

````yaml get /locations/geodata
openapi: 3.1.0
info:
  title: OpenAPI Specification
  version: 1.0.0
  description: >-
    QShop storefront API.  This API is used to build a storefront for a QShop
    store
  contact:
    name: QShop
    url: https://qshop.ng
    email: hello@qshop.ng
servers:
  - url: http://staging.qshop.ng/apiv2
    description: Staging server
  - url: http://qshop.ng/api
    description: Production server
security: []
paths:
  /locations/geodata:
    get:
      tags:
        - Locations
      summary: Fetch Geo Data by Lat & Lon
      description: '**Host**: http://qshop.ng'
      parameters:
        - name: longitude
          in: query
          required: false
          schema:
            type: string
        - name: latitude
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      geoNames:
                        type: array
                        items:
                          type: object
                          properties:
                            lng:
                              type: string
                            geonameId:
                              type: integer
                            name:
                              type: string
                            fclName:
                              type: string
                            toponymName:
                              type: string
                            fcodeName:
                              type: string
                            adminName1:
                              type: string
                            lat:
                              type: string
                            fcl:
                              type: string
                            fcode:
                              type: string
                            population:
                              type: integer
                            adminCode1:
                              type: string
                            countryId:
                              type: string
                            countryCode:
                              type: string
                            countryName:
                              type: string
                            adminCodes1:
                              type: object
                              properties:
                                ISO3166_2:
                                  type: string
                              required:
                                - ISO3166_2
                          required:
                            - lng
                            - geonameId
                            - name
                            - fclName
                            - toponymName
                            - fcodeName
                            - adminName1
                            - lat
                            - fcl
                            - fcode
                            - population
                    required:
                      - geoNames
                  success:
                    type: boolean
                required:
                  - msg
                  - data
                  - success
          description: ''

````