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 "https://lotlyze.com/api/lookup?query=3016070023" \
-H "Authorization: Bearer YOUR_API_KEY" 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(); 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
- Sign in at lotlyze.com/sign-in
- Go to My Account
- Copy the key from the API Key section
-
Use it in the
Authorization: Bearer <key>header
Error responses
| Status | Meaning | Action |
|---|---|---|
401 | Missing or invalid API key | Sign up at lotlyze.com/sign-up for a free key |
429 | Daily rate limit reached | Resets at midnight UTC; upgrade for higher limits |
503 | Auth service temporarily unavailable | Retry after a short delay |
/api/lookup Resolve any address, BBL, or BIN to canonical identifiers.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Address, 10-digit BBL, hyphenated BBL, or 7-digit BIN |
Example
curl "https://lotlyze.com/api/lookup?query=250+Broadway+Manhattan" \
-H "Authorization: Bearer YOUR_API_KEY" 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"
} /api/acris Fetch ACRIS deed and document records for a property.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
bbl | string | Yes | 10-digit Borough-Block-Lot |
Example
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"
}
]
} /api/dob Fetch DOB permits, job filings, violations, and complaints for a building.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
bin | string | Yes | 7-digit Building ID Number |
Example
curl "https://lotlyze.com/api/dob?bin=1001074" \
-H "Authorization: Bearer YOUR_API_KEY" /api/summary Full property summary: ACRIS + all DOB data in a single request. Resolves BBL to BIN automatically.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
bbl | string | Yes | 10-digit Borough-Block-Lot |
Example
curl "https://lotlyze.com/api/summary?bbl=1000477501" \
-H "Authorization: Bearer YOUR_API_KEY" 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"])) /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)
| Name | Type | Required | Description |
|---|---|---|---|
bbls | string[] | Yes | Array of BBLs (10-digit or hyphenated). Max 50. |
Example
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
| Tier | Price | Lookups / day | Bulk endpoint | API key |
|---|---|---|---|---|
| Free | $0 | 5 / day | No | Yes |
| Pro | $9 / mo | 100 / day | No | Yes |
| Developer | $19 / mo | 10,000 / day | Yes (50 BBLs/req) | Yes |
Include your API key in the Authorization: Bearer <key> header. Keys are provisioned automatically on upgrade — visit your account.