InstaMortgage

InstaMortgage · GPT アクション

Untitled

Your OpenAPI specification

  • POST /instamort/CurrentMortgageRatesGet Current Mortgage Rates
  • POST /instamort/FHA_MIP_RateGet FHA upfront and annual MIP
  • POST /instamort/VAFundingFeeGet VA Funding Fee
  • POST /instamort/FHALimitsGet FHA Loan Limits
  • POST /instamort/FHFALimitsGet FHFA Loan Limits
元の API スキーマ
{
  "openapi": "3.1.0",
  "info": {
    "title": "Untitled",
    "description": "Your OpenAPI specification",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://app.improvize.com"
    }
  ],
  "paths": {
    "/instamort/CurrentMortgageRates": {
      "post": {
        "summary": "Get Current Mortgage Rates",
        "operationId": "GetCurrentRates",
        "responses": {
          "200": {
            "description": "FHA MIP rate and duration",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "30_Year_Fixed": {
                      "type": "number",
                      "description": "The 30 year fixed mortgage rate"
                    },
                    "15_Year_Fixed": {
                      "type": "number",
                      "description": "The 15 year fixed mortgage rate"
                    },
                    "30_Year_Jumbo": {
                      "type": "number",
                      "description": "The 30 year fixed jumbo mortgage rate"
                    },
                    "5_1_ARM": {
                      "type": "number",
                      "description": "The 5/1 Adjustable Mortgage Rate (ARM)"
                    },
                    "30_Year_FHA": {
                      "type": "number",
                      "description": "The 30 Year fixed FHA rate"
                    },
                    "30_Year_VA": {
                      "type": "number",
                      "description": "The 30 year fixed VA rate"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/instamort/FHA_MIP_Rate": {
      "post": {
        "summary": "Get FHA upfront and annual MIP",
        "operationId": "GetFHAMIPRate",
        "parameters": [
          {
            "name": "mipTerm",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "description": "1: Greater than 15 Years, 2: Less than or Equal to 15 years, 3: Refinance before 2009, with default 1"
          },
          {
            "name": "mipBaseLoan",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "description": "set to 1 for loan amount of $726200 or less, 2 for greater than $726200, default to 1"
          },
          {
            "name": "mipLTV",
            "in": "query",
            "required": true,
            "schema": {
              "type": "number"
            },
            "description": "The Loan to Value percentage, with the default being 100"
          }
        ],
        "responses": {
          "200": {
            "description": "FHA MIP rate and duration",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "FHA_MIP_Rate": {
                      "type": "number",
                      "description": "The annual MIP rate for the given FHA loan"
                    },
                    "FHA_MIP_Duration": {
                      "type": "string",
                      "description": "The duration the annual MIP is assessed"
                    },
                    "FHA_UFMIP_Rate": {
                      "type": "number",
                      "description": "The UFMIP rate for the given loan"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/instamort/VAFundingFee": {
      "post": {
        "summary": "Get VA Funding Fee",
        "operationId": "GetVAFundingFee",
        "parameters": [
          {
            "name": "loanCategory",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "description": "1: Purchase or Construction, 2: Cash-Out Refinance, 3: Other-Loan, default to 1"
          },
          {
            "name": "firstUse",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "description": "set to 1 for first use, 2 for subsequent use, default to 1"
          },
          {
            "name": "downPaymentPercentage",
            "in": "query",
            "required": true,
            "schema": {
              "type": "number"
            },
            "description": "The downpayment amount as percentage of the property value, default to 0"
          },
          {
            "name": "otherLoanType",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "description": "1: Interest Rate Reduction, 2: Manufactured Home, 3: Loan Assumption, 4: Native American, default to 1"
          }
        ],
        "responses": {
          "200": {
            "description": "VA Funding Fee percentage",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "vaFundingFee": {
                      "type": "number",
                      "description": "The VA Funding Fee as percentage of loan amount"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/instamort/FHALimits": {
      "post": {
        "summary": "Get FHA Loan Limits",
        "operationId": "GetFHALimits",
        "parameters": [
          {
            "name": "countyName",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "the county for which data is requested in ALL CAPS"
          },
          {
            "name": "state",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "the full state name for the county in ALL CAPS"
          }
        ],
        "responses": {
          "200": {
            "description": "FHA Loan Limits",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "oneUnitLimit": {
                      "type": "integer",
                      "description": "Limit for a one unit residence"
                    },
                    "twoUnitLimit": {
                      "type": "integer",
                      "description": "Limit for two unit residence"
                    },
                    "threeUnitLimit": {
                      "type": "integer",
                      "description": "Limit for three unit residence"
                    },
                    "fourUnitLimit": {
                      "type": "integer",
                      "description": "Limit for four unit residence"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/instamort/FHFALimits": {
      "post": {
        "summary": "Get FHFA Loan Limits",
        "operationId": "GetFHFALimits",
        "parameters": [
          {
            "name": "countyName",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "the county for which data is requested in ALL CAPS"
          },
          {
            "name": "state",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "the TWO LETTER state for the county in ALL CAPS"
          }
        ],
        "responses": {
          "200": {
            "description": "FHFA conforming loan limits",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "oneUnitLimit": {
                      "type": "integer",
                      "description": "Limit for a one unit residence"
                    },
                    "twoUnitLimit": {
                      "type": "integer",
                      "description": "Limit for two unit residence"
                    },
                    "threeUnitLimit": {
                      "type": "integer",
                      "description": "Limit for three unit residence"
                    },
                    "fourUnitLimit": {
                      "type": "integer",
                      "description": "Limit for four unit residence"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {}
  }
}