{"schemaVersion":1,"marketplaceUrl":"https://altss.com/console/capabilities","capability":{"id":"real_estate.mortgage_lending_activity","workspacePath":"/console/playground/new?capability=real_estate.mortgage_lending_activity","aliases":[],"version":1,"title":"US mortgage lending activity by state and lender","description":"Get annual HMDA counts of reported mortgage applications and loans in one state. Filter by lender LEI or include all reporting lenders. Results separate originations, denials, withdrawals, purchased loans and other published actions and show the corresponding reported dollar totals.","family":"research","status":"AVAILABLE","inputSchema":{"type":"object","properties":{"state":{"type":"string","pattern":"^[A-Z]{2}$"},"year":{"type":"string","enum":["2018","2019","2020","2021","2022","2023","2024","2025"]},"lei":{"type":"string","pattern":"^[A-Z0-9]{18}[0-9]{2}$"}},"required":["state","year"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"kind":{"type":"string","enum":["HMDA_MORTGAGE_ACTIVITY"]},"request":{"type":"object","properties":{"state":{"type":"string","pattern":"^[A-Z]{2}$"},"year":{"type":"string","enum":["2018","2019","2020","2021","2022","2023","2024","2025"]},"lei":{"type":"string","pattern":"^[A-Z0-9]{18}[0-9]{2}$"}},"required":["state","year"],"additionalProperties":false},"groups":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"actionCode":{"type":"string","enum":["1","2","3","4","5","6","7","8"]},"action":{"type":"string"},"recordCount":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"reportedAmountUsd":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["actionCode","action","recordCount","reportedAmountUsd"],"additionalProperties":false}},"sources":{"minItems":1,"maxItems":1,"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":600,"format":"uri"},"fetchedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"responseSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["url","fetchedAt","responseSha256"],"additionalProperties":false}}},"required":["kind","request","groups","sources"],"additionalProperties":false},"pricing":{"model":"FIXED_PER_ACCEPTED_EXECUTION","amountMinor":10,"currency":"USD","priceVersion":"2026-11-20.property-research.v1","unit":"accepted_execution"},"limits":{"timeoutMs":50000,"maxResultBytes":8000,"maxEvidenceItems":1,"perKeyPerMinute":30,"perKeyPerDay":1000},"scopes":["company.read"],"protocols":["rest","mcp"],"idempotency":{"required":true,"header":"Idempotency-Key"},"provenance":{"sourceCategory":"public_registry"}}}