Loncat ke isi
dataruma

Referensi

API yang hidup hari ini.

Daftar ini mengikuti OpenAPI gateway. Harga berbayar diambil dari tabel kemampuan, bukan diketik ulang.

Panduan isi saldo x402Versi MarkdownOpenAPI

GET/healthGratis

Process health

Parameter

Parameter tidak ada.

GET/llms.txtGratis

Agent discovery document

Parameter

Parameter tidak ada.

GET/openapi.jsonGratis

This document

Parameter

Parameter tidak ada.

GET/mcpGratis

MCP tool catalog

Parameter

Parameter tidak ada.

POST/mcp/tools/{toolName}Gratis

Invoke an MCP tool

Parameter

  • 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

Parameter

  • 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

Parameter

  • 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

Parameter

Parameter tidak ada.

Contoh

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

Parameter

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

Contoh

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

Parameter

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

Contoh

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

Available capabilities

Authorization: Bearer

Parameter

Parameter tidak ada.

GET/v1/catalog/searchGratis

Search capabilities

Authorization: Bearer

Parameter

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

One capability

Authorization: Bearer

Parameter

  • id · path · required
POST/v1/accountsGratis

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.

Parameter

Parameter tidak ada.

Contoh

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

Account profile

Authorization: Bearer

Parameter

Parameter tidak ada.

GET/v1/balanceGratis

Credit balance

Authorization: Bearer

Parameter

Parameter tidak ada.

Contoh

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

API keys for this account

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

Authorization: Bearer

Parameter

Parameter tidak ada.

POST/v1/keys/rotateGratis

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

Parameter

Parameter tidak ada.

GET/v1/topupsGratis

Recent USDC top-ups

Authorization: Bearer

Parameter

Parameter tidak ada.

POST/v1/topupsGratis

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

Parameter

Parameter tidak ada.

Contoh

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/callsGratis

Call history for the key account

Authorization: Bearer

Parameter

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

Store feedback for a result

Authorization: Bearer

Parameter

Parameter tidak ada.

POST/v1/admin/topupsGratis

Admin test credit

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

Authorization: Bearer

Parameter

Parameter tidak ada.

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

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

Parameter

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

Set ownership proof status

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

Authorization: Bearer

Parameter

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

Mark a notification event delivered

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

Authorization: Bearer

Parameter

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

Read the caller profile

Authorization: Bearer

Parameter

Parameter tidak ada.

PUT/v1/market/profileGratis

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

Parameter

Parameter tidak ada.

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

Read another profile without contact fields

Authorization: Bearer

Parameter

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

List listings the caller owns or submitted

Authorization: Bearer

Parameter

Parameter tidak ada.

POST/v1/market/listingsGratis

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

Parameter

Parameter tidak ada.

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

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

Parameter

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

Update a listing

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

Authorization: Bearer

Parameter

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

Withdraw a listing

Authorization: Bearer

Parameter

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

Owner accepts an agent-submitted listing

Body { publish: true } also publishes it.

Authorization: Bearer

Parameter

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

Refresh flood and zoning from official layers

Authorization: Bearer

Parameter

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

List stored agent matches

Authorization: Bearer

Parameter

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

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

Parameter

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

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

Parameter

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

Owner lists representation requests

Authorization: Bearer

Parameter

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

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

Parameter

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

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

Parameter

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

List the caller search alerts

Authorization: Bearer

Parameter

Parameter tidak ada.

POST/v1/market/requestsGratis

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

Parameter

Parameter tidak ada.

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

Read one search alert

Authorization: Bearer

Parameter

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

Update a search alert

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

Authorization: Bearer

Parameter

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

List stored listing matches

Authorization: Bearer

Parameter

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

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

Parameter

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

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

Parameter

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

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

Parameter

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

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

Parameter

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

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

Parameter

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

Consent and reveal audit for a lead

Authorization: Bearer

Parameter

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

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

Parameter

  • limit · query
API data properti Indonesia · Dataruma