Scalogy Real Estate Deals

Scalogy Real Estate Deals

x402 API · pay-per-call · Base mainnet

A machine-payable API that returns vetted, graded US residential real-estate deals for AI agents — flip, BRRRR, and buy-&-hold, scored daily with ARV, spread, margin, cap rate, days-on-market and comps. No signup, no API key: your agent calls the URL, pays a few cents in USDC over x402, and gets data back.

x402 / HTTP 402 USDC on Base (eip155:8453) Discoverable in the Coinbase Bazaar Daily-refreshed

What you get

Every result is an on/near-market residential listing that the Scalogy RE Listing Analyzer has graded for a chosen investment strategy. Each deal includes an estimated After-Repair Value (ARV) from a live comparable-sales set, gross spread and margin, a letter grade, days-on-market, comp count, an ARV-confidence score, and the source listing URL.

Grades served
STRONG · MODERATE · FAIR
Strategies
flip · brrrr · buy_hold
Coverage
FL · GA · NC · SC · AL · MS
Freshness
Re-scored daily

Quickstart

GET https://x402-scalogy-production.up.railway.app/find_graded_deals

The endpoint speaks x402: an unpaid request returns 402 Payment Required with a quote; your x402 client signs a USDC payment authorization and retries; you get 200 + JSON. Settlement is gasless for the buyer — the facilitator sponsors gas, so the wallet only needs USDC.

Node (viem + @x402/fetch)

npm i @x402/fetch @x402/evm viem

// buy.mjs  —  BUYER_PK = a Base wallet funded with a few USDC
import { wrapFetchWithPayment, x402Client, decodePaymentResponseHeader } from '@x402/fetch';
import { registerExactEvmScheme } from '@x402/evm/exact/client';
import { privateKeyToAccount } from 'viem/accounts';

const URL = 'https://x402-scalogy-production.up.railway.app/find_graded_deals'
  + '?client_id=9e56a91b-3157-40fd-89ca-37e50923b5c2'
  + '&strategy=flip&min_grade=STRONG&state=FL&limit=5';

const account = privateKeyToAccount(process.env.BUYER_PK);
const client = new x402Client();
registerExactEvmScheme(client, { signer: account, networks: ['eip155:8453'] });
const fetchWithPay = wrapFetchWithPayment(globalThis.fetch, client);

const res = await fetchWithPay(URL);
console.log('HTTP', res.status);
const pr = res.headers.get('payment-response');
if (pr) console.log('settled tx:', decodePaymentResponseHeader(pr).transaction);
console.log(await res.text());
The client_id above is this product's public feed id — pass it on every call. Discovery clients in the Coinbase Bazaar can also auto-negotiate payment without writing any of this.

Parameters

All optional except client_id. Filters compose (AND).

ParamTypeDescription
client_id REQUIREDstringFeed id: 9e56a91b-3157-40fd-89ca-37e50923b5c2
strategyenumflip · brrrr · buy_hold (alias rental). Default flip.
min_gradeenumSTRONG · MODERATE · FAIR — this grade and better. Default STRONG.
statestring2-letter state, e.g. FL.
zip / citystringExact ZIP, or case-insensitive city.
min_price / max_priceintList-price bounds (USD).
beds_min / baths_minnumberMinimum bedrooms / bathrooms.
min_margin_pctnumberMinimum gross margin %, e.g. 25.
min_gross_spread / min_arvintMinimum spread (ARV − list) / minimum ARV.
min_dom / max_domintDays-on-market window (high DOM + strong margin = motivated seller).
min_confidence0–100Only ARV-based deals at/above this ARV-confidence score.
limitintMax results, 1–100. Default 20.

Response

{
  "count": 1,
  "deals": [
    {
      "address": "617 Siesta Dr, Sarasota, FL 34242",
      "city": "Sarasota", "state": "FL", "zip": "34242",
      "beds": 4, "baths": 4, "sqft": 2709, "year_built": 1939,
      "property_type": "single_family",
      "list_price": 949900,
      "arv": 2006666, "arv_p25": 1291791, "arv_p75": 2006666,
      "gross_spread": 1056766, "gross_margin_pct": 52.7,
      "grade": "STRONG", "dom": 3, "comp_count": 4,
      "reason": "cashflow $2,815/mo, cap 9.7%, rent est $9975/mo",
      "url": "https://www.redfin.com/FL/Sarasota/617-Siesta-Dr-34242/home/47821793",
      "confidence": 30, "confidence_band": "LOW",
      "list_added_date": "2026-06-23T20:47:57Z", "mls_status": "active"
    }
  ]
}

Pricing

Each call is quoted dynamically from the grades it returns — you pay for value delivered, capped per call. Paid in USDC on Base.

ComponentPrice (USDC)
Base fee (per call)$0.02
per STRONG deal$0.15
per MODERATE deal$0.06
per FAIR deal$0.02
Per-call cap$5.00

Quote = base + Σ(per-grade × count), min'd at the cap. A query that returns nothing costs only the base fee.

Discovery

This resource is listed in the Coinbase x402 Bazaar as “Scalogy Real Estate Deals” — agents that browse the Bazaar can find it and pay automatically, no integration code required. Tags: real estate · house flipping · brrrr · rental property · investment property.