Moody's RMS Geocoding API

Geocodes an address

Operations 137

POST /geocode/18.0 Geocode Address 18.0
POST /geocode/18.1 Geocode Address 18.1
POST /geocode/21.0 Geocode Address 21.0
POST /geocode/22.0 Geocode Address 22.0
POST /geocode/latest Geocode Address Latest
GET /geocode/18.0/admin1 admin1 18.0
GET /geocode/18.1/admin1 admin1 18.1
GET /geocode/20.0/admin1 admin1 20.0
GET /geocode/21.0/admin1 admin1 21.0
GET /geocode/22.0/admin1 admin1 22.0
GET /geocode/latest/admin1 admin1 Latest
GET /geocode/18.0/admin1/{id} admin1 by ID 18.0
GET /geocode/18.1/admin1/{id} admin1 by ID 18.1
GET /geocode/20.0/admin1/{id} admin1 by ID 20.0
GET /geocode/21.0/admin1/{id} admin1 by ID 21.0
GET /geocode/22.0/admin1/{id} admin1 by ID 22.0
GET /geocode/latest/admin1/{id} admin1 by ID Latest
GET /geocode/18.0/admin2 admin2 18.0
GET /geocode/18.1/admin2 admin2 18.1
GET /geocode/20.0/admin2 admin2 20.0
GET /geocode/21.0/admin2 admin2 21.0
GET /geocode/22.0/admin2 admin2 22.0
GET /geocode/latest/admin2 admin2 Latest
GET /geocode/18.0/admin2/{id} admin2 by ID 18.0
GET /geocode/18.1/admin2/{id} admin2 by ID 18.1
GET /geocode/20.0/admin2/{id} admin2 by ID 20.0
GET /geocode/21.0/admin2/{id} admin2 by ID 21.0
GET /geocode/22.0/admin2/{id} admin2 by ID 22.0
GET /geocode/latest/admin2/{id} admin2 by ID Latest
GET /geocode/18.0/admin3 admin3 18.0
GET /geocode/18.1/admin3 admin3 18.1
GET /geocode/20.0/admin3 admin3 20.0
GET /geocode/21.0/admin3 admin3 21.0
GET /geocode/22.0/admin3 admin3 22.0
GET /geocode/latest/admin3 admin3 Latest
GET /geocode/18.0/admin3/{id} admin3 by ID 18.0
GET /geocode/18.1/admin3/{id} admin3 by ID 18.1
GET /geocode/20.0/admin3/{id} admin3 by ID 20.0
GET /geocode/21.0/admin3/{id} admin3 by ID 21.0
GET /geocode/22.0/admin3/{id} admin3 by ID 22.0
GET /geocode/latest/admin3/{id} admin3 by ID Latest
GET /geocode/18.0/admin4 admin4 18.0
GET /geocode/18.1/admin4 admin4 18.1
GET /geocode/20.0/admin4 admin4 20.0
GET /geocode/21.0/admin4 admin4 21.0
GET /geocode/22.0/admin4 admin4 22.0
GET /geocode/latest/admin4 admin4 Latest
GET /geocode/18.0/admin4/{id} admin4 by ID 18.0
GET /geocode/18.1/admin4/{id} admin4 by ID 18.1
GET /geocode/20.0/admin4/{id} admin4 by ID 20.0
GET /geocode/21.0/admin4/{id} admin4 by ID 21.0
GET /geocode/22.0/admin4/{id} admin4 by ID 22.0
GET /geocode/latest/admin4/{id} admin4 by ID Latest
GET /geocode/18.0/city city 18.0
GET /geocode/18.1/city city 18.1
GET /geocode/20.0/city city 20.0
GET /geocode/21.0/city city 21.0
GET /geocode/22.0/city city 22.0
GET /geocode/latest/city city Latest
GET /geocode/18.0/city/{id} city by ID 18.0
GET /geocode/18.1/city/{id} city by ID 18.1
GET /geocode/20.0/city/{id} city by ID 20.0
GET /geocode/21.0/city/{id} city by ID 21.0
GET /geocode/22.0/city/{id} city by ID 22.0
GET /geocode/latest/city/{id} city by ID Latest
GET /geocode/18.0/country country 18.0
GET /geocode/18.1/country country 18.1
GET /geocode/20.0/country country 20.0
GET /geocode/21.0/country country 21.0
GET /geocode/22.0/country country 22.0
GET /geocode/latest/country country Latest
GET /geocode/18.0/country/{id} country by ID 18.0
GET /geocode/18.1/country/{id} country by ID 18.1
GET /geocode/20.0/country/{id} country by ID 20.0
GET /geocode/21.0/country/{id} country by ID 21.0
GET /geocode/22.0/country/{id} country by ID 22.0
GET /geocode/latest/country/{id} country by ID Latest
GET /geocode/18.0/locationCode locationCode 18.0
GET /geocode/18.1/locationCode locationCode 18.1
GET /geocode/20.0/locationCode locationCode 20.0
GET /geocode/21.0/locationCode locationCode 21.0
GET /geocode/22.0/locationCode locationCode 22.0
GET /geocode/latest/locationCode locationCode Latest
GET /geocode/18.0/locationCode/{id} locationCode by ID 18.0
GET /geocode/18.1/locationCode/{id} locationCode by ID 18.1
GET /geocode/20.0/locationCode/{id} locationCode by ID 20.0
GET /geocode/21.0/locationCode/{id} locationCode by ID 21.0
GET /geocode/22.0/locationCode/{id} locationCode by ID 22.0
GET /geocode/latest/locationCode/{id} locationCode by ID Latest
GET /geocode/18.0/postalCode postalCode 18.0
GET /geocode/18.1/postalCode postalCode 18.1
GET /geocode/20.0/postalCode postalCode 20.0
GET /geocode/21.0/postalCode postalCode 21.0
GET /geocode/22.0/postalCode postalCode 22.0
GET /geocode/latest/postalCode postalCode Latest
GET /geocode/18.0/postalCode/{id} postalCode by ID 18.0
GET /geocode/18.1/postalCode/{id} postalCode by ID 18.1
GET /geocode/20.0/postalCode/{id} postalCode by ID 20.0
GET /geocode/21.0/postalCode/{id} postalCode by ID 21.0
GET /geocode/22.0/postalCode/{id} postalCode by ID 22.0
GET /geocode/latest/postalCode/{id} postalCode by ID Latest
GET /geocode/18.0/zone1 zone1 18.0
GET /geocode/18.1/zone1 zone1 18.1
GET /geocode/20.0/zone1 zone1 20.0
GET /geocode/21.0/zone1 zone1 21.0
GET /geocode/22.0/zone1 zone1 22.0
GET /geocode/latest/zone1 zone1 Latest
GET /geocode/18.0/zone1/{id} zone1 by ID 18.0
GET /geocode/18.1/zone1/{id} zone1 by ID 18.1
GET /geocode/20.0/zone1/{id} zone1 by ID 20.0
GET /geocode/21.0/zone1/{id} zone1 by ID 21.0
GET /geocode/22.0/zone1/{id} zone1 by ID 22.0
GET /geocode/latest/zone1/{id} zone1 by ID Latest
GET /geocode/18.0/zone3 zone3 18.0
GET /geocode/18.1/zone3 zone3 18.1
GET /geocode/20.0/zone3 zone3 20.0
GET /geocode/21.0/zone3 zone3 21.0
GET /geocode/22.0/zone3 zone3 22.0
GET /geocode/latest/zone3 zone3 Latest
GET /geocode/18.0/zone3/{id} zone3 by ID 18.0
GET /geocode/18.1/zone3/{id} zone3 by ID 18.1
GET /geocode/20.0/zone3/{id} zone3 by ID 20.0
GET /geocode/21.0/zone3/{id} zone3 by ID 21.0
GET /geocode/22.0/zone3/{id} zone3 by ID 22.0
GET /geocode/latest/zone3/{id} zone3 by ID Latest
GET /geocode/18.0/zone4 zone4 18.0
GET /geocode/18.1/zone4 zone4 18.1
GET /geocode/20.0/zone4 zone4 20.0
GET /geocode/21.0/zone4 zone4 21.0
GET /geocode/22.0/zone4 zone4 22.0
GET /geocode/latest/zone4 zone4 Latest
GET /geocode/18.0/zone4/{id} zone4 by ID 18.0
GET /geocode/18.1/zone4/{id} zone4 by ID 18.1
GET /geocode/20.0/zone4/{id} zone4 by ID 20.0
GET /geocode/21.0/zone4/{id} zone4 by ID 21.0
GET /geocode/22.0/zone4/{id} zone4 by ID 22.0
GET /geocode/latest/zone4/{id} zone4 by ID Latest

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/moodys-rms-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

moodys-rms-geocoding-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Location Intelligence Geocoding API
  version: 2022.09.c
  description: Use LI API data to access RMS model insights in a flexible, scalable, and programmable way. The suite of layers includes exposure enhancement, geocoding, hazard, risk scoring, and loss costs to provide information for key decisions in the underwriting workflow, including screening, selection, and pricing.
servers:
- url: https://{host}/li
  description: Location Intelligence
  variables:
    host:
      enum:
      - api-euw1.rms.com
      - api-use1.rms.com
      default: api-euw1.rms.com
      description: 'Data center that hosts the tenant instance: api-euw1.rms.com or api-use1.rms.com.'
security:
- apiKey: []
tags:
- name: Geocoding
  description: Geocodes an address
paths:
  /geocode/18.0:
    post:
      tags:
      - Geocoding
      summary: Geocode Address 18.0
      requestBody:
        description: Address to geocode
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GeocodeInput'
            example:
              countryCode: US
              countryScheme: ISO2A
              admin1Code: CA
              postalCode: '94560'
              streetAddress: 7575 GATEWAY BLVD
        required: true
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GeocodeOutput'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/18.1:
    post:
      tags:
      - Geocoding
      summary: Geocode Address 18.1
      requestBody:
        description: Address to geocode
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GeocodeInput'
            example:
              countryCode: US
              countryScheme: ISO2A
              admin1Code: CA
              postalCode: '94560'
              streetAddress: 7575 GATEWAY BLVD
        required: true
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GeocodeOutput'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/21.0:
    post:
      tags:
      - Geocoding
      summary: Geocode Address 21.0
      requestBody:
        description: Address to geocode
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GeocodeInput'
            example:
              countryCode: US
              countryScheme: ISO2A
              admin1Code: CA
              postalCode: '94560'
              streetAddress: 7575 GATEWAY BLVD
        required: true
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GeocodeOutput'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/22.0:
    post:
      tags:
      - Geocoding
      summary: Geocode Address 22.0
      requestBody:
        description: Address to geocode
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GeocodeInput'
            example:
              countryCode: US
              countryScheme: ISO2A
              admin1Code: CA
              postalCode: '94560'
              streetAddress: 7575 GATEWAY BLVD
        required: true
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GeocodeOutput'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/latest:
    post:
      tags:
      - Geocoding
      summary: Geocode Address Latest
      requestBody:
        description: Address to geocode
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GeocodeInput'
            example:
              countryCode: US
              countryScheme: ISO2A
              admin1Code: CA
              postalCode: '94560'
              streetAddress: 7575 GATEWAY BLVD
        required: true
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GeocodeOutput'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/18.0/admin1:
    get:
      tags:
      - Geocoding
      summary: admin1 18.0
      parameters:
      - in: query
        name: countryFips
        schema:
          type: string
        description: Country FIPS code
      - in: query
        name: admin1Code
        schema:
          type: string
        description: Code for administrative level 1. Admin1 represents large geographic divisions, such as states and provinces
      - in: query
        name: admin1Name
        schema:
          type: string
        description: Name of administrative level 1
      - in: query
        name: limit
        schema:
          type: integer
          maximum: 1000
          default: 100
        description: The numbers of items to return
      - in: query
        name: offset
        schema:
          type: integer
          default: 0
        description: The number of items to skip before starting to collect the result set
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin1ListOutput'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/18.1/admin1:
    get:
      tags:
      - Geocoding
      summary: admin1 18.1
      parameters:
      - in: query
        name: countryFips
        schema:
          type: string
        description: Country FIPS code
      - in: query
        name: admin1Code
        schema:
          type: string
        description: Code for administrative level 1. Admin1 represents large geographic divisions, such as states and provinces
      - in: query
        name: admin1Name
        schema:
          type: string
        description: Name of administrative level 1
      - in: query
        name: limit
        schema:
          type: integer
          maximum: 1000
          default: 100
        description: The numbers of items to return
      - in: query
        name: offset
        schema:
          type: integer
          default: 0
        description: The number of items to skip before starting to collect the result set
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin1ListOutput'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/20.0/admin1:
    get:
      tags:
      - Geocoding
      summary: admin1 20.0
      parameters:
      - in: query
        name: countryFips
        schema:
          type: string
        description: Country FIPS code
      - in: query
        name: admin1Code
        schema:
          type: string
        description: Code for administrative level 1. Admin1 represents large geographic divisions, such as states and provinces
      - in: query
        name: admin1Name
        schema:
          type: string
        description: Name of administrative level 1
      - in: query
        name: limit
        schema:
          type: integer
          maximum: 1000
          default: 100
        description: The numbers of items to return
      - in: query
        name: offset
        schema:
          type: integer
          default: 0
        description: The number of items to skip before starting to collect the result set
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin1ListOutput'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/21.0/admin1:
    get:
      tags:
      - Geocoding
      summary: admin1 21.0
      parameters:
      - in: query
        name: countryFips
        schema:
          type: string
        description: Country FIPS code
      - in: query
        name: admin1Code
        schema:
          type: string
        description: Code for administrative level 1. Admin1 represents large geographic divisions, such as states and provinces
      - in: query
        name: admin1Name
        schema:
          type: string
        description: Name of administrative level 1
      - in: query
        name: limit
        schema:
          type: integer
          maximum: 1000
          default: 100
        description: The numbers of items to return
      - in: query
        name: offset
        schema:
          type: integer
          default: 0
        description: The number of items to skip before starting to collect the result set
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin1ListOutput'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/22.0/admin1:
    get:
      tags:
      - Geocoding
      summary: admin1 22.0
      parameters:
      - in: query
        name: countryFips
        schema:
          type: string
        description: Country FIPS code
      - in: query
        name: admin1Code
        schema:
          type: string
        description: Code for administrative level 1. Admin1 represents large geographic divisions, such as states and provinces
      - in: query
        name: admin1Name
        schema:
          type: string
        description: Name of administrative level 1
      - in: query
        name: limit
        schema:
          type: integer
          maximum: 1000
          default: 100
        description: The numbers of items to return
      - in: query
        name: offset
        schema:
          type: integer
          default: 0
        description: The number of items to skip before starting to collect the result set
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin1ListOutput'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/latest/admin1:
    get:
      tags:
      - Geocoding
      summary: admin1 Latest
      parameters:
      - in: query
        name: countryFips
        schema:
          type: string
        description: Country FIPS code
      - in: query
        name: admin1Code
        schema:
          type: string
        description: Code for administrative level 1. Admin1 represents large geographic divisions, such as states and provinces
      - in: query
        name: admin1Name
        schema:
          type: string
        description: Name of administrative level 1
      - in: query
        name: limit
        schema:
          type: integer
          maximum: 1000
          default: 100
        description: The numbers of items to return
      - in: query
        name: offset
        schema:
          type: integer
          default: 0
        description: The number of items to skip before starting to collect the result set
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin1ListOutput'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/18.0/admin1/{id}:
    get:
      tags:
      - Geocoding
      summary: admin1 by ID 18.0
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int64
        description: Globally unique ID for administrative level 1. Admin1 represents large geographic divisions, such as states and provinces.
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin1Output'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '404':
          $ref: '#/components/responses/404Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/18.1/admin1/{id}:
    get:
      tags:
      - Geocoding
      summary: admin1 by ID 18.1
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int64
        description: Globally unique ID for administrative level 1. Admin1 represents large geographic divisions, such as states and provinces.
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin1Output'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '404':
          $ref: '#/components/responses/404Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/20.0/admin1/{id}:
    get:
      tags:
      - Geocoding
      summary: admin1 by ID 20.0
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int64
        description: Globally unique ID for administrative level 1. Admin1 represents large geographic divisions, such as states and provinces.
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin1Output'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '404':
          $ref: '#/components/responses/404Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/21.0/admin1/{id}:
    get:
      tags:
      - Geocoding
      summary: admin1 by ID 21.0
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int64
        description: Globally unique ID for administrative level 1. Admin1 represents large geographic divisions, such as states and provinces.
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin1Output'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '404':
          $ref: '#/components/responses/404Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/22.0/admin1/{id}:
    get:
      tags:
      - Geocoding
      summary: admin1 by ID 22.0
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int64
        description: Globally unique ID for administrative level 1. Admin1 represents large geographic divisions, such as states and provinces.
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin1Output'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '404':
          $ref: '#/components/responses/404Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/latest/admin1/{id}:
    get:
      tags:
      - Geocoding
      summary: admin1 by ID Latest
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int64
        description: Globally unique ID for administrative level 1. Admin1 represents large geographic divisions, such as states and provinces.
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin1Output'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '404':
          $ref: '#/components/responses/404Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/18.0/admin2:
    get:
      tags:
      - Geocoding
      summary: admin2 18.0
      parameters:
      - in: query
        name: countryFips
        schema:
          type: string
        description: Country FIPS code
      - in: query
        name: admin1Code
        schema:
          type: string
        description: Code for administrative level 1. Admin1 represents large geographic divisions, such as states and provinces
      - in: query
        name: admin2Code
        schema:
          type: string
        description: Code for administrative level 2. Admin2 represents smaller geographic divisions than Admin1, such as counties
      - in: query
        name: admin2Name
        schema:
          type: string
        description: Name of administrative level 2
      - in: query
        name: limit
        schema:
          type: integer
          maximum: 1000
          default: 100
        description: The numbers of items to return
      - in: query
        name: offset
        schema:
          type: integer
          default: 0
        description: The number of items to skip before starting to collect the result set
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin2ListOutput'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/18.1/admin2:
    $ref: '#/paths/~1geocode~118.0~1admin2'
    get:
      tags:
      - Geocoding
      summary: admin2 18.1
      parameters:
      - in: query
        name: countryFips
        schema:
          type: string
        description: Country FIPS code
      - in: query
        name: admin1Code
        schema:
          type: string
        description: Code for administrative level 1. Admin1 represents large geographic divisions, such as states and provinces
      - in: query
        name: admin2Code
        schema:
          type: string
        description: Code for administrative level 2. Admin2 represents smaller geographic divisions than Admin1, such as counties
      - in: query
        name: admin2Name
        schema:
          type: string
        description: Name of administrative level 2
      - in: query
        name: limit
        schema:
          type: integer
          maximum: 1000
          default: 100
        description: The numbers of items to return
      - in: query
        name: offset
        schema:
          type: integer
          default: 0
        description: The number of items to skip before starting to collect the result set
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin2ListOutput'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/20.0/admin2:
    get:
      tags:
      - Geocoding
      summary: admin2 20.0
      parameters:
      - in: query
        name: countryFips
        schema:
          type: string
        description: Country FIPS code
      - in: query
        name: admin1Code
        schema:
          type: string
        description: Code for administrative level 1. Admin1 represents large geographic divisions, such as states and provinces
      - in: query
        name: admin2Code
        schema:
          type: string
        description: Code for administrative level 2. Admin2 represents smaller geographic divisions than Admin1, such as counties
      - in: query
        name: admin2Name
        schema:
          type: string
        description: Name of administrative level 2
      - in: query
        name: limit
        schema:
          type: integer
          maximum: 1000
          default: 100
        description: The numbers of items to return
      - in: query
        name: offset
        schema:
          type: integer
          default: 0
        description: The number of items to skip before starting to collect the result set
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin2ListOutput'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/21.0/admin2:
    get:
      tags:
      - Geocoding
      summary: admin2 21.0
      parameters:
      - in: query
        name: countryFips
        schema:
          type: string
        description: Country FIPS code
      - in: query
        name: admin1Code
        schema:
          type: string
        description: Code for administrative level 1. Admin1 represents large geographic divisions, such as states and provinces
      - in: query
        name: admin2Code
        schema:
          type: string
        description: Code for administrative level 2. Admin2 represents smaller geographic divisions than Admin1, such as counties
      - in: query
        name: admin2Name
        schema:
          type: string
        description: Name of administrative level 2
      - in: query
        name: limit
        schema:
          type: integer
          maximum: 1000
          default: 100
        description: The numbers of items to return
      - in: query
        name: offset
        schema:
          type: integer
          default: 0
        description: The number of items to skip before starting to collect the result set
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin2ListOutput'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/22.0/admin2:
    get:
      tags:
      - Geocoding
      summary: admin2 22.0
      parameters:
      - in: query
        name: countryFips
        schema:
          type: string
        description: Country FIPS code
      - in: query
        name: admin1Code
        schema:
          type: string
        description: Code for administrative level 1. Admin1 represents large geographic divisions, such as states and provinces
      - in: query
        name: admin2Code
        schema:
          type: string
        description: Code for administrative level 2. Admin2 represents smaller geographic divisions than Admin1, such as counties
      - in: query
        name: admin2Name
        schema:
          type: string
        description: Name of administrative level 2
      - in: query
        name: limit
        schema:
          type: integer
          maximum: 1000
          default: 100
        description: The numbers of items to return
      - in: query
        name: offset
        schema:
          type: integer
          default: 0
        description: The number of items to skip before starting to collect the result set
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin2ListOutput'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/latest/admin2:
    get:
      tags:
      - Geocoding
      summary: admin2 Latest
      parameters:
      - in: query
        name: countryFips
        schema:
          type: string
        description: Country FIPS code
      - in: query
        name: admin1Code
        schema:
          type: string
        description: Code for administrative level 1. Admin1 represents large geographic divisions, such as states and provinces
      - in: query
        name: admin2Code
        schema:
          type: string
        description: Code for administrative level 2. Admin2 represents smaller geographic divisions than Admin1, such as counties
      - in: query
        name: admin2Name
        schema:
          type: string
        description: Name of administrative level 2
      - in: query
        name: limit
        schema:
          type: integer
          maximum: 1000
          default: 100
        description: The numbers of items to return
      - in: query
        name: offset
        schema:
          type: integer
          default: 0
        description: The number of items to skip before starting to collect the result set
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin2ListOutput'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/18.0/admin2/{id}:
    get:
      tags:
      - Geocoding
      summary: admin2 by ID 18.0
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int64
        description: Globally unique ID for administrative level 2. Admin2 represents smaller geographic divisions than Admin1, such as counties.
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin2Output'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '404':
          $ref: '#/components/responses/404Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/18.1/admin2/{id}:
    get:
      tags:
      - Geocoding
      summary: admin2 by ID 18.1
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int64
        description: Globally unique ID for administrative level 2. Admin2 represents smaller geographic divisions than Admin1, such as counties.
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin2Output'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '404':
          $ref: '#/components/responses/404Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/20.0/admin2/{id}:
    get:
      tags:
      - Geocoding
      summary: admin2 by ID 20.0
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int64
        description: Globally unique ID for administrative level 2. Admin2 represents smaller geographic divisions than Admin1, such as counties.
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin2Output'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '404':
          $ref: '#/components/responses/404Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/21.0/admin2/{id}:
    get:
      tags:
      - Geocoding
      summary: admin2 by ID 21.0
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int64
        description: Globally unique ID for administrative level 2. Admin2 represents smaller geographic divisions than Admin1, such as counties.
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin2Output'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
        '404':
          $ref: '#/components/responses/404Response'
        '500':
          $ref: '#/components/responses/500Response'
  /geocode/22.0/admin2/{id}:
    get:
      tags:
      - Geocoding
      summary: admin2 by ID 22.0
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int64
        description: Globally unique ID for administrative level 2. Admin2 represents smaller geographic divisions than Admin1, such as counties.
      responses:
        '200':
          description: Everything worked as expected.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceTableAdmin2Output'
        '400':
          $ref: '#/components/res

# --- truncated at 32 KB (190 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/moodys-rms/refs/heads/main/openapi/moodys-rms-geocoding-api-openapi.yml