# Dataruma API

> Dataruma is a property-data API for Indonesia (Jabodetabek) and a public Jakarta address check. The check reports flood risk from InaRISK/BNPB and BPBD DKI, plus DKI RDTR 2022 zoning. It is a neighborhood screen, not a site survey and not a KJPP appraisal.

Canonical site: https://v2.dataruma.com
Indonesian pages: https://v2.dataruma.com/id
English pages: https://v2.dataruma.com/en

## What the public check covers

DKI Jakarta only, including Kepulauan Seribu. A point inside a polygon or within 50 meters can match a BPBD hazard class and inundation history. RDTR is the 2022 DKI layer (`dki.rdtr_2022`). The site hides labelled example numbers when no official layer matches.

## Data

- InaRISK flood hazard (BNPB) (`bnpb.inarisk.layer_bahaya_banjir`): https://gis.bnpb.go.id/server/rest/services/inarisk/layer_bahaya_banjir/ImageServer
- BPBD DKI flood hazard (`bpbd_dki.rawan_banjir`, as of 2013-2017): https://jakartasatu.jakarta.go.id/server/rest/services/BPBD/Rawan_Bencana_BPBD/FeatureServer/0
- BPBD DKI flood history (`bpbd_dki.histori_banjir`): https://jakartasatu.jakarta.go.id/server/rest/services/BPBD/Histori_Banjir_BPBD_Time_Aware/FeatureServer/0
- DKI Jakarta RDTR 2022 (`dki.rdtr_2022`, as of 2022): https://jakartasatu.jakarta.go.id/server/rest/services/Rencana_Pola_Ruang_RDTR_2022/FeatureServer/0
- OpenStreetMap (`openstreetmap`, licence ODbL (https://opendatacommons.org/licenses/odbl/1-0/)): https://www.openstreetmap.org/copyright

The loader does not record a licence for the InaRISK, BPBD, or RDTR layers. Portal comparable listings are derived facts. Their licence status in the scraper is `scraped_pending_licence`. The API does not return raw portal copies.

## Authentication

`Authorization: Bearer <api key>`

Health, this site's `/llms.txt`, and `/openapi.json` on the API host are public. Priced routes need a key. A key with an insufficient balance returns 402. Signup shows the key once and starts at a $0 balance. The gateway does not send email.

## Prices

From the capability table joined to the live OpenAPI routes. One micro-USD is one USDC atomic unit.

- GET /health — free — Process health
- GET /llms.txt — free — Agent discovery document
- GET /openapi.json — free — This document
- GET /mcp — free — MCP tool catalog
- POST /mcp/tools/{toolName} — free — Invoke an MCP tool
- GET /v1/comps — $0.03 — Nearby comparable listings
- GET /v1/valuation — $0.08 — Comps-weighted AVM
- POST /v1/valuation — $0.08 — Legacy indicative valuation (p10, p50, p90)
- GET /v1/flood-risk — $0.01 — Flood components and band
- GET /v1/neighborhood — $0.01 — Neighborhood screen
- GET /v1/catalog — free — Available capabilities
- GET /v1/catalog/search — free — Search capabilities
- GET /v1/catalog/{id} — free — One capability
- POST /v1/accounts — free — Create an account and API key
- GET /v1/account — free — Account profile
- GET /v1/balance — free — Credit balance
- GET /v1/keys — free — API keys for this account
- POST /v1/keys/rotate — free — Rotate the current API key
- GET /v1/topups — free — Recent USDC top-ups
- POST /v1/topups — free — Buy credits with USDC (x402)
- GET /v1/calls — free — Call history for the key account
- POST /v1/feedback — free — Store feedback for a result
- POST /v1/admin/market-profiles/{id}/verification — free — Set an agent verification status
- POST /v1/admin/market-listings/{id}/ownership-proof — free — Set ownership proof status
- POST /v1/admin/market-events/{id}/delivered — free — Mark a notification event delivered
- GET /v1/market/profile — free — Read the caller profile
- PUT /v1/market/profile — free — Create or replace the caller profile
- GET /v1/market/profiles/{id} — free — Read another profile without contact fields
- GET /v1/market/listings — free — List listings the caller owns or submitted
- POST /v1/market/listings — free — Create a first-party listing
- GET /v1/market/listings/{id} — free — Read a listing
- PATCH /v1/market/listings/{id} — free — Update a listing
- POST /v1/market/listings/{id}/withdraw — free — Withdraw a listing
- POST /v1/market/listings/{id}/accept — free — Owner accepts an agent-submitted listing
- POST /v1/market/listings/{id}/context — free — Refresh flood and zoning from official layers
- GET /v1/market/listings/{id}/agent-matches — free — List stored agent matches
- POST /v1/market/listings/{id}/agent-matches — free — Score agents who cover this listing
- POST /v1/market/listings/{id}/leads — free — Open a lead on a published listing
- GET /v1/market/listings/{id}/representation-requests — free — Owner lists representation requests
- POST /v1/market/listings/{id}/representation-requests — free — Verified agent asks to represent an open listing
- POST /v1/market/representation-requests/{id}/resolve — free — Owner accepts or declines a representation request
- GET /v1/market/requests — free — List the caller search alerts
- POST /v1/market/requests — free — Save a buyer or renter search alert
- GET /v1/market/requests/{id} — free — Read one search alert
- PATCH /v1/market/requests/{id} — free — Update a search alert
- GET /v1/market/requests/{id}/matches — free — List stored listing matches
- POST /v1/market/requests/{id}/matches — free — Score published listings against a search alert
- GET /v1/market/leads — free — List leads the caller is a party to
- GET /v1/market/leads/{id} — free — Read a lead, its status timestamps, and contact if revealed
- POST /v1/market/leads/{id}/status — free — Advance a lead
- POST /v1/market/leads/{id}/consent — free — Grant or revoke contact sharing
- GET /v1/market/leads/{id}/audit — free — Consent and reveal audit for a lead
- GET /v1/market/events — free — Notification events for the caller

## Links

- [OpenAPI](https://v2.dataruma.com/openapi.json)
- [HTML docs, Indonesian](https://v2.dataruma.com/id/docs)
- [HTML docs, English](https://v2.dataruma.com/en/docs)
- [x402 top-up (markdown)](https://v2.dataruma.com/docs/x402.md)
- [API llms.txt](https://api.dataruma.com/llms.txt)
