API for developers
Read the ForeclosureListings data as JSON. The API is free, needs no key and reads only. Base URL: https://foreclosurelistings.fyi/api/v1.
The OpenAPI 3.1 description is at /api/v1/openapi.json. Any website may call the API from a browser.
Endpoints
Each endpoint in this table takes GET. Any other method gives 405. A parameter that is not listed gives 400.
| Endpoint | Returns | Parameters |
|---|---|---|
GET /api/v1/listings | Search and list listings |
|
GET /api/v1/listings/{slug} | Read one listing |
|
GET /api/v1/places | List countries, regions and cities with counts | None |
GET /api/v1/categories | List the category tree with counts | None |
GET /api/v1/sources | List the data sources with license and refresh | None |
GET /api/v1/stats | Counts and the last update | None |
Examples
Find foreclosure resources
curl "https://foreclosurelistings.fyi/api/v1/listings?category=foreclosure-resources&country=US&limit=5"Read the next page
curl "https://foreclosurelistings.fyi/api/v1/listings?limit=5&cursor=<page.nextCursor from the last response>"Read one foreclosure resource
slug=$(curl -s "https://foreclosurelistings.fyi/api/v1/listings?limit=1" | jq -r '.data[0].slug')
curl "https://foreclosurelistings.fyi/api/v1/listings/$slug"List the places and categories you can filter by
curl "https://foreclosurelistings.fyi/api/v1/places"
curl "https://foreclosurelistings.fyi/api/v1/categories"MCP server
An AI agent can use the same data through MCP at https://foreclosurelistings.fyi/mcp. It takes POST only: a GET in a browser gives 405. The server uses Streamable HTTP, keeps no session and needs no key. It reads only. It has the same rate limit, the same public fields and the same credit line as the API. The server card describes it.
search_listings- : Search published foreclosure resources by text, place and category.
get_listing- : Get one published foreclosure resource by its slug.
list_places- : List countries, regions and cities that have foreclosure resources.
list_categories- : List categories with their foreclosure resource counts.
get_stats- : Get the number of published foreclosure resources, places and categories, and when the data last changed.
list_sources- : List where the foreclosure resource data comes from, with the license and refresh of each source.
Add it to Claude Code
claude mcp add --transport http foreclosurelistings https://foreclosurelistings.fyi/mcpAdd it to a client that reads an mcpServers file, such as Cursor (.cursor/mcp.json)
{
"mcpServers": {
"foreclosurelistings": {
"url": "https://foreclosurelistings.fyi/mcp"
}
}
}List the tools with curl
curl -X POST "https://foreclosurelistings.fyi/mcp" -H "content-type: application/json" -H "accept: application/json, text/event-stream" -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Responses
A successful response has data and meta. A list response also has page, with these fields:
limit- : items on each page.
total- : items that match.
nextCursor- : send it back as
cursor, with the same filters andlimit. It is null on the last page. capped- : true when more items match than the cursor can reach.
fuzzy- : true when the items are close matches for
q.
An error has error (a sentence), code and sometimes details. Branch on code: invalid_parameter, invalid_cursor, not_found, method_not_allowed, rate_limited, internal_error.
Rate limits and caching
Each client may send 300 requests in 60 seconds. Every GET response has RateLimit-Limit and RateLimit-Policy. Over the limit you get 429 with Retry-After: wait that many seconds. The limit is counted at each Cloudflare location.
A successful response sends Cache-Control: public, max-age=60, s-maxage=300, stale-while-revalidate=600 and an ETag. Send the ETag back as If-None-Match to get 304 with no body.
Credit and licenses
Show this credit line next to the data you display:
Data from ForeclosureListings (https://foreclosurelistings.fyi). Each record keeps the license of its source, listed in meta.sources. A listing is a record, not an endorsement.
Every response lists its sources in meta.sources. Keep a source's license when you reuse its records.
- US HUD Housing Counseling web service: license Public domain (US federal government work, 17 U.S.C. 105). HUD's web publication standards state that all content on HUD's websites is in the public domain and may be used or linked without permission: https://www.hud.gov/sites/documents/webpubstandards.pdf, refreshed monthly
- Harris County Clerk public records and tax sales pages: license County government pages; facts cited with a link to the page, not copied content., refreshed quarterly
- Dallas County Clerk foreclosure notices page: license County government pages; facts cited with a link to the page, not copied content., refreshed quarterly
- Miami-Dade Clerk mortgage foreclosures page: license County government pages; facts cited with a link to the page, not copied content., refreshed quarterly
- Cook County Sheriff foreclosure property sale page: license County government pages; facts cited with a link to the page, not copied content., refreshed quarterly
- King County Sheriff property sales page: license County government pages; facts cited with a link to the page, not copied content., refreshed quarterly
- Fulton County Sheriff tax sales page: license County government pages; facts cited with a link to the page, not copied content., refreshed quarterly
- Denver Public Trustee page: license County government pages; facts cited with a link to the page, not copied content., refreshed quarterly
- Franklin County Sheriff real estate sales page: license County government pages; facts cited with a link to the page, not copied content., refreshed quarterly
- Maricopa County Recorder document search page: license County government pages; facts cited with a link to the page, not copied content., refreshed quarterly
- Los Angeles County Registrar-Recorder homeowner notification page: license County government pages; facts cited with a link to the page, not copied content., refreshed quarterly
- California Courts Self-Help Guide, foreclosure: license Statute text is an edict of government (Georgia v. Public.Resource.Org, 590 U.S. 144 (2020)); state court, attorney-general and legislature pages are cited facts with links, not copied content., refreshed quarterly
- Texas State Law Library foreclosure guide: license Statute text is an edict of government (Georgia v. Public.Resource.Org, 590 U.S. 144 (2020)); state court, attorney-general and legislature pages are cited facts with links, not copied content., refreshed quarterly
- New York Courts CourtHelp, foreclosures: license Statute text is an edict of government (Georgia v. Public.Resource.Org, 590 U.S. 144 (2020)); state court, attorney-general and legislature pages are cited facts with links, not copied content., refreshed quarterly
- Florida Statutes chapter 45: license Statute text is an edict of government (Georgia v. Public.Resource.Org, 590 U.S. 144 (2020)); state court, attorney-general and legislature pages are cited facts with links, not copied content., refreshed quarterly
- Georgia Attorney General, mortgage and foreclosure information: license Statute text is an edict of government (Georgia v. Public.Resource.Org, 590 U.S. 144 (2020)); state court, attorney-general and legislature pages are cited facts with links, not copied content., refreshed quarterly
- Arizona Revised Statutes 33-808: license Statute text is an edict of government (Georgia v. Public.Resource.Org, 590 U.S. 144 (2020)); state court, attorney-general and legislature pages are cited facts with links, not copied content., refreshed quarterly
- Revised Code of Washington chapter 61.24: license Statute text is an edict of government (Georgia v. Public.Resource.Org, 590 U.S. 144 (2020)); state court, attorney-general and legislature pages are cited facts with links, not copied content., refreshed quarterly
- Illinois Compiled Statutes 735 ILCS 5: license Statute text is an edict of government (Georgia v. Public.Resource.Org, 590 U.S. 144 (2020)); state court, attorney-general and legislature pages are cited facts with links, not copied content., refreshed quarterly
- Ohio Legal Help, foreclosure: license Statute text is an edict of government (Georgia v. Public.Resource.Org, 590 U.S. 144 (2020)); state court, attorney-general and legislature pages are cited facts with links, not copied content., refreshed quarterly
- Colorado Revised Statutes Title 38: license Statute text is an edict of government (Georgia v. Public.Resource.Org, 590 U.S. 144 (2020)); state court, attorney-general and legislature pages are cited facts with links, not copied content., refreshed quarterly
- Atlanta Legal Aid Society, our work: license All rights reserved, refreshed quarterly
- Legal Aid Chicago, how we can help: license All rights reserved, refreshed quarterly
- Legal Aid Society, Foreclosure Prevention Project: license All rights reserved, refreshed quarterly
- Colorado Housing Connects: license All rights reserved, refreshed quarterly
Published by ForeclosureListings. How we check each foreclosure resource.