Skip to content
dataruma

Reference

The API that is live today.

This list follows the gateway OpenAPI document. Metered prices are read from the capability table.

x402 top-up guideMarkdown versionOpenAPI

GET/healthFree

Process health

Parameters

No parameters.

GET/llms.txtFree

Agent discovery document

Parameters

No parameters.

GET/openapi.jsonFree

This document

Parameters

No parameters.

GET/mcpFree

MCP tool catalog

Parameters

No parameters.

POST/mcp/tools/{toolName}Free

Invoke an MCP tool

Parameters

  • toolName · path · required
GET/v1/comps$0.03

Nearby comparable listings

One row per cross-listing cluster. Price is $0.03 (30000 micro-USD), billed on insufficient_data as well as on a full summary. Sale prices are total asks. Rent prices are annual. Portal URL and as_of are citations, not a copy of the listing.

Authorization: Bearer

Parameters

  • lat · query · required
  • lng · query · required
  • property_type · query · required
  • listing_type · query
  • land_m2 · query
  • building_m2 · query
  • radius_m · query
  • recency_days · query
GET/v1/valuation$0.08

Comps-weighted AVM

Price is $0.08 (80000 micro-USD). The estimate is a distance, recency, and size-weighted price per m2. status insufficient_data when fewer than 5 usable comps match. No example prices. A promoted LightGBM model is cited from avm.model_versions and is not executed in this build.

Authorization: Bearer

Parameters

  • lat · query · required
  • lng · query · required
  • property_type · query · required
  • listing_type · query
  • land_m2 · query
  • building_m2 · query
  • radius_m · query
  • recency_days · query
POST/v1/valuation$0.08

Legacy indicative valuation (p10, p50, p90)

Reads resolved public.listings. May return a labelled example when none match. Prefer GET /v1/valuation for portal comps.

Authorization: Bearer

Parameters

No parameters.

Samples

curl -sS https://api.dataruma.com/v1/valuation \
  -H 'Authorization: Bearer sk_live_...' \
  -H 'Content-Type: application/json' \
  -d '{  "location": {    "lat": -6.1944,    "lng": 106.8229  },  "type": "house",  "land_m2": 120,  "building_m2": 90}'
GET/v1/flood-risk$0.01

Flood components and band

Authorization: Bearer

Parameters

  • lat · query · required
  • lng · query · required

Samples

curl -sS 'https://api.dataruma.com/v1/flood-risk?lat=-6.1944&lng=106.8229' \
  -H 'Authorization: Bearer sk_live_...'
GET/v1/neighborhood$0.01

Neighborhood screen

Authorization: Bearer

Parameters

  • lat · query · required
  • lng · query · required
  • radius_km · query

Samples

curl -sS 'https://api.dataruma.com/v1/neighborhood?lat=-6.1944&lng=106.8229&radius_km=1' \
  -H 'Authorization: Bearer sk_live_...'
GET/v1/catalogFree

Available capabilities

Authorization: Bearer

Parameters

No parameters.

GET/v1/catalog/searchFree

Search capabilities

Authorization: Bearer

Parameters

  • q · query · required
GET/v1/catalog/{id}Free

One capability

Authorization: Bearer

Parameters

  • id · path · required
POST/v1/accountsFree

Create an account and API key

Public signup. Body is { email, turnstile_token }. No email is sent. The response includes the raw API key once and a balance of 0 micro-USD. A duplicate email returns 409. Cloudflare Turnstile and a per-network hourly limit apply.

Parameters

No parameters.

Samples

curl -sS https://api.dataruma.com/v1/accounts \
  -H 'Content-Type: application/json' \
  -d '{"email":"you@example.com","turnstile_token":"<token>"}'
GET/v1/accountFree

Account profile

Authorization: Bearer

Parameters

No parameters.

GET/v1/balanceFree

Credit balance

Authorization: Bearer

Parameters

No parameters.

Samples

curl -sS https://api.dataruma.com/v1/balance \
  -H 'Authorization: Bearer sk_live_...'
GET/v1/keysFree

API keys for this account

Prefixes and scopes only. Raw tokens are never stored and are not returned here.

Authorization: Bearer

Parameters

No parameters.

POST/v1/keys/rotateFree

Rotate the current API key

Disables the bearer key used on this request and returns a new token once, with the same scopes.

Authorization: Bearer

Parameters

No parameters.

GET/v1/topupsFree

Recent USDC top-ups

Authorization: Bearer

Parameters

No parameters.

POST/v1/topupsFree

Buy credits with USDC (x402)

Without PAYMENT-SIGNATURE this returns 402 and a base64 PAYMENT-REQUIRED header (x402 v2, exact scheme, Base and/or Solana USDC). A verified settlement credits micro-USD once. One micro-USD equals one USDC atomic unit. Body is { amount_micro_usd } from 10000 ($0.01) to 1000000000 ($1,000).

Authorization: Bearer

Parameters

No parameters.

Samples

curl -sS -D - https://api.dataruma.com/v1/topups \
  -H 'Authorization: Bearer sk_live_...' \
  -H 'Content-Type: application/json' \
  -d '{"amount_micro_usd":1000000}'
GET/v1/callsFree

Call history for the key account

Authorization: Bearer

Parameters

  • limit · query
  • cursor · query
POST/v1/feedbackFree

Store feedback for a result

Authorization: Bearer

Parameters

No parameters.

POST/v1/admin/topupsFree

Admin test credit

Requires the admin scope. Writes the ledger with provider stub and does not collect a payment.

Authorization: Bearer

Parameters

No parameters.

POST/v1/admin/market-profiles/{id}/verificationFree

Set an agent verification status

Admin scope. verification_status is unverified, pending, verified, or rejected. Optional verification_expires_at is ISO-8601 UTC.

Authorization: Bearer

Parameters

  • id · path · required
POST/v1/admin/market-listings/{id}/ownership-proofFree

Set ownership proof status

Admin scope. Callers cannot mark proof verified themselves. Values: unsubmitted, pending, verified, rejected.

Authorization: Bearer

Parameters

  • id · path · required
POST/v1/admin/market-events/{id}/deliveredFree

Mark a notification event delivered

Admin hook for a future sender. This does not send SMS or WhatsApp.

Authorization: Bearer

Parameters

  • id · path · required
GET/v1/market/profileFree

Read the caller profile

Authorization: Bearer

Parameters

No parameters.

PUT/v1/market/profileFree

Create or replace the caller profile

Roles are owner, agent, buyer, and renter. Phone and WhatsApp are stored and returned only to this caller. default_lead_routing is owner_direct unless set to delegate_agent (verified agent id required) or open_to_agents. service_area is a GeoJSON Polygon or MultiPolygon. service_kecamatan is a list of names. Not billed.

Authorization: Bearer

Parameters

No parameters.

GET/v1/market/profiles/{id}Free

Read another profile without contact fields

Authorization: Bearer

Parameters

  • id · path · required
GET/v1/market/listingsFree

List listings the caller owns or submitted

Authorization: Bearer

Parameters

No parameters.

POST/v1/market/listingsFree

Create a first-party listing

Property fields match the scraper normalization: listing_type sale or rent, property_type house, apartment, land, or shop_house, price_period total for sale and year or month for rent, certificate shm, hgb, shgb, hgu, girik, petok_d, ajb, ppjb, or unknown. location is {lat, lng}. photos are https URLs or R2 keys. portal_cluster_id may link a scrape.listings cluster and does not copy the portal row. Flood and zoning are snapshotted from the official layers. An owner listing is accepted immediately. A verified agent may submit for another owner; it stays draft until POST /accept. lead_routing null uses the owner default. Not billed.

Authorization: Bearer

Parameters

No parameters.

GET/v1/market/listings/{id}Free

Read a listing

Published listings are visible to any market profile. Drafts and withdrawn listings are visible to the owner, submitter, delegate, and representing agent.

Authorization: Bearer

Parameters

  • id · path · required
PATCH/v1/market/listings/{id}Free

Update a listing

Owner or submitting agent. publish true requires owner acceptance. Moving the point refreshes flood and zoning. Not billed.

Authorization: Bearer

Parameters

  • id · path · required
POST/v1/market/listings/{id}/withdrawFree

Withdraw a listing

Authorization: Bearer

Parameters

  • id · path · required
POST/v1/market/listings/{id}/acceptFree

Owner accepts an agent-submitted listing

Body { publish: true } also publishes it.

Authorization: Bearer

Parameters

  • id · path · required
POST/v1/market/listings/{id}/contextFree

Refresh flood and zoning from official layers

Authorization: Bearer

Parameters

  • id · path · required
GET/v1/market/listings/{id}/agent-matchesFree

List stored agent matches

Authorization: Bearer

Parameters

  • id · path · required
POST/v1/market/listings/{id}/agent-matchesFree

Score agents who cover this listing

Owner only. Coverage is the service polygon or kecamatan list. Score adds verification, closed-won count, and median reply time. Not billed.

Authorization: Bearer

Parameters

  • id · path · required
POST/v1/market/listings/{id}/leadsFree

Open a lead on a published listing

Body consent must be true. The seeker needs the buyer role for a sale and the renter role for a rent. Routing is snapshotted: owner_direct sends the lead to the owner, delegate_agent sends it to the selected verified agent, open_to_agents leaves recipient null until the owner accepts a representation request. One open lead per seeker per listing. Not billed.

Authorization: Bearer

Parameters

  • id · path · required
GET/v1/market/listings/{id}/representation-requestsFree

Owner lists representation requests

Authorization: Bearer

Parameters

  • id · path · required
POST/v1/market/listings/{id}/representation-requestsFree

Verified agent asks to represent an open listing

Only when the effective routing mode is open_to_agents. Limited to 5 requests per hour and 20 per day. Not billed.

Authorization: Bearer

Parameters

  • id · path · required
POST/v1/market/representation-requests/{id}/resolveFree

Owner accepts or declines a representation request

decision is accepted or declined. Accepting sets the representing agent and assigns queued open_to_agents leads that do not yet have a recipient.

Authorization: Bearer

Parameters

  • id · path · required
GET/v1/market/requestsFree

List the caller search alerts

Authorization: Bearer

Parameters

No parameters.

POST/v1/market/requestsFree

Save a buyer or renter search alert

Requires an area polygon or a kecamatan list. Optional budget, property types, size, max_flood_band (low, medium, high), and zone_codes. A flood or zoning must-have fails closed when the listing snapshot is unknown. Not billed.

Authorization: Bearer

Parameters

No parameters.

GET/v1/market/requests/{id}Free

Read one search alert

Authorization: Bearer

Parameters

  • id · path · required
PATCH/v1/market/requests/{id}Free

Update a search alert

status may be active, paused, or closed. Criteria fields replace the saved alert when present.

Authorization: Bearer

Parameters

  • id · path · required
GET/v1/market/requests/{id}/matchesFree

List stored listing matches

Authorization: Bearer

Parameters

  • id · path · required
POST/v1/market/requests/{id}/matchesFree

Score published listings against a search alert

Replaces stored matches. Eligible listings match sale/rent, property type, area (polygon or kecamatan), budget within 10% over or half under, flood and zoning must-haves, and are not wildly outside the size range. Score is 0-100 from location, budget, size, type, and flood. New matches are written to the notification event table. Not billed.

Authorization: Bearer

Parameters

  • id · path · required
GET/v1/market/leadsFree

List leads the caller is a party to

Seeker, recipient, or listing owner. Other owners are omitted. counterparty_contact is always null on this list.

Authorization: Bearer

Parameters

  • limit · query
GET/v1/market/leads/{id}Free

Read a lead, its status timestamps, and contact if revealed

Timestamps are ISO-8601 UTC. Statuses: new, contacted, viewing_scheduled, offer, closed_won, closed_lost. counterparty_contact is present only when contacts_revealed_at is set and the caller is the seeker or the recipient. The listing owner who is not the recipient does not receive phone or WhatsApp. commercial_terms_status is always not_configured.

Authorization: Bearer

Parameters

  • id · path · required
POST/v1/market/leads/{id}/statusFree

Advance a lead

Forward moves and skips are allowed. closed_won and closed_lost are terminal. The seeker may only set closed_lost. The recipient and the listing owner may set any forward status. Entering contacted records an agent reply sample. Entering a closed status updates that agent track record once.

Authorization: Bearer

Parameters

  • id · path · required
POST/v1/market/leads/{id}/consentFree

Grant or revoke contact sharing

action is grant or revoke. Reveal happens when both seeker_contact_consent_at and recipient_contact_consent_at are set, and is written to the consent audit. Revoke clears that side and contacts_revealed_at. The audit stores actions, not phone numbers.

Authorization: Bearer

Parameters

  • id · path · required
GET/v1/market/leads/{id}/auditFree

Consent and reveal audit for a lead

Authorization: Bearer

Parameters

  • id · path · required
GET/v1/market/eventsFree

Notification events for the caller

Queue only. Nothing is sent to SMS or WhatsApp. delivered_at stays null until an admin marks it.

Authorization: Bearer

Parameters

  • limit · query
Indonesia property data API · Dataruma