BaanMe

v1.0.0
io.github.realtytable/baanme Checked 2 days ago Published 3 days ago

Search public BaanMe homes for rent and sale in Thailand.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_properties Search Thai properties

Find active properties for rent or purchase in Thailand on BaanMe. Match a client brief using place, property type, THB budget, bedrooms, station radius, and advertised rental terms such as pet policy, furnishing, lease length and move-in date. Foreclosed, bank-owned (NPA), court-auction and government-asset listings are searchable: filter with listing categories, an auction-date cut-off and the selling bank or agency. Narrow to a street with street. Pass the place words exactly as the client said them in area (any language, for example 'between Asoke and Phra Khanong') and show the returned r…

ParameterTypeDescription
areastringThe client's place words, verbatim, in English, Thai or Chinese: 'between Asoke and Phra Khanong', 'near BTS Ari', 'along Sukhumvit', 'Thonglor or Ekkamai', or an area_id from resolve_area. Resolved t…
auction_beforestringOnly listings with an auction date on or before YYYY-MM-DD.
bedrooms_maxintegerMaximum number of bedrooms. Set both bounds to the same value for an exact count, or set the maximum to 0 for studios.
bedrooms_minintegerMinimum number of bedrooms.
furnishingRequired advertised rental furnishing.
include_near_missesbooleanIf there are no matches, allow listed alternatives up to 10% above price_max. Requires an explicit offer and price_max. Every other constraint stays in place.
lease_monthsnumberRequire an advertised rental offer for exactly this many months.
limitintegerResults to return (1-24, default 10).
listing_categoryarrayOnly foreclosure (bank NPA), court_auction or government_asset listings. Omit to search every listing.
localestringLocale for place resolution, listing titles and URLs. Defaults to en.
locationstringThai place name or a BaanMe location slug. Use a station name such as On Nut BTS or its exact slug on-nut-station to search within 2 km of the station. Omit for a nationwide search.
move_in_bystringRequire an advertised move-in date on or before YYYY-MM-DD. Current availability must still be confirmed.
offerstring"rent" for rentals (rental prices are per month) or "sale" for purchase listings. When omitted, both sides are searched.
offsetintegerResult offset for pagination (default 0). Keep it a multiple of limit — pass the next_offset returned by the previous call.
pet_policystringRequired advertised rental pet policy. Missing policies are not a match.
price_maxnumberMaximum price in THB. Use with an explicit offer: monthly rent or total purchase price.
price_minnumberMinimum price in THB. Use with an explicit offer: monthly rent or total purchase price.
property_typestringProperty type. One of: condo, serviced_apartment, detached_house, townhouse, land, office, retail, warehouse, hotel, building, gastronomy, industrial. Aliases: house or home means detached_house; apar…
sourcearraySelling bank or agency for foreclosure listings, for example led, scb, iam, nha, ghb. Accepts a bank key or one of: led-npa, iam-auction-npa, gsb-auction-npa, nha-npa, gsb-npa, bam-npa, krungsri-npa,…
streetstringStreet name or street slug, for example 'Sukhumvit Road'. Use get_street to inspect a street first.
street_scopestringcorridor (default) keeps listings on the street and its sois; nearby widens to a buffer around it.
transit_distance_mintegerMaximum straight-line distance from the station in location, in metres.

get_property Get a property

Get one listing by UUID or URL slug: type, price, size, rooms, description, location and its baanme.com URL.

ParameterTypeDescription
idOrSlug *stringProperty UUID or URL slug.
localestringLanguage for names and descriptions: en, th or zh.

list_regions List regions

List Thai provinces, or the districts or subdistricts inside a province or district, with slugs, ids and active listing counts.

ParameterTypeDescription
level *stringRegion level to list.
districtIdintegerFor level=subdistrict, instead of provinceId.
limitintegerMaximum regions.
localestringLanguage for names and descriptions: en, th or zh.
provinceIdintegerRequired for level=district.

search_regions Find regions and places

Resolve a place name (Thai, English or romanised) to matching provinces, districts, subdistricts, projects and landmarks, with the slug to use as a search location.

ParameterTypeDescription
query *stringPlace name, Thai or romanised.
limitintegerMaximum matches.
listingTypestringWhich inventory the returned listing counts reflect.
localestringLanguage for names and descriptions: en, th or zh.

get_market_stats Get market statistics

Get aggregated listing statistics (counts, median prices, rental yield) for Thailand as a whole or one province, district or subdistrict.

ParameterTypeDescription
regionType *stringGeographic level. nationwide needs no regionId.
localestringLanguage for names and descriptions: en, th or zh.
regionIdintegerNumeric region id, from list_regions.

resolve_area Resolve a place phrase to a search area

Turn vague place words into an exact search polygon: 'between Asoke and Phra Khanong' becomes the BTS corridor with every station on it, 'near BTS Ari' a walking radius, 'along Sukhumvit' the street corridor. Pass the client's words verbatim in area, in any language. Returns an area_id to pass to search_properties, a one-line explanation to show the client, the components used, and candidates instead of a guess when the phrase is ambiguous.

ParameterTypeDescription
area *stringThe place words exactly as the client said them, in any language, for example 'between Asoke and Phra Khanong', 'near BTS Ari', 'ใกล้ทองหล่อ' or 'along Sukhumvit'. An area_id fro…
localestringLanguage for names and descriptions: en, th or zh.

search_projects Search condo and housing projects

Search Thai condo and housing projects by place, developer, property type, completion year and status. Returns compact summaries with developer, location, completion year, active rent and sale listing counts, price ranges and the baanme.com project URL.

ParameterTypeDescription
completion_year_maxintegerLatest completion year.
completion_year_minintegerEarliest completion year.
developerstringDeveloper name or slug, for example 'Sansiri'.
limitintegerResults to return, at most 24.
localestringLanguage for names and descriptions: en, th or zh.
locationstringPlace name or slug, for example 'Thong Lo', 'Phuket' or 'bangkok'.
offsetintegerNumber of results to skip.
property_typestringProperty type, for example condo or house.
statusstringProject status, for example completed, under_construction or pre_sale.

get_project Get a project

Get one condo or housing project by UUID or slug: developer, location, status, completion year, facilities, and optionally unit types, floor plans, brochures, market statistics, flood and area risk, nearby places and active listings.

ParameterTypeDescription
idOrSlug *stringProject UUID or URL slug.
includearrayExtra sections to load: unit_types, floor_plans, documents, market_stats, risk, nearby, listings.
localestringLanguage for names and descriptions: en, th or zh.

search_developers Search developers

Find real estate developers by name, with founding year, website, number of listed projects and the baanme.com developer URL.

ParameterTypeDescription
query *stringDeveloper name, Thai or romanised.
limitintegerMaximum developers.
localestringLanguage for names and descriptions: en, th or zh.

get_developer Get a developer

Get a developer profile by slug or name with its portfolio: completed and under-construction projects, counts and baanme.com URLs.

ParameterTypeDescription
idOrSlug *stringDeveloper URL slug or name.
localestringLanguage for names and descriptions: en, th or zh.

get_street Get a street

Get a Thai street by slug, UUID or name: its parent main street and sois, length, bounding box and centre, active rent and sale listing counts with median prices, nearby rail stops and its baanme.com street page. Pass the street name or slug to search_properties as street to list its listings.

ParameterTypeDescription
idOrSlugstringStreet UUID or URL slug.
localestringLanguage for names and descriptions: en, th or zh.
namestringStreet name in Thai or English when the slug is unknown.

get_area_profile Get an area profile

Profile a province, district, subdistrict, custom area or street by slug: bordering areas, rent and sale medians and yield, amenities and transit, flood history and government statistics. Sections without data are marked available false.

ParameterTypeDescription
area *stringSlug of a province, district, subdistrict, custom area or street, for example 'thong-lo'. Find slugs with search_regions.
localestringLanguage for names and descriptions: en, th or zh.

check_property_availability Check property availability

Check the latest recorded availability for a specific active public BaanMe rent or sale offer. Pass the listing ID and offer_id from search_properties. A confirmed status describes a past check for this offer revision.

ParameterTypeDescription
offer *stringTransaction side of the listing offer.
property_id_or_slug *stringPublic BaanMe property UUID or listing slug.
offer_idstringOffer UUID from search results. Required when that side has multiple active offers.

build_property_shortlist Build a property shortlist

Create one shareable BaanMe page for selected listings from a client search. Pass canonical public BaanMe listing URLs. The link contains listing references only.

ParameterTypeDescription
listing_urls *array
localestring