Skip to main content

Start with free test endpoints

Every paid endpoint has a free mirror under /test/ — identical request/response, real data, no wallet needed.

1. Check API status

curl https://propx402.xyz/health

2. Free property intelligence

curl -X POST https://propx402.xyz/test/property-intel \
  -H "Content-Type: application/json" \
  -d '{"address": "1411 8th Ave SE, Cedar Rapids, IA 52403"}'

3. Free investor analysis

curl -X POST https://propx402.xyz/test/property-investor \
  -H "Content-Type: application/json" \
  -d '{"address": "1411 8th Ave SE, Cedar Rapids, IA 52403", "condition": "fair"}'

Production queries (with x402 payment)

Once you’re ready to go live, you need:
  • An EVM wallet on Base mainnet
  • USDC balance on Base (bridge here)
  • An x402-compatible HTTP client
import { withPaymentInterceptor } from "x402-fetch";

const fetch402 = withPaymentInterceptor(fetch, walletClient);

const res = await fetch402("https://propx402.xyz/property-full", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    address: "1411 8th Ave SE, Cedar Rapids, IA 52403",
    condition: "fair"
  })
});
const { data } = await res.json();
// data.investorAnalysis.recommendedStrategy → "Short-Term Rental"
// data.investorAnalysis.investorScore → 70
Start with /test/* endpoints to validate your integration. Switch to production endpoints only when you’re ready to attach a wallet.