MileMaker Locations API

The Locations API from MileMaker — 3 operation(s) for locations.

GitHub OpenAPI

Operations 3

GET /location/search Free text search #
GET /location/search-by-address Search location by parameters #
GET /location/search-by-coordinates Search by coordinates #

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/milemaker-com:milemaker-com-locations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

milemaker-com-locations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rand McNally MileMaker 2.0 Locations API
  version: '1.0'
  description: TBD
servers:
- url: https://api.milemaker.com/
tags:
- name: Locations
paths:
  /location/search:
    get:
      operationId: FreeTextSearch
      tags:
      - Locations
      description: 'Search for location with single-line string


        Input:

        Required parameters:

        - **q** free-form query. Examples:

        + 41.904991, -89.0195 - geo-location in WGS84 coordinates, up to 6 digit precision

        + 5 Main St, Oakland, ME - house number address, formatted to local postal conventions

        + 40032 - postal code

        + seattle, WA - city, state/province

        + willis tower - named place

        Optional parameters:

        - **type** optional parameter to narrow search to specific location type: house number, street, postal code, city, named place or geo-location

        - **optimisticSearch** optional parameter, attempts to provide the best match and narrow down search results when enabled.

        - **includeCustom** optional parameter, add custom location to result.


        Output:

        List of locations, each defined by

        - **coordinates** geo-special coordinates of the location

        - **displayName** formatted address string

        - **address** parsed elements of the address

        - **type** location type

        - **tags** named place category'
      parameters:
      - in: query
        name: q
        required: true
        description: Free-form query string to search for locations.
        schema:
          type: string
          maxLength: 128
          example: The Grand Canyon
      - in: query
        name: type
        schema:
          $ref: '#/components/schemas/LocationType'
      - in: query
        name: optimisticSearch
        description: Optional boolean parameter.
        schema:
          type: boolean
          example: false
      - in: query
        name: includeCustom
        description: Optional boolean parameter.
        schema:
          type: boolean
          example: false
      responses:
        200:
          description: A list of locations found by the search criteria
          content:
            application/json:
              schema:
                type: array
                maxItems: 20
                items:
                  $ref: '#/components/schemas/Location'
        400:
          description: The server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Wrong Input Error
                status: 400
                detail: Please specify query parameter paramName
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        401:
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Unauthorized
                status: 401
                detail: You are not authorized to enter
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        403:
          description: The request contained valid data and was understood by the server, but the server is refusing action
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Access Denied
                status: 403
                detail: User is not authorized to access this resource with an explicit deny
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        404:
          description: The requested resource could not be found but may be available in the future. Subsequent requests by the client are permissible.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Resource Not Found
                status: 404
                detail: No resource found with id = 0129ef7c-e86f-4835-a2cb-1c3927b19be1
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        406:
          description: The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Not Acceptable
                status: 406
                detail: Only 'application/json' content type supported
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        429:
          description: The user has sent too many requests in a given amount of time. Intended for use with rate-limiting schemes.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Too Many Requests
                status: 429
                detail: Too Many Requests. Try again soon
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        500:
          description: The server has encountered a situation it does not know how to handle.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Internal Server Error
                status: 500
                detail: Loading failed due to Timeout
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
      summary: Free text search
      x-summary-source: derived
  /location/search-by-address:
    get:
      operationId: SearchLocationByParameters
      tags:
      - Locations
      description: 'Search for location by specifying individual parts of an address and free-form string


        Input:

        Required parameters:

        - **country** country name

        Optional parameters:

        - **type** narrow search to location type: house number, street, postal, city, or named place

        - **street** partial or full street name, including prefix, suffix, and type

        - **houseNumber** house number

        - **city** city name or area name

        - **state** state or province name, can be abbreviated

        - **postalCode** postal code

        - **county** county name

        - **searchText** name of a business listing or chain


        Output:

        List of locations, each defined by

        - **coordinates** geo-special coordinates of the location

        - **displayName** formatted address string

        - **address** parsed elements of the address

        - **type** location type

        - **tags** named place category'
      parameters:
      - in: query
        name: type
        schema:
          $ref: '#/components/schemas/LocationType'
      - in: query
        name: street
        description: The street name
        schema:
          type: string
          maxLength: 32
      - in: query
        name: houseNumber
        description: The house number
        schema:
          type: string
          maxLength: 32
      - in: query
        name: city
        description: The city or town name
        schema:
          type: string
          maxLength: 32
      - in: query
        name: state
        description: A state name or code
        schema:
          type: string
          maxLength: 32
      - in: query
        name: country
        required: true
        description: The country name
        schema:
          type: string
          maxLength: 32
      - in: query
        name: postalCode
        description: Postal code
        schema:
          type: string
          maxLength: 16
      - in: query
        name: county
        description: The county name
        schema:
          type: string
          maxLength: 64
      - in: query
        name: searchText
        description: This is a free text and might be used to specify a named place to search
        schema:
          type: string
          maxLength: 128
      responses:
        200:
          description: A list of locations found by the search criteria
          content:
            application/json:
              schema:
                type: array
                maxItems: 20
                items:
                  $ref: '#/components/schemas/Location'
        400:
          description: The server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Wrong Input Error
                status: 400
                detail: Please specify query parameter paramName
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        401:
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Unauthorized
                status: 401
                detail: You are not authorized to enter
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        403:
          description: The request contained valid data and was understood by the server, but the server is refusing action
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Access Denied
                status: 403
                detail: User is not authorized to access this resource with an explicit deny
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        404:
          description: The requested resource could not be found but may be available in the future. Subsequent requests by the client are permissible.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Resource Not Found
                status: 404
                detail: No resource found with id = 0129ef7c-e86f-4835-a2cb-1c3927b19be1
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        406:
          description: The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Not Acceptable
                status: 406
                detail: Only 'application/json' content type supported
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        429:
          description: The user has sent too many requests in a given amount of time. Intended for use with rate-limiting schemes.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Too Many Requests
                status: 429
                detail: Too Many Requests. Try again soon
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        500:
          description: The server has encountered a situation it does not know how to handle.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Internal Server Error
                status: 500
                detail: Loading failed due to Timeout
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
      summary: Search location by parameters
      x-summary-source: derived
  /location/search-by-coordinates:
    get:
      operationId: SearchByCoordinates
      tags:
      - Locations
      description: 'Search for location near specified geo-spatial point


        Input:

        Required parameters:

        - **lon** longitude

        - **lat** latitude

        Optional parameters:

        - **type** optional location type to narrow search to nearest house number, street, postal code, city, or named place


        Output:

        List of locations, each defined by

        - **coordinates** geo-special coordinates of the location

        - **displayName** formatted address string

        - **address** parsed elements of the address

        - **type** location type

        - **tags** named place category'
      parameters:
      - in: query
        name: type
        schema:
          $ref: '#/components/schemas/LocationType'
      - in: query
        name: lat
        required: true
        description: Latitude
        schema:
          type: number
          format: double
          minimum: -90
          maximum: 90
      - in: query
        name: lon
        required: true
        description: Longitude
        schema:
          type: number
          format: double
          minimum: -180
          maximum: 180
      responses:
        200:
          description: A list of locations found by the search criteria
          content:
            application/json:
              schema:
                type: array
                maxItems: 20
                items:
                  $ref: '#/components/schemas/Location'
        400:
          description: The server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Wrong Input Error
                status: 400
                detail: Please specify query parameter paramName
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        401:
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Unauthorized
                status: 401
                detail: You are not authorized to enter
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        403:
          description: The request contained valid data and was understood by the server, but the server is refusing action
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Access Denied
                status: 403
                detail: User is not authorized to access this resource with an explicit deny
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        404:
          description: The requested resource could not be found but may be available in the future. Subsequent requests by the client are permissible.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Resource Not Found
                status: 404
                detail: No resource found with id = 0129ef7c-e86f-4835-a2cb-1c3927b19be1
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        406:
          description: The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Not Acceptable
                status: 406
                detail: Only 'application/json' content type supported
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        429:
          description: The user has sent too many requests in a given amount of time. Intended for use with rate-limiting schemes.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Too Many Requests
                status: 429
                detail: Too Many Requests. Try again soon
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
        500:
          description: The server has encountered a situation it does not know how to handle.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                type: https://schema.milemaker.com/errors/GS0003
                title: Internal Server Error
                status: 500
                detail: Loading failed due to Timeout
                instance: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
      summary: Search by coordinates
      x-summary-source: derived
components:
  schemas:
    Location:
      type: object
      description: Represents a location on a map
      additionalProperties: false
      required:
      - coordinates
      - displayName
      - type
      properties:
        coordinates:
          $ref: '#/components/schemas/GeoPoint'
        displayName:
          type: string
          description: The location display name on regional language
          maxLength: 245
          pattern: \w
          example: Empire State Building
        address:
          $ref: '#/components/schemas/Address'
        type:
          $ref: '#/components/schemas/LocationType'
        splc:
          type: string
          description: Optional unique  9-digit code number to identify the point with its geographic location.
          example: '380000000'
        timezoneInfo:
          $ref: '#/components/schemas/TimezoneInfo'
        tags:
          type: object
          additionalProperties:
            type: string
            maxLength: 32
            pattern: \w
          description: Tags represents location metadata like amenity -> airport, building -> store
    ProblemDetails:
      type: object
      description: The Problem Details JSON Object [RFC7807]
      additionalProperties: false
      properties:
        type:
          type: string
          description: A URI reference [RFC3986] that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be "about:blank".
          maxLength: 64
          pattern: ^[A-Za-z0-9_.\s#"'-]+$
          example: https://schema.milemaker.com/errors/GS0003
        title:
          type: string
          description: A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using active content negotiation; see [RFC7231], Section 3.4).
          maxLength: 128
          pattern: ^[A-Za-z0-9_.\s#"'-]+$
          example: Wrong Input Error
        status:
          type: integer
          description: The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.
          example: '400'
        detail:
          type: string
          description: A human-readable explanation specific to this occurrence of the problem
          maxLength: 1024
          pattern: ^[A-Za-z0-9_.\s#"'-]+$
          example: Please specify query parameter paramName
        instance:
          type: string
          description: A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced
          maxLength: 256
          pattern: ^[A-Za-z0-9_.\s#"'-]+$
          example: 1f76b8d5-5ea7-4177-99b6-307f0017d9b4
    TimezoneInfo:
      type: object
      description: Represents timezone information
      properties:
        dstOffset:
          type: integer
          description: DST offset, the offset for daylight-savings time in seconds. It's zero if the time zone is not in DST during time the request was made'
          example: 3600
        rawOffset:
          type: integer
          description: Raw offset, the offset from UTC (in seconds) for the location. Doest not include DST offset.
          example: -28800
        timezoneId:
          type: string
          description: The code for the returned timezone. Each boundary is associated with a single timezone identifier as defined from the timezone database https://www.iana.org/time-zones
          example: America/Los_Angeles
    LocationType:
      type: string
      description: Represents a specific location type to search for, and the type of each location returned. A **county** is a county-level administrative area, reported as its own type rather than as a city.
      enum:
      - city
      - county
      - postalCode
      - houseNumber
      - street
      - namedPlace
      - geoLocation
      example: namedPlace
    Address:
      type: object
      properties:
        countryCode:
          type: string
          description: 'A three-letter country code. For example: "USA"'
          example: USA
        stateCode:
          type: string
          description: 'A state code. For example: "NY"'
          example: NY
        stateGovernmentCode:
          type: string
          description: 'A state government code. For example: "36" for New York'
          example: '36'
        county:
          type: string
          description: 'A full county name. For example: "Erie"'
          example: Erie
        countyCode:
          type: string
          description: 'A county code. For example: "ER"'
          example: ER
        countyGovernmentCode:
          type: string
          description: 'A county government code. For example: "36029" for Erie county'
          example: '36029'
        city:
          type: string
          description: 'The name of the primary locality of the place. For example: "New York"'
          example: New York
        cityGovernmentCode:
          type: string
          description: 'A city government code. For example: "51000" for New York city'
          example: '51000'
        street:
          type: string
          description: 'Name of street. For example: "6th Ave"'
          example: 6th Ave
        postalCode:
          type: string
          description: 'Postal code. For example: "10036-7700"'
          example: 10036-7700
        houseNumber:
          type: string
          description: 'House number. For example: "4"'
          example: '4'
    GeoPoint:
      type: object
      description: Latitude and Longitude are the units that represent the coordinates at geographic coordinate system
      additionalProperties: false
      required:
      - lat
      - lon
      properties:
        lat:
          type: number
          format: double
          minimum: -90
          maximum: 90
          description: Latitude
        lon:
          type: number
          format: double
          minimum: -180
          maximum: 180
          description: Longitude