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.
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.
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.
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());
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.All optional except client_id. Filters compose (AND).
| Param | Type | Description |
|---|---|---|
client_id REQUIRED | string | Feed id: 9e56a91b-3157-40fd-89ca-37e50923b5c2 |
strategy | enum | flip · brrrr · buy_hold (alias rental). Default flip. |
min_grade | enum | STRONG · MODERATE · FAIR — this grade and better. Default STRONG. |
state | string | 2-letter state, e.g. FL. |
zip / city | string | Exact ZIP, or case-insensitive city. |
min_price / max_price | int | List-price bounds (USD). |
beds_min / baths_min | number | Minimum bedrooms / bathrooms. |
min_margin_pct | number | Minimum gross margin %, e.g. 25. |
min_gross_spread / min_arv | int | Minimum spread (ARV − list) / minimum ARV. |
min_dom / max_dom | int | Days-on-market window (high DOM + strong margin = motivated seller). |
min_confidence | 0–100 | Only ARV-based deals at/above this ARV-confidence score. |
limit | int | Max results, 1–100. Default 20. |
{
"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"
}
]
}
Each call is quoted dynamically from the grades it returns — you pay for value delivered, capped per call. Paid in USDC on Base.
| Component | Price (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.
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.