{"uid":"cap_ICmIZyi1mF-JoSmePW6Mp","slug":"cfpb-hmda-mortgage-loan-data-by-state-and-year-4a364889","name":"CFPB HMDA Mortgage Loan Data by State and Year","description":"Official US mortgage application totals from the CFPB HMDA Data Browser API for one state and year: number of loans and their total dollar amount (aggregated, no borrower data). Filter by HMDA action taken (1 = loan originated, default).","url":"https://api.jobsproperty-api.workers.dev/api/realestate/hmda-mortgage-loan-data?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["state","year"],"properties":{"year":{"type":"string","description":"Four-digit HMDA year, e.g. 2022"},"state":{"type":"string","description":"Two-letter US state code, e.g. WI"},"actionTaken":{"type":"string","description":"HMDA action taken code (default 1 = loan originated)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"year":"2022","state":"WI","source":"https://ffiec.cfpb.gov/v2/data-browser-api/view/aggregations?years=2022&states=WI&actions_taken=1","checkedAt":"2026-10-23T09:37:02.261Z","loanCount":174587,"actionTaken":"1","totalAmountUsd":38126145000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4L0srP-k-qu0q397ojl--","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns aggregated US mortgage application totals (loan count and total dollar amount) for a given state and year from the CFPB HMDA Data Browser API.","exampleAgentPrompt":"Pull the CFPB HMDA mortgage origination data for Wisconsin in 2022 — I want to see the total number of loans originated and their combined dollar value.","exampleUseCases":[{"title":"State mortgage market size analysis","prompt":"How many mortgages were originated in California in 2022 and what was their total dollar value? Use HMDA data."},{"title":"Year-over-year housing loan trend","prompt":"Get me the HMDA loan origination totals for Texas in both 2021 and 2022 so I can compare mortgage activity between those years."},{"title":"Regional real estate market research","prompt":"I'm researching the housing market in Florida — can you pull the official CFPB HMDA numbers for loan originations there in 2023, including total count and dollar amount?"}],"resultDescription":"A JSON object containing the state code, year, HMDA action taken code, number of loans originated (loanCount), total loan dollar amount (totalAmountUsd), a timestamp of when the data was fetched (checkedAt), and the source URL pointing to the CFPB HMDA Data Browser API aggregation endpoint used.","failureModes":["Invalid or unsupported state code returns an error or empty result","Year outside available HMDA data range returns no data","Invalid actionTaken code may return unexpected results or an error","CFPB upstream API unavailable causes a downstream failure","Missing required parameters (state or year) returns a validation error"],"whenToPreferThis":"Use this endpoint when you need official, government-sourced aggregate mortgage origination statistics for a specific US state and year, without individual borrower data. It is ideal for market research, housing finance analysis, or regulatory reporting contexts where CFPB HMDA Data Browser accuracy is required. Prefer this over scraped or third-party real estate data sources when official FFIEC/CFPB provenance matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:34:18.352Z","isFirstParty":false,"canonicalSlug":"cfpb-hmda-mortgage-loan-data-by-state-and-year-4a364889"}