Lotlyze

API Reference

All endpoints return JSON and are CORS-enabled. Base URL: https://lotlyze.com. An API key is required for all requests — including the free tier. Sign up at lotlyze.com/sign-up to get a free key instantly.

Authentication

Pass your API key in the Authorization header on every request. A key is required for all tiers — including free. Requests without a valid key return 401.

curl
curl "https://lotlyze.com/api/lookup?query=3016070023" \
  -H "Authorization: Bearer YOUR_API_KEY"
JavaScript / fetch
const API_KEY = "YOUR_API_KEY"; // from lotlyze.com/account

const res = await fetch(
  "https://lotlyze.com/api/lookup?query=3016070023",
  { headers: { Authorization: `Bearer ${API_KEY}` } }
);
const data = await res.json();
Python
import httpx

API_KEY = "YOUR_API_KEY"  # from lotlyze.com/account
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

data = httpx.get(
    "https://lotlyze.com/api/lookup",
    params={"query": "3016070023"},
    headers=HEADERS,
).json()

Where to find your key

  1. Sign in at lotlyze.com/sign-in
  2. Go to My Account
  3. Copy the key from the API Key section
  4. Use it in the Authorization: Bearer <key> header

Error responses

StatusMeaningAction
401Missing or invalid API keySign up at lotlyze.com/sign-up for a free key
429Daily rate limit reachedResets at midnight UTC; upgrade for higher limits
503Auth service temporarily unavailableRetry after a short delay
GET /api/lookup

Resolve any address, BBL, or BIN to canonical identifiers.

Parameters

NameTypeRequiredDescription
querystringYesAddress, 10-digit BBL, hyphenated BBL, or 7-digit BIN

Example

curl
curl "https://lotlyze.com/api/lookup?query=250+Broadway+Manhattan" \
  -H "Authorization: Bearer YOUR_API_KEY"
JavaScript
const res = await fetch(
  "https://lotlyze.com/api/lookup?query=250+Broadway+Manhattan",
  { headers: { Authorization: "Bearer YOUR_API_KEY" } }
);
const { bbl, bin, label } = await res.json();

Response

{
  "type": "address",
  "bbl": "1000477501",
  "bin": "1001074",
  "label": "250 Broadway, Manhattan, NY 10007",
  "source": "geosearch"
}
GET /api/acris

Fetch ACRIS deed and document records for a property.

Parameters

NameTypeRequiredDescription
bblstringYes10-digit Borough-Block-Lot

Example

curl
curl "https://lotlyze.com/api/acris?bbl=1000477501" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "bbl": "1000477501",
  "records": [
    {
      "id": "2023012700123456",
      "date": "2023-01-27",
      "type": "DEED",
      "description": "DEED",
      "party1": "SELLER NAME",
      "party2": "BUYER NAME",
      "amount": 4500000,
      "formattedAmount": "$4,500,000"
    }
  ]
}
GET /api/dob

Fetch DOB permits, job filings, violations, and complaints for a building.

Parameters

NameTypeRequiredDescription
binstringYes7-digit Building ID Number

Example

curl
curl "https://lotlyze.com/api/dob?bin=1001074" \
  -H "Authorization: Bearer YOUR_API_KEY"
GET /api/summary

Full property summary: ACRIS + all DOB data in a single request. Resolves BBL to BIN automatically.

Parameters

NameTypeRequiredDescription
bblstringYes10-digit Borough-Block-Lot

Example

curl
curl "https://lotlyze.com/api/summary?bbl=1000477501" \
  -H "Authorization: Bearer YOUR_API_KEY"
Python
import httpx

API_KEY = "YOUR_API_KEY"

data = httpx.get(
    "https://lotlyze.com/api/summary",
    params={"bbl": "1000477501"},
    headers={"Authorization": f"Bearer {API_KEY}"},
).json()

print(data["acris"][0]["date"])   # most recent deed date
print(len(data["dob"]["violations"]))
POST /api/bulk Developer only

Look up up to 50 BBLs in a single request. Returns ACRIS + DOB data for each. Requires a Developer API key in the Authorization header.

Parameters (POST body JSON)

NameTypeRequiredDescription
bblsstring[]YesArray of BBLs (10-digit or hyphenated). Max 50.

Example

curl
curl -X POST "https://lotlyze.com/api/bulk" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"bbls": ["3016070023", "1004770001", "4015670023"]}'

Rate limits & tiers

TierPriceLookups / dayBulk endpointAPI key
Free$05 / dayNoYes
Pro$9 / mo100 / dayNoYes
Developer$19 / mo10,000 / dayYes (50 BBLs/req)Yes

Include your API key in the Authorization: Bearer <key> header. Keys are provisioned automatically on upgrade — visit your account.