Search by

apiverve / mortgagerate

APIVerve

Mortgage Rate reports weekly US fixed mortgage rates for 15-year and 30-year terms. Pass the loan term to get the latest percentage rate, survey date, and direction of weekly change.

Package info

github.com/apiverve/mortgagerate-api

Homepage

Documentation

Language:Java

pkg:composer/apiverve/mortgagerate

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.2.3 2026-10-26 14:42 UTC

This package is auto-updated.

Last update: 2026-10-26 17:26:32 UTC


README

Mortgage Rate reports weekly US fixed mortgage rates for 15-year and 30-year terms. Pass the loan term to get the latest percentage rate, survey date, and direction of weekly change.

The Mortgage Rate API provides a simple, reliable way to integrate mortgage rate functionality into your applications. Built for developers who need production-ready mortgage rate capabilities without the complexity of building from scratch.

View API Details →

License: MIT API Status Method Platform

Available on: npm NuGet PyPI RubyGems Packagist Go Dart JitPack

Quick Start

Using JavaScript

async function callMortgageRateAPI() {
    try {
        const params = new URLSearchParams({
            type: '30year'
        });

        const response = await fetch(`https://api.apiverve.com/v1/mortgagerate?${params}`, {
            method: 'GET',
            headers: {
                'x-api-key': 'YOUR_API_KEY_HERE'
            }
        });

        const data = await response.json();
        console.log(data);
    } catch (error) {
        console.error('Error:', error);
    }
}

callMortgageRateAPI();

Using cURL

curl -X GET "https://api.apiverve.com/v1/mortgagerate?type=30year" \
  -H "x-api-key: YOUR_API_KEY_HERE"

Get your API key: https://apiverve.com

📁 For more examples, see the examples folder

Installation

Choose your preferred programming language:

📦 NPM (JavaScript/Node.js)

npm install @apiverve/mortgagerate

View NPM Package → | Package Code →

🔷 NuGet (.NET/C#)

dotnet add package APIVerve.API.MortgageRate

View NuGet Package → | Package Code →

🐍 Python (PyPI)

pip install apiverve-mortgagerate

View PyPI Package → | Package Code →

💎 Ruby (RubyGems)

gem install apiverve_mortgagerate

View RubyGems Package → | Package Code →

🐘 PHP (Packagist)

composer require apiverve/mortgagerate

View Packagist Package → | Package Code →

🎯 Dart (pub.dev)

dart pub add apiverve_mortgagerate

View pub.dev Package → | Package Code →

🤖 Android (JitPack)

implementation 'com.github.apiverve:mortgagerate-api:1.0.0'

Package Code →

🐹 Go

go get github.com/apiverve/mortgagerate-api/go

Package Code →

Why Use This API?

Feature Benefit
Multi-language SDKs Native packages for JavaScript, Python, C#, Go, and Android
Simple Integration Single API key authentication, consistent response format
Production Ready 99.9% uptime SLA, served from 24 global regions
Comprehensive Docs Full examples, OpenAPI spec, and dedicated support

Documentation

What Can You Build?

The Mortgage Rate API is commonly used for:

  • Web Applications - Add mortgage rate features to your frontend or backend
  • Mobile Apps - Native SDKs for Android development
  • Automation - Integrate with n8n, Zapier, or custom workflows
  • SaaS Products - Enhance your product with mortgage rate capabilities
  • Data Pipelines - Process and analyze data at scale

API Reference

Authentication

All requests require an API key in the header:

x-api-key: YOUR_API_KEY_HERE

Get your API key: https://apiverve.com

Response Format

Every APIVerve endpoint returns the same envelope — check status, then read data:

{
  "status": "ok",
  "error": null,
  "data": { ... }
}

Example Response

A real response from the Mortgage Rate API:

{
  "status": "ok",
  "error": null,
  "data": {
    "rateType": "30year",
    "name": "30-Year Fixed Rate Mortgage",
    "term": 30,
    "type": "fixed",
    "country": "US",
    "year": 2023,
    "month": 6,
    "count": 4,
    "rates": [
      {
        "week": "2023-06-01",
        "rate": 6.79
      },
      {
        "week": "2023-06-08",
        "rate": 6.71
      },
      {
        "week": "2023-06-15",
        "rate": 6.69
      },
      {
        "week": "2023-06-22",
        "rate": 6.67
      }
    ],
    "change1w": -0.02,
    "changeDirection": "down",
    "previousRate": 6.69,
    "previousDate": "2023-06-15"
  }
}

Support & Community

Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

Security

For security concerns, please review our Security Policy.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Built with ❤️ by APIVerve

Copyright © 2026 APIVerve. All rights reserved.