{"openapi":"3.1.0","info":{"title":"Korea Real Estate Transactions API","summary":"Official Korean real estate transaction records (MOLIT) in clean English JSON.","description":"Every reported real estate **sale** and **lease** (jeonse / monthly rent) in South Korea, sourced from the\nMinistry of Land, Infrastructure and Transport (MOLIT) through data.go.kr and normalized daily into clean\nEnglish JSON.\n\n* Amounts are **KRW (won) integers**; areas are **square metres** (`area_unit=pyeong` adds pyeong).\n* Korean-only codes come back as stable English codes plus a label in the requested language (`lang=en|ko|zh`).\n* `region` is a 5-digit si/gun/gu code (`11680` = Gangnam-gu) or a 2-digit si/do prefix (`11` = Seoul) —\n  look codes up with `/v1/regions?q=gangnam`.\n* Lists are paged with a cursor: pass `meta.next_cursor` back as `cursor` until it is `null`.\n* `meta.coverage` says which months are loaded for the region you asked for, so an empty page can be told\n  apart from data that has not been collected yet.\n\n**Plans** — BASIC: Seoul, last 3 months, 50 rows/page · PRO: nationwide, full history, 500 rows/page ·\nBUSINESS (listed as ULTRA on RapidAPI): PRO + `/v1/stats/monthly`.\n\n**Attribution** — 본 서비스는 국토교통부가 작성하여 공공누리 제1유형으로 개방한 '부동산 실거래가 정보'(공공데이터포털, www.data.go.kr)를 이용하여 가공·제공합니다.\nSource: MOLIT RTMS via data.go.kr, KOGL Type 1 (attribution required).","termsOfService":"https://api.koreapropertydata.com/terms","contact":{"name":"Korea Property Data support","url":"https://api.koreapropertydata.com/","email":"support@koreapropertydata.com"},"license":{"name":"Data: KOGL Type 1 (공공누리 제1유형) — attribution required"},"version":"1.0.0"},"servers":[{"url":"https://api.koreapropertydata.com","description":"Production"}],"paths":{"/v1/regions":{"get":{"tags":["Regions"],"summary":"Search administrative regions (si/do, si/gun/gu, eup/myeon/dong)","operationId":"listRegions","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"description":"Free-text match on the English, Korean or Chinese name, e.g. \"Gangnam\", \"강남\"","title":"Q"},"description":"Free-text match on the English, Korean or Chinese name, e.g. \"Gangnam\", \"강남\""},{"name":"level","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":3,"minimum":1},{"type":"null"}],"description":"1 = si/do, 2 = si/gun/gu (the `region` level), 3 = eup/myeon/dong","title":"Level"},"description":"1 = si/do, 2 = si/gun/gu (the `region` level), 3 = eup/myeon/dong"},{"name":"include_abolished","in":"query","required":false,"schema":{"type":"boolean","description":"Also return abolished codes (older months stay under them)","default":false,"title":"Include Abolished"},"description":"Also return abolished codes (older months stay under them)"},{"name":"lang","in":"query","required":false,"schema":{"enum":["en","ko","zh"],"type":"string","description":"Language for `*_label` and region name fields","default":"en","title":"Lang"},"description":"Language for `*_label` and region name fields"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"description":"Rows per page (plan cap: BASIC 50, PRO/BUSINESS 500)","default":100,"title":"Limit"},"description":"Rows per page (plan cap: BASIC 50, PRO/BUSINESS 500)"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"description":"`meta.next_cursor` of the previous page; keep every other parameter the same","title":"Cursor"},"description":"`meta.next_cursor` of the previous page; keep every other parameter the same"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegionsResponse"}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sales":{"get":{"tags":["Sales"],"summary":"List sale transactions","operationId":"listSales","parameters":[{"name":"region","in":"query","required":true,"schema":{"type":"string","pattern":"^([0-9]{2}|[0-9]{5})$","description":"5-digit si/gun/gu code (11680 = Gangnam-gu) or 2-digit si/do prefix (11 = Seoul). A city split into gu (41110 = Suwon-si) expands to all of its gu.","examples":["11680"],"title":"Region"},"description":"5-digit si/gun/gu code (11680 = Gangnam-gu) or 2-digit si/do prefix (11 = Seoul). A city split into gu (41110 = Suwon-si) expands to all of its gu."},{"name":"property_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["APT","OFFI","RH","SH","LAND","NRG","SILV","INDU"],"type":"string"},{"type":"null"}],"description":"APT apartment · OFFI officetel · RH row/multi-unit house · SH detached/multi-family · LAND · NRG commercial/office · SILV pre-sale right · INDU factory/warehouse","title":"Property Type"},"description":"APT apartment · OFFI officetel · RH row/multi-unit house · SH detached/multi-family · LAND · NRG commercial/office · SILV pre-sale right · INDU factory/warehouse"},{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}$"},{"type":"null"}],"description":"Start month (inclusive), YYYY-MM","examples":["2025-01"],"title":"From"},"description":"Start month (inclusive), YYYY-MM"},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}$"},{"type":"null"}],"description":"End month (inclusive), YYYY-MM","examples":["2025-12"],"title":"To"},"description":"End month (inclusive), YYYY-MM"},{"name":"min_area","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"description":"Minimum representative area (m²)","title":"Min Area"},"description":"Minimum representative area (m²)"},{"name":"max_area","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"description":"Maximum representative area (m²)","title":"Max Area"},"description":"Maximum representative area (m²)"},{"name":"min_price","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Minimum price (KRW)","title":"Min Price"},"description":"Minimum price (KRW)"},{"name":"max_price","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Maximum price (KRW)","title":"Max Price"},"description":"Maximum price (KRW)"},{"name":"include_cancelled","in":"query","required":false,"schema":{"type":"boolean","description":"Include deals later cancelled (`is_cancelled=true`)","default":false,"title":"Include Cancelled"},"description":"Include deals later cancelled (`is_cancelled=true`)"},{"name":"sort","in":"query","required":false,"schema":{"enum":["deal_date_desc","deal_date_asc","price_desc","price_asc"],"type":"string","default":"deal_date_desc","title":"Sort"}},{"name":"area_unit","in":"query","required":false,"schema":{"enum":["m2","pyeong"],"type":"string","description":"`pyeong` adds `*_pyeong` fields (1 pyeong = 3.3058 m²)","default":"m2","title":"Area Unit"},"description":"`pyeong` adds `*_pyeong` fields (1 pyeong = 3.3058 m²)"},{"name":"lang","in":"query","required":false,"schema":{"enum":["en","ko","zh"],"type":"string","description":"Language for `*_label` and region name fields","default":"en","title":"Lang"},"description":"Language for `*_label` and region name fields"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"description":"Rows per page (plan cap: BASIC 50, PRO/BUSINESS 500)","default":100,"title":"Limit"},"description":"Rows per page (plan cap: BASIC 50, PRO/BUSINESS 500)"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"description":"`meta.next_cursor` of the previous page; keep every other parameter the same","title":"Cursor"},"description":"`meta.next_cursor` of the previous page; keep every other parameter the same"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalesResponse"}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not available on the current plan","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests: keyless daily row budget, or a key's per-second or monthly limit (see `Retry-After` / `X-RateLimit-Requests-*`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/rentals":{"get":{"tags":["Rentals"],"summary":"List lease transactions (jeonse and monthly rent)","operationId":"listRentals","parameters":[{"name":"region","in":"query","required":true,"schema":{"type":"string","pattern":"^([0-9]{2}|[0-9]{5})$","description":"5-digit si/gun/gu code (11680 = Gangnam-gu) or 2-digit si/do prefix (11 = Seoul). A city split into gu (41110 = Suwon-si) expands to all of its gu.","examples":["11680"],"title":"Region"},"description":"5-digit si/gun/gu code (11680 = Gangnam-gu) or 2-digit si/do prefix (11 = Seoul). A city split into gu (41110 = Suwon-si) expands to all of its gu."},{"name":"property_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["APT","OFFI","RH","SH"],"type":"string"},{"type":"null"}],"title":"Property Type"}},{"name":"rent_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["JEONSE","MONTHLY"],"type":"string"},{"type":"null"}],"description":"JEONSE = lump-sum deposit, no monthly rent","title":"Rent Type"},"description":"JEONSE = lump-sum deposit, no monthly rent"},{"name":"contract_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["NEW","RENEWAL"],"type":"string"},{"type":"null"}],"title":"Contract Type"}},{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}$"},{"type":"null"}],"description":"Start month (inclusive), YYYY-MM","examples":["2025-01"],"title":"From"},"description":"Start month (inclusive), YYYY-MM"},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}$"},{"type":"null"}],"description":"End month (inclusive), YYYY-MM","examples":["2025-12"],"title":"To"},"description":"End month (inclusive), YYYY-MM"},{"name":"min_area","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"description":"Minimum representative area (m²): exclusive area, or contracted floor area for SH","title":"Min Area"},"description":"Minimum representative area (m²): exclusive area, or contracted floor area for SH"},{"name":"max_area","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"description":"Maximum representative area (m²): exclusive area, or contracted floor area for SH","title":"Max Area"},"description":"Maximum representative area (m²): exclusive area, or contracted floor area for SH"},{"name":"min_deposit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Minimum deposit (KRW)","title":"Min Deposit"},"description":"Minimum deposit (KRW)"},{"name":"max_deposit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Maximum deposit (KRW)","title":"Max Deposit"},"description":"Maximum deposit (KRW)"},{"name":"min_monthly_rent","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Minimum monthly rent (KRW)","title":"Min Monthly Rent"},"description":"Minimum monthly rent (KRW)"},{"name":"max_monthly_rent","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Maximum monthly rent (KRW)","title":"Max Monthly Rent"},"description":"Maximum monthly rent (KRW)"},{"name":"sort","in":"query","required":false,"schema":{"enum":["deal_date_desc","deal_date_asc"],"type":"string","default":"deal_date_desc","title":"Sort"}},{"name":"area_unit","in":"query","required":false,"schema":{"enum":["m2","pyeong"],"type":"string","description":"`pyeong` adds `*_pyeong` fields (1 pyeong = 3.3058 m²)","default":"m2","title":"Area Unit"},"description":"`pyeong` adds `*_pyeong` fields (1 pyeong = 3.3058 m²)"},{"name":"lang","in":"query","required":false,"schema":{"enum":["en","ko","zh"],"type":"string","description":"Language for `*_label` and region name fields","default":"en","title":"Lang"},"description":"Language for `*_label` and region name fields"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"description":"Rows per page (plan cap: BASIC 50, PRO/BUSINESS 500)","default":100,"title":"Limit"},"description":"Rows per page (plan cap: BASIC 50, PRO/BUSINESS 500)"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"description":"`meta.next_cursor` of the previous page; keep every other parameter the same","title":"Cursor"},"description":"`meta.next_cursor` of the previous page; keep every other parameter the same"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RentalsResponse"}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not available on the current plan","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests: keyless daily row budget, or a key's per-second or monthly limit (see `Retry-After` / `X-RateLimit-Requests-*`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/complexes":{"get":{"tags":["Complexes"],"summary":"Search apartment complexes","operationId":"listComplexes","parameters":[{"name":"region","in":"query","required":true,"schema":{"type":"string","pattern":"^([0-9]{2}|[0-9]{5})$","description":"5-digit si/gun/gu code (11680 = Gangnam-gu) or 2-digit si/do prefix (11 = Seoul). A city split into gu (41110 = Suwon-si) expands to all of its gu.","examples":["11680"],"title":"Region"},"description":"5-digit si/gun/gu code (11680 = Gangnam-gu) or 2-digit si/do prefix (11 = Seoul). A city split into gu (41110 = Suwon-si) expands to all of its gu."},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"description":"Complex name (Korean; English where available), partial match","title":"Q"},"description":"Complex name (Korean; English where available), partial match"},{"name":"property_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["APT","OFFI"],"type":"string"},{"type":"null"}],"title":"Property Type"}},{"name":"min_build_year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":2100,"minimum":1900},{"type":"null"}],"title":"Min Build Year"}},{"name":"lang","in":"query","required":false,"schema":{"enum":["en","ko","zh"],"type":"string","description":"Language for `*_label` and region name fields","default":"en","title":"Lang"},"description":"Language for `*_label` and region name fields"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"description":"Rows per page (plan cap: BASIC 50, PRO/BUSINESS 500)","default":100,"title":"Limit"},"description":"Rows per page (plan cap: BASIC 50, PRO/BUSINESS 500)"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"description":"`meta.next_cursor` of the previous page; keep every other parameter the same","title":"Cursor"},"description":"`meta.next_cursor` of the previous page; keep every other parameter the same"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplexesResponse"}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not available on the current plan","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests: keyless daily row budget, or a key's per-second or monthly limit (see `Retry-After` / `X-RateLimit-Requests-*`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/complexes/{complex_seq}/sales":{"get":{"tags":["Complexes"],"summary":"Sale history for one complex","operationId":"listComplexSales","parameters":[{"name":"complex_seq","in":"path","required":true,"schema":{"type":"string","maxLength":12,"description":"Complex id from /v1/complexes","examples":["11680-2246"],"title":"Complex Seq"},"description":"Complex id from /v1/complexes"},{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}$"},{"type":"null"}],"description":"Start month (inclusive), YYYY-MM","examples":["2025-01"],"title":"From"},"description":"Start month (inclusive), YYYY-MM"},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}$"},{"type":"null"}],"description":"End month (inclusive), YYYY-MM","examples":["2025-12"],"title":"To"},"description":"End month (inclusive), YYYY-MM"},{"name":"area_band","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"description":"Exclusive-area band in m², e.g. \"59\", \"84\", \"114\" (matches ±2 m²)","title":"Area Band"},"description":"Exclusive-area band in m², e.g. \"59\", \"84\", \"114\" (matches ±2 m²)"},{"name":"include_cancelled","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Cancelled"}},{"name":"area_unit","in":"query","required":false,"schema":{"enum":["m2","pyeong"],"type":"string","description":"`pyeong` adds `*_pyeong` fields (1 pyeong = 3.3058 m²)","default":"m2","title":"Area Unit"},"description":"`pyeong` adds `*_pyeong` fields (1 pyeong = 3.3058 m²)"},{"name":"lang","in":"query","required":false,"schema":{"enum":["en","ko","zh"],"type":"string","description":"Language for `*_label` and region name fields","default":"en","title":"Lang"},"description":"Language for `*_label` and region name fields"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"description":"Rows per page (plan cap: BASIC 50, PRO/BUSINESS 500)","default":100,"title":"Limit"},"description":"Rows per page (plan cap: BASIC 50, PRO/BUSINESS 500)"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"description":"`meta.next_cursor` of the previous page; keep every other parameter the same","title":"Cursor"},"description":"`meta.next_cursor` of the previous page; keep every other parameter the same"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplexSalesResponse"}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not available on the current plan","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests: keyless daily row budget, or a key's per-second or monthly limit (see `Retry-After` / `X-RateLimit-Requests-*`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Unknown complex_seq","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/stats/monthly":{"get":{"tags":["Stats"],"summary":"Monthly aggregates per region and property type (BUSINESS plan; ULTRA on RapidAPI)","operationId":"getMonthlyStats","parameters":[{"name":"region","in":"query","required":true,"schema":{"type":"string","pattern":"^([0-9]{2}|[0-9]{5})$","description":"5-digit si/gun/gu code (11680 = Gangnam-gu) or 2-digit si/do prefix (11 = Seoul). A city split into gu (41110 = Suwon-si) expands to all of its gu.","examples":["11680"],"title":"Region"},"description":"5-digit si/gun/gu code (11680 = Gangnam-gu) or 2-digit si/do prefix (11 = Seoul). A city split into gu (41110 = Suwon-si) expands to all of its gu."},{"name":"property_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["APT","OFFI","RH","SH","LAND","NRG","SILV","INDU"],"type":"string"},{"type":"null"}],"title":"Property Type"}},{"name":"rent_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["JEONSE","MONTHLY"],"type":"string"},{"type":"null"}],"description":"Omit for sale statistics; set for lease statistics","title":"Rent Type"},"description":"Omit for sale statistics; set for lease statistics"},{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}$"},{"type":"null"}],"description":"Start month (inclusive), YYYY-MM","examples":["2025-01"],"title":"From"},"description":"Start month (inclusive), YYYY-MM"},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}$"},{"type":"null"}],"description":"End month (inclusive), YYYY-MM","examples":["2025-12"],"title":"To"},"description":"End month (inclusive), YYYY-MM"},{"name":"lang","in":"query","required":false,"schema":{"enum":["en","ko","zh"],"type":"string","description":"Language for `*_label` and region name fields","default":"en","title":"Lang"},"description":"Language for `*_label` and region name fields"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"description":"Rows per page (plan cap: BASIC 50, PRO/BUSINESS 500)","default":100,"title":"Limit"},"description":"Rows per page (plan cap: BASIC 50, PRO/BUSINESS 500)"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"description":"`meta.next_cursor` of the previous page; keep every other parameter the same","title":"Cursor"},"description":"`meta.next_cursor` of the previous page; keep every other parameter the same"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsResponse"}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not available on the current plan","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests: keyless daily row budget, or a key's per-second or monthly limit (see `Retry-After` / `X-RateLimit-Requests-*`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/meta/coverage":{"get":{"tags":["Meta"],"summary":"Data freshness and coverage per source (free)","operationId":"getCoverage","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoverageResponse"}}}}},"security":[]}}},"components":{"schemas":{"Address":{"properties":{"jibun":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Jibun"},"road":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Road"}},"additionalProperties":false,"type":"object","title":"Address"},"AreaDetail":{"properties":{"exclusive_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Exclusive M2"},"land_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Land M2"},"building_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Building M2"},"plottage_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Plottage M2"}},"additionalProperties":false,"type":"object","required":["exclusive_m2","land_m2","building_m2","plottage_m2"],"title":"AreaDetail"},"Attribution":{"properties":{"source":{"type":"string","title":"Source","examples":["Ministry of Land, Infrastructure and Transport (국토교통부)"]},"portal":{"type":"string","title":"Portal","examples":["https://www.data.go.kr"]},"license":{"type":"string","title":"License","examples":["KOGL Type 1 (공공누리 제1유형) — attribution required"]},"retrieved_at":{"type":"string","title":"Retrieved At","description":"UTC timestamp of this response"}},"additionalProperties":false,"type":"object","required":["source","portal","license","retrieved_at"],"title":"Attribution"},"Complex":{"properties":{"complex_seq":{"type":"string","title":"Complex Seq","examples":["11680-2246"]},"property_type":{"type":"string","enum":["APT","OFFI"],"title":"Property Type"},"property_type_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Property Type Label"},"name_ko":{"type":"string","title":"Name Ko"},"name_en":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name En"},"region":{"$ref":"#/components/schemas/RegionRef"},"address":{"$ref":"#/components/schemas/Address"},"build_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Build Year"},"first_deal_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Deal Date","description":"First reported sale; for lease-only complexes (n_sales 0) the first lease"},"last_deal_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Deal Date","description":"Last reported sale; for lease-only complexes (n_sales 0) the last lease"},"n_sales":{"type":"integer","title":"N Sales","description":"Reported sales; 0 = known from leases only (e.g. rental complexes)"},"n_rents":{"type":"integer","title":"N Rents","description":"Reported leases (jeonse and monthly rent)"}},"additionalProperties":false,"type":"object","required":["complex_seq","property_type","property_type_label","name_ko","name_en","region","address","build_year","first_deal_date","last_deal_date","n_sales","n_rents"],"title":"Complex"},"ComplexSalesResponse":{"properties":{"complex":{"$ref":"#/components/schemas/Complex"},"data":{"items":{"$ref":"#/components/schemas/Sale"},"type":"array","title":"Data"},"meta":{"$ref":"#/components/schemas/Meta"},"attribution":{"$ref":"#/components/schemas/Attribution"}},"additionalProperties":false,"type":"object","required":["complex","data","meta","attribution"],"title":"ComplexSalesResponse"},"ComplexesResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Complex"},"type":"array","title":"Data"},"meta":{"$ref":"#/components/schemas/Meta"},"attribution":{"$ref":"#/components/schemas/Attribution"}},"additionalProperties":false,"type":"object","required":["data","meta","attribution"],"title":"ComplexesResponse"},"Coverage":{"properties":{"region":{"type":"string","title":"Region"},"scope":{"type":"string","title":"Scope","description":"sgg (one district), city (a city's districts), sido (a province) or nationwide"},"collected":{"items":{"$ref":"#/components/schemas/CoverageItem"},"type":"array","title":"Collected"},"not_collected":{"items":{"type":"string"},"type":"array","title":"Not Collected","description":"Property types with nothing collected yet for this region — an empty result for these means 'not loaded', not 'no deals'"}},"additionalProperties":false,"type":"object","required":["region","scope","collected","not_collected"],"title":"Coverage"},"CoverageItem":{"properties":{"property_type":{"type":"string","enum":["APT","OFFI","RH","SH","LAND","NRG","SILV","INDU"],"title":"Property Type"},"earliest_month":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Earliest Month","description":"Earliest collected deal month for this region (YYYY-MM)","examples":["2006-01"]},"latest_month":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Month","examples":["2026-11"]},"last_refreshed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Refreshed At","description":"Last successful refresh from MOLIT (KST)"},"districts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Districts","description":"Number of si/gun/gu in the queried region with collected data"}},"additionalProperties":false,"type":"object","required":["property_type","earliest_month","latest_month","last_refreshed_at","districts"],"title":"CoverageItem"},"CoverageResponse":{"properties":{"sources":{"items":{"$ref":"#/components/schemas/CoverageSource"},"type":"array","title":"Sources"},"source":{"type":"string","title":"Source"},"attribution":{"$ref":"#/components/schemas/Attribution"}},"additionalProperties":false,"type":"object","required":["sources","source","attribution"],"title":"CoverageResponse"},"CoverageSource":{"properties":{"source":{"type":"string","title":"Source","examples":["RTMSDataSvcAptTradeDev"]},"property_type":{"type":"string","enum":["APT","OFFI","RH","SH","LAND","NRG","SILV","INDU"],"title":"Property Type"},"kind":{"type":"string","enum":["sale","rent"],"title":"Kind"},"latest_deal_month":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Deal Month","examples":["2026-11"]},"last_refreshed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Refreshed At"},"rows_total":{"type":"integer","title":"Rows Total"}},"additionalProperties":false,"type":"object","required":["source","property_type","kind","latest_deal_month","last_refreshed_at","rows_total"],"title":"CoverageSource"},"Error":{"properties":{"error":{"type":"string","title":"Error","examples":["invalid_parameter"]},"message":{"type":"string","title":"Message"},"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Details"}},"additionalProperties":false,"type":"object","required":["error","message"],"title":"Error"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"Meta":{"properties":{"count":{"type":"integer","title":"Count","description":"Rows in this page"},"limit":{"type":"integer","title":"Limit","description":"Page size applied (capped by plan: BASIC 50, PRO/BUSINESS 500)"},"has_more":{"type":"boolean","title":"Has More"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Pass as `cursor` to get the next page; null on the last page"},"sort":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sort"},"tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier","description":"Plan applied to this request: basic | pro | business (ULTRA on RapidAPI)"},"coverage":{"anyOf":[{"$ref":"#/components/schemas/Coverage"},{"type":"null"}]},"source":{"type":"string","title":"Source","examples":["MOLIT RTMS via data.go.kr, KOGL Type 1"]}},"additionalProperties":false,"type":"object","required":["count","limit","has_more","next_cursor","source"],"title":"Meta"},"MonthlyStat":{"properties":{"month":{"type":"string","title":"Month","examples":["2025-06"]},"sgg_cd":{"type":"string","title":"Sgg Cd"},"region_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region Name"},"region_name_ko":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region Name Ko"},"property_type":{"type":"string","enum":["APT","OFFI","RH","SH","LAND","NRG","SILV","INDU"],"title":"Property Type"},"rent_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rent Type","description":"null for sale statistics"},"n_deals":{"type":"integer","title":"N Deals","description":"Sales: deals in the month excluding cancelled ones (prices are over these too). Leases: contracts in the month"},"n_cancelled":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"N Cancelled","description":"Sales only: deals reported and later cancelled"},"median_price_krw":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Median Price Krw"},"mean_price_krw":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mean Price Krw"},"p25_price_krw":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"P25 Price Krw"},"p75_price_krw":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"P75 Price Krw"},"min_price_krw":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Price Krw"},"max_price_krw":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Price Krw"},"mean_price_per_m2_krw":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mean Price Per M2 Krw"},"median_price_per_m2_krw":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Median Price Per M2 Krw"},"mean_area_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mean Area M2"},"median_deposit_krw":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Median Deposit Krw"},"mean_deposit_krw":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mean Deposit Krw"},"median_monthly_rent_krw":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Median Monthly Rent Krw"},"mean_monthly_rent_krw":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mean Monthly Rent Krw"},"median_deposit_per_m2_krw":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Median Deposit Per M2 Krw","description":"Deposit per m² of area_m2 (exclusive area; contracted floor area for SH)"},"share_renewal":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Share Renewal"}},"additionalProperties":true,"type":"object","required":["month","sgg_cd","region_name","region_name_ko","property_type","rent_type","n_deals"],"title":"MonthlyStat"},"Region":{"properties":{"bjd_cd":{"type":"string","title":"Bjd Cd","examples":["1168000000"]},"sgg_cd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sgg Cd","examples":["11680"]},"sido_cd":{"type":"string","title":"Sido Cd","examples":["11"]},"level":{"type":"integer","title":"Level","description":"1 = si/do, 2 = si/gun/gu, 3 = eup/myeon/dong"},"name":{"type":"string","title":"Name","examples":["Gangnam-gu"]},"name_ko":{"type":"string","title":"Name Ko","examples":["강남구"]},"full_name":{"type":"string","title":"Full Name","examples":["Gangnam-gu, Seoul"]},"full_name_ko":{"type":"string","title":"Full Name Ko","examples":["서울특별시 강남구"]},"parent_bjd_cd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Bjd Cd"},"is_active":{"type":"boolean","title":"Is Active","description":"false for abolished codes; MOLIT keeps older months under the old code"},"region_code":{"type":"string","title":"Region Code","description":"Value to pass as `region=` on the data endpoints","examples":["11680"]}},"additionalProperties":false,"type":"object","required":["bjd_cd","sgg_cd","sido_cd","level","name","name_ko","full_name","full_name_ko","parent_bjd_cd","is_active","region_code"],"title":"Region"},"RegionRef":{"properties":{"sgg_cd":{"type":"string","title":"Sgg Cd","examples":["11680"]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"District name in the requested language","examples":["Gangnam-gu"]},"name_ko":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name Ko","examples":["강남구"]},"dong":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dong","description":"Neighbourhood (eup/myeon/dong) in the requested language","examples":["Gaepo-dong"]},"dong_ko":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dong Ko","examples":["개포동"]}},"additionalProperties":false,"type":"object","required":["sgg_cd","name","name_ko","dong","dong_ko"],"title":"RegionRef"},"RegionsResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Region"},"type":"array","title":"Data"},"meta":{"$ref":"#/components/schemas/Meta"},"attribution":{"$ref":"#/components/schemas/Attribution"}},"additionalProperties":false,"type":"object","required":["data","meta","attribution"],"title":"RegionsResponse"},"Rental":{"properties":{"id":{"type":"string","title":"Id"},"property_type":{"type":"string","enum":["APT","OFFI","RH","SH"],"title":"Property Type"},"property_type_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Property Type Label"},"rent_type":{"type":"string","enum":["JEONSE","MONTHLY"],"title":"Rent Type"},"rent_type_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rent Type Label","examples":["Jeonse (lump-sum deposit lease)"]},"region":{"$ref":"#/components/schemas/RegionRef"},"address":{"$ref":"#/components/schemas/RentalAddress"},"complex":{"anyOf":[{"$ref":"#/components/schemas/RentalComplex"},{"type":"null"}]},"area_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Area M2","description":"Representative area: exclusive (APT/OFFI/RH), contracted floor area (SH)","examples":[84.99]},"exclusive_area_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Exclusive Area M2"},"building_area_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Building Area M2","description":"Contracted floor area; reported for detached/multi-family houses (SH) only"},"floor":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Floor"},"build_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Build Year"},"deal_date":{"type":"string","title":"Deal Date"},"deposit_krw":{"type":"integer","title":"Deposit Krw"},"monthly_rent_krw":{"type":"integer","title":"Monthly Rent Krw"},"contract_start":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contract Start"},"contract_end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contract End"},"contract_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contract Type","description":"NEW | RENEWAL"},"contract_type_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contract Type Label"},"used_renewal_right":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Used Renewal Right"},"prev_deposit_krw":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prev Deposit Krw"},"prev_monthly_rent_krw":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prev Monthly Rent Krw"},"attrs":{"additionalProperties":true,"type":"object","title":"Attrs"},"area_pyeong":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Area Pyeong","description":"Only with area_unit=pyeong"},"exclusive_area_pyeong":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Exclusive Area Pyeong","description":"Only with area_unit=pyeong"}},"additionalProperties":false,"type":"object","required":["id","property_type","property_type_label","rent_type","rent_type_label","region","address","complex","area_m2","exclusive_area_m2","building_area_m2","floor","build_year","deal_date","deposit_krw","monthly_rent_krw","contract_start","contract_end","contract_type","contract_type_label","used_renewal_right","prev_deposit_krw","prev_monthly_rent_krw","attrs"],"title":"Rental"},"RentalAddress":{"properties":{"jibun":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Jibun"}},"additionalProperties":false,"type":"object","title":"RentalAddress"},"RentalComplex":{"properties":{"complex_seq":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Complex Seq"},"name_ko":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name Ko"}},"additionalProperties":false,"type":"object","required":["complex_seq","name_ko"],"title":"RentalComplex"},"RentalsResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Rental"},"type":"array","title":"Data"},"meta":{"$ref":"#/components/schemas/Meta"},"attribution":{"$ref":"#/components/schemas/Attribution"}},"additionalProperties":false,"type":"object","required":["data","meta","attribution"],"title":"RentalsResponse"},"Sale":{"properties":{"id":{"type":"string","title":"Id","description":"Stable row hash (SHA-1)"},"property_type":{"type":"string","enum":["APT","OFFI","RH","SH","LAND","NRG","SILV","INDU"],"title":"Property Type"},"property_type_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Property Type Label","examples":["Apartment"]},"region":{"$ref":"#/components/schemas/RegionRef"},"address":{"$ref":"#/components/schemas/Address"},"complex":{"anyOf":[{"$ref":"#/components/schemas/SaleComplex"},{"type":"null"}]},"area_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Area M2","description":"Representative area: exclusive (APT/OFFI/RH/SILV), floor area (SH/NRG/INDU), land (LAND)","examples":[84.99]},"area_detail":{"$ref":"#/components/schemas/AreaDetail"},"floor":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Floor"},"build_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Build Year"},"deal_date":{"type":"string","title":"Deal Date","examples":["2025-06-14"]},"price_krw":{"type":"integer","title":"Price Krw","examples":[1250000000]},"price_per_m2_krw":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Price Per M2 Krw"},"is_cancelled":{"type":"boolean","title":"Is Cancelled"},"cancelled_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancelled Date"},"dealing_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dealing Type","description":"BROKER | DIRECT"},"dealing_type_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dealing Type Label"},"seller_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seller Type","description":"INDIVIDUAL | CORP | PUBLIC | OTHER"},"seller_type_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seller Type Label"},"buyer_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buyer Type"},"buyer_type_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buyer Type Label"},"registered_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registered Date","description":"Ownership registration date; null until registered"},"is_land_leasehold":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Land Leasehold"},"is_share_deal":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Share Deal"},"attrs":{"additionalProperties":true,"type":"object","title":"Attrs","description":"Type-specific extras kept from the source"},"area_pyeong":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Area Pyeong","description":"Only with area_unit=pyeong (1 pyeong = 3.3058 m²)"}},"additionalProperties":false,"type":"object","required":["id","property_type","property_type_label","region","address","complex","area_m2","area_detail","floor","build_year","deal_date","price_krw","price_per_m2_krw","is_cancelled","cancelled_date","dealing_type","dealing_type_label","seller_type","seller_type_label","buyer_type","buyer_type_label","registered_date","is_land_leasehold","is_share_deal","attrs"],"title":"Sale"},"SaleComplex":{"properties":{"complex_seq":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Complex Seq","examples":["11680-2246"]},"name_ko":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name Ko","examples":["래미안블레스티지"]},"name_en":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name En"},"building_dong":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Building Dong"}},"additionalProperties":false,"type":"object","required":["complex_seq","name_ko"],"title":"SaleComplex"},"SalesResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Sale"},"type":"array","title":"Data"},"meta":{"$ref":"#/components/schemas/Meta"},"attribution":{"$ref":"#/components/schemas/Attribution"}},"additionalProperties":false,"type":"object","required":["data","meta","attribution"],"title":"SalesResponse"},"StatsResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/MonthlyStat"},"type":"array","title":"Data"},"meta":{"$ref":"#/components/schemas/Meta"},"attribution":{"$ref":"#/components/schemas/Attribution"}},"additionalProperties":false,"type":"object","required":["data","meta","attribution"],"title":"StatsResponse"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"securitySchemes":{"RapidAPIKey":{"type":"apiKey","in":"header","name":"X-RapidAPI-Key","description":"Issued by RapidAPI when you subscribe (send with X-RapidAPI-Host)."},"ApiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Direct access key."}}},"security":[{"RapidAPIKey":[]},{"ApiKey":[]}]}