Docs

估价

最后更新: 2026-10-03阅读约 9 分钟

四个估价工具。支持公寓、独栋住宅和土地;快速估价和估价报告会以 422 business_rule 拒绝商业物业和住宅小区;租金估算同样适用于商业物业。

快速估价

POST /valuation/express:权限范围 tools:valuation,立即返回。一次 API 调用加快速估价的价格。

字段类型必填说明
propertyCategory字符串否apartment(默认)、house、land;commercial 以 422 拒绝,其他任何值(没有 complex)以 400 拒绝
totalArea数字三选一面积,m²
areaM2数字三选一同 totalArea
landPlotArea数字三选一土地面积,m²;仅对 land 计作面积
addressText字符串建议单行地址
country、city、postalCode字符串否分段地址
lat、lon数字否坐标
rooms数字否房间数
yearBuilt数字否建造年份
floor、floorsTotal数字否楼层和总楼层
houseLevels数字否住宅层数
heatingType字符串否供暖
price数字否您的价格:与估价对比
currency字符串否结果货币
language字符串否不使用:快速估价的回复中没有说明文字
targetId字符串否您的房源 ID:同一房源的重复估价在 7 天内取自缓存
curl -X POST https://developers.grem.capital/api/v1/valuation/express \
  -H "Authorization: Bearer gsk_live_xxx" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 5b8c3f7e-2a71-4c55-8d0e-9f1a6b2c4d10" \
  -d '{"propertyCategory":"apartment","addressText":"Torstraße 12, Berlin","totalArea":64,"rooms":2,"currency":"EUR"}'

响应:

字段说明
estimate.pricePoint估算价值
estimate.rangeLow、estimate.rangeHigh区间
estimate.confidence可信度等级:low、medium 或 high
estimate.confidenceScore可信度数值,0 到 1
estimate.currency货币
estimate.analogs找到的可比房源:title, address, area, rooms, pricePerM2, originalPrice, adjustedPrice, adjustments, weight, provenance, source, sourceUrl
degraded没有市场数据的粗略估价时为 true;此类估价不收费

缺少面积或 propertyCategory 未知:400 validation;商业物业:422 business_rule,带 code: commercial_unsupported。

完整估价报告

POST /valuation/report:权限范围 tools:valuation,任务。包含市场分析和 PDF 的报告。必填字段取决于 propertyCategory。只发送您所属类别的字段:其他类别的字段(例如公寓的 houseLevels、独栋房屋的 parking)会以 400 被拒绝。仅公寓:livingArea、kitchenArea、bathrooms、ceilingHeight、floor、storeys、balcony、elevator、parking、houseType、apartmentType。仅独栋房屋:houseLevels。仅土地:zoning。独栋房屋和土地:utilities。

字段类型说明
propertyCategory字符串apartment、house 或 land:必填
address对象必填:country、city、street(可为空)、streetNumber、location(lat、lng)
totalArea数字m²;公寓和住宅必填
landPlotArea数字m²;住宅必填;土地填此字段或 totalArea
condition字符串状况;公寓和住宅必填
apartmentType字符串公寓:Residential、Commercial、Industrial、Land plot 或 Complex,必填
houseType字符串公寓:建筑类型,必填
floor、storeys数字公寓:所在楼层和楼栋层数,必填
balcony、elevator是/否公寓:必填
houseLevels数字住宅:层数,1 到 10,必填
rooms数字公寓、独栋房屋:房间数
livingArea、kitchenArea、bathrooms、ceilingHeight数字仅公寓:可选细节
yearConstruction数字公寓、独栋房屋:建造年份
wallMaterial、heatingType字符串公寓、独栋房屋:墙体材料、供暖;独栋房屋的 heatingType 取值为 central、autonomous、boiler、fireplace、mixed、gas、electric、heat_pump、solid_fuel、underfloor、none 之一
furnished是/否公寓、独栋房屋:带家具
parking是/否仅公寓:停车位
zoning字符串仅土地:用途
utilities对象独栋房屋和土地:gas、water、sewage、electricity(是/否)
price数字您的价格:与估价对比
currency字符串UAH、USD、EUR、AZN、GBP、AED、CNY、TRY、GEL
language字符串报告语言:eng、rus、ukr、deu、spa、aze、arb、fra、zho、tur
objectId字符串若为您的房源估价,填其 ID
comments字符串估价备注
curl -X POST https://developers.grem.capital/api/v1/valuation/report \
  -H "Authorization: Bearer gsk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "propertyCategory": "apartment",
    "address": { "country": "Germany", "city": "Berlin", "street": "Torstraße", "streetNumber": "12" },
    "currency": "EUR", "language": "zho",
    "apartmentType": "Residential", "houseType": "panel",
    "totalArea": 64, "rooms": 2, "floor": 3, "storeys": 5,
    "balcony": true, "elevator": false, "condition": "good"
  }'

响应 202:{ "jobId": "...", "status": "processing", "state": "running" }。完成的任务(GET /valuation/report/jobs/{id})包含:

字段说明
metrics数据:potPrice, priceRangeLow, priceRangeHigh, avgPrice, analogCount, growth - 市场价值、其区间、每平方米价格、可比对象数量、增长率 %
confidence、priceMethod、estimateType价值的可靠程度(high…very_low)、计算方法、单点还是区间
currency所有数据的货币
justification估价依据
recommendations定价和销售建议
pdfMetaPDF 报告的数据
analogs估值所依据的可比房源(与 PDF 中的表格相同):title, address, area, rooms, pricePerM2, originalPrice, adjustedPrice, adjustments, weight, provenance, source, sourceUrl。provenance: model_estimate - 没有真实房源支撑的参考值

商业地产(包括 apartmentType 为 Commercial 或 Industrial)以 422 business_rule 和 code: commercial_unsupported 被拒绝;其租金可用 POST /valuation/rent 估算。住宅综合体(apartmentType: Complex):带 code: complex_unsupported 的 422;请对其中的单套公寓或房屋估价。

PDF:GET /artifacts/v1/ai/appraisal/reports/{id}/pdf。事件:valuation.completed / valuation.failed。

租金估算

POST /valuation/rent:权限范围 tools:rent,立即返回。用字段描述物业,或传入您自己的或公开房源的 objectId。

字段类型说明
objectId字符串以房源代替描述
city字符串无 objectId 时必填
totalArea数字m²;无 objectId 时必填
country、district、street字符串地址
propertyCategory字符串物业类型
rooms、floor数字房间、楼层
furnished是/否带家具
condition字符串状况
rentTerm字符串long:按月租(默认);short:按日租。两个不同的市场
occupancyPct数字按日租:预期入住率,10 到 100 %
monthRentalRate数字您的月租:响应会显示与市场的对比
declaredDayRate数字您的日租价格
currency字符串结果货币
curl -X POST https://developers.grem.capital/api/v1/valuation/rent \
  -H "Authorization: Bearer gsk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{"propertyCategory":"apartment","country":"Germany","city":"Berlin","totalArea":50,"rooms":2,"currency":"EUR"}'

响应:

字段说明
id估算 ID;PDF:GET /artifacts/v1/ai/appraisal/rent/{id}/pdf
currency货币
rent.monthlyRent每月市场租金
rent.low、rent.high区间
rent.annualRent每年
rent.pricePerM2每平方米每月
rent.grossYieldPct已知价格时相对物业价格的毛收益率,%
rent.confidence可信度
rent.basedOn估算基于多少条可比房源
rent.termBasislong 或 short
comps所有参考过的房源及其在估算中的作用:address, area, rooms, monthlyRent/dayRent, effectiveMonthly, term, status, usedInEstimate, source, url

缺少面积或城市:400,detail 类似 "Missing or invalid: totalArea"。

报告审核

POST /valuation/review:权限范围 tools:review。上传估价报告(PDF、DOCX、DOC、RTF;最大 40 MB):GREM 读取报告并用市场数据核对价值。

请求体:multipart/form-data:

部分说明
file报告文件(或 document 部分)
language结果语言,默认 rus
currency货币,默认 USD
curl -X POST https://developers.grem.capital/api/v1/valuation/review \
  -H "Authorization: Bearer gsk_live_xxx" \
  -F "[email protected]" \
  -F "language=zho" -F "currency=EUR"

文件会立即读取。202 响应包含 jobId、status 和 state:

  • action_required(status: need_confirm):extracted 包含从文件中读取的数据。检查并确认:POST /valuation/review/jobs/{id}/confirm(任务与结果)。确认后任务进入 running。
  • failed(status: rejected):该文件不是房地产估价报告。

完成的结果:GET /valuation/review/jobs/{id};审核报告:GET /artifacts/v1/ai/appraisal/reviews/{id}/report.pdf 或 report.docx。事件:review.completed / review.failed;webhook 跟踪在确认之后开始。

相关文章

这篇文章对您有帮助吗?