AI for property management · Updated November 24, 2026

NYC compliance data through the Darcy API: HPD, rent stabilization, Local Law 97

Quick answer

Darcy's API reads NYC compliance data from the same system as your leases. It covers HPD and DOB violations that Darcy syncs from NYC Open Data every night. It also covers Rent Guidelines Board orders, unit legal rent history, SCRIE and DRIE rent freeze benefits, property tax benefits such as J-51 and 421-a, Local Law 97 building energy years, and NSPIRE scores. Reports return the most you may charge on a stabilized renewal, the April 1 DHCR registration rows, and an estimated Local Law 97 penalty at $268 per ton over the limit. Darcy does not file with any agency, and a person approves every write over MCP.

Darcy's API reads NYC compliance data from the same system as your leases. It covers HPD and DOB violations that Darcy syncs from NYC Open Data every night. It also covers Rent Guidelines Board orders, unit legal rent history, SCRIE and DRIE rent freeze benefits, property tax benefits such as J-51 and 421-a, Local Law 97 building energy years, and NSPIRE scores. Reports return the most you may charge on a stabilized renewal, the April 1 DHCR registration rows, and an estimated Local Law 97 penalty at $268 per ton over the limit. Darcy does not file with any agency, and a person approves every write over MCP.

✓

$2 per unit, every feature included

✓

You approve every AI action

✓

Data moved and checked to the cent

Soft evening sky
Darcy Collections agent queue with a tenant’s score and aging

The Collections agent ranks who is behind and shows why. A person approves each proposal.

How NYC compliance data is tracked today

A New York City building answers to five agencies: HPD, the Department of Buildings, DHCR, the Rent Guidelines Board, and the Department of Finance. A typical team works like this:

  1. Check HPD and DOB for new violations every morning.

  2. Keep each unit's legal rent and preferential rent in a spreadsheet.

  3. Look up the Rent Guidelines Board order for each renewal.

  4. Rebuild the April 1 rent roll for the DHCR registration.

  5. Match SCRIE and DRIE credits against Department of Finance statements.

Darcy keeps these records next to the leases and work orders, and it reads HPD and DOB records from NYC Open Data every night. The Darcy REST API reads all of it.

Jobs, record types, and operations

The table maps each NYC job to the record types and operations in the live OpenAPI file. The reports marked org.admin need a key with admin access.

Job

Record types

Operations

Read HPD and DOB violations

Building violations

list_building_violations (GET /v1/building_violations), update_building_violations_row

Check the nightly sync

NYC open data syncs

list_nyc_open_data_syncs (GET /v1/nyc_open_data_syncs)

Find the next step per violation

Building violations

violation_next_actions (GET /v1/violations/next_actions), org.admin

Open repair work orders

Building violations, Work orders

create_violation_work_orders (POST /v1/actions/create_violation_work_orders)

Store Rent Guidelines Board orders

Rent guidelines orders

list_rent_guidelines_orders, create_rent_guidelines_orders_row

Keep the legal rent history

Unit legal rents

list_unit_legal_rents, record_legal_rent (POST /v1/actions/record_legal_rent)

Mark a preferential rent

Leases

set_lease_preferential_rent (POST /v1/leases/{id}/set_preferential_rent)

Price a stabilized renewal

Leases, Rent guidelines orders

stabilized_renewal_limits (GET /v1/reports/stabilized_renewal_limits)

Build the DHCR registration

Unit legal rents, Leases

dhcr_registration_rows (GET /v1/reports/dhcr_registration_rows), org.admin

Track SCRIE and DRIE

Rent freeze benefits

create_rent_freeze_benefits_row, rent_freeze_credits (GET /v1/credits/rent_freeze), org.admin

Track tax exemptions and abatements

Property tax benefits

create_property_tax_benefits_row, property_tax_benefit_status (GET /v1/property_tax_benefits/status)

Estimate Local Law 97 penalties

Building energy years

create_building_energy_years_row, ll97_building_emissions (GET /v1/buildings/ll97_emissions), org.admin

Track NSPIRE results

NSPIRE scores, Inspections

create_nspire_scores_row, record_nspire_deficiencies, nspire_readiness, add_nspire_inspection_template

Violations from NYC Open Data

Each synced violation records its source: hpd for the Housing Maintenance Code Violations dataset (wvxf-dwi5) or dob for the DOB Violations dataset (3h2n-5cm9). A row holds the violation number, the class, a severity, the cure-by and certify-by dates, and the work order. The status runs from open to repair_in_progress, repaired, certified, dismissed, or closed.

HPD gives owners 24 hours to correct most class C violations, 30 days for class B, and 90 days for class A. This request lists the open, immediately hazardous violations at one property. The ids and the key are placeholders.

curl "https://api.usedarcy.com/v1/building_violations?property_id=PROPERTY_ID&status=open&severity=immediately_hazardous&limit=100" \
  -H "Authorization: Bearer pmk_live_..."
curl "https://api.usedarcy.com/v1/building_violations?property_id=PROPERTY_ID&status=open&severity=immediately_hazardous&limit=100" \
  -H "Authorization: Bearer pmk_live_..."
curl "https://api.usedarcy.com/v1/building_violations?property_id=PROPERTY_ID&status=open&severity=immediately_hazardous&limit=100" \
  -H "Authorization: Bearer pmk_live_..."

create_violation_work_orders opens repair work orders for up to 200 violations. With combine set to true, it makes one work order per property, due the day after the earliest correct-by date. Each linked violation moves to repair_in_progress.

curl -X POST "https://api.usedarcy.com/v1/actions/create_violation_work_orders" \
  -H "Authorization: Bearer pmk_live_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: hpd-classc-2026-11-24-maple" \
  -d '{"violation_ids": ["VIOLATION_ID_1", "VIOLATION_ID_2"], "combine": true}'
curl -X POST "https://api.usedarcy.com/v1/actions/create_violation_work_orders" \
  -H "Authorization: Bearer pmk_live_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: hpd-classc-2026-11-24-maple" \
  -d '{"violation_ids": ["VIOLATION_ID_1", "VIOLATION_ID_2"], "combine": true}'
curl -X POST "https://api.usedarcy.com/v1/actions/create_violation_work_orders" \
  -H "Authorization: Bearer pmk_live_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: hpd-classc-2026-11-24-maple" \
  -d '{"violation_ids": ["VIOLATION_ID_1", "VIOLATION_ID_2"], "combine": true}'

The Idempotency-Key is optional here, but send one, so a retry does not open a second work order. violation_next_actions gives each open violation a next step, a due date, and an owner. For the in-app view, see AI for HPD and DOB violations.

Rent stabilization data

  • Rent Guidelines Board orders. Each row holds the order number, the lease start window, and the 1-year and 2-year increase. Darcy seeds Orders 56 to 58, and staff add each new order after the June vote. Order #58 sets 0% for leases that start from October 1, 2026 through September 30, 2027.

  • Legal rent history. record_legal_rent adds a dated row with a reason: rgb_renewal, vacancy, iai, mci, registration, or other. Rows are never changed, so a correction is a new row.

  • Preferential rents. Under DHCR rules, a tenant who paid a preferential rent on or after June 14, 2019 keeps it for the tenancy. Guideline increases apply to the preferential rent.

  • Renewal limits. stabilized_renewal_limits takes a lease_id and a start_on date. It returns the legal rent, the current rent, the order, and the most you may charge for 12-month and 24-month terms. For example, a tenant pays a $1,850.00 preferential rent on a unit with a $2,100.00 legal rent. A renewal on January 1, 2027 falls under Order #58, so the most you may charge is $1,850.00.

  • DHCR registration. Registrations show each unit as of April 1 and are due by July 31. dhcr_registration_rows returns one row per regulated unit, with problems such as no_legal_rent or rent_above_legal. Your team reviews and files the registration with DHCR.

Rent freeze and tax benefits

  • SCRIE and DRIE. The NYC Rent Freeze Program freezes rent for eligible tenants. The owner receives a tax abatement credit for the difference. rent_freeze_credits returns the expected credit per month: the lease rent minus the frozen rent, never below zero. A $1,900.00 lease rent and a $1,500.00 frozen rent give a $400.00 credit.

  • Property tax benefits. A row holds a J-51, 421-a, Article XI, 420-c, or ICAP benefit with its full years and phase-out years. property_tax_benefit_status returns this year's percent and a status, such as phasing_out or expiring (ends within 24 months). HPD lists J-51 exemptions of 14 or 34 years, each with a 4-year phase-out.

Local Law 97 and NSPIRE

Local Law 97 covers buildings over 25,000 gross square feet, and the annual report is due May 1. The Department of Buildings sets a penalty of $268 for each ton of CO2 equivalent over the limit. A building that does not file owes $0.50 per gross square foot for each month the report is late.

Each building energy years row holds a year, the gross floor area, the occupancy group, and use by fuel. ll97_building_emissions returns the emissions, the limit, and the estimated penalty in cents. A building 50 tons over its limit gives 50 x $268 = $13,400.00. The estimate does not replace the report.

For HUD properties, NSPIRE scores keep each score with a next due date. nspire_readiness counts open deficiencies by severity and how many are past their deadline.

What a person approves, and what stays in the app

  • Reads change nothing. For reporting, connect with read-only access.

  • Darcy does not file with agencies. Darcy builds the DHCR registration rows and estimates the Local Law 97 penalty. Your team certifies HPD corrections, files the registration, and files the emissions report.

  • Notices need a yes. add_nyc_compliance_checklist is marked as an operation that can send a message or notice. Over MCP, the person who connected the assistant approves each such call. AI never messages a tenant without a person's approval.

  • App-only. API keys, roles, sign-in, bank accounts, and payment routing stay in the web app. Test keys only read.

Ask Claude or ChatGPT for the same job

With the Darcy MCP server connected, you can ask in plain words. For setup, see connect Darcy to Claude or connect Darcy to ChatGPT.

"List every open class C HPD violation at our Bronx buildings that has no work order, with its correct-by date. Then open one combined work order per building for them."

The assistant finds the operations with search_operations and describe_operation, and runs them with call_operation. It reads the violations and shows the list. Before it calls create_violation_work_orders, it names each building and violation. Then it waits for your yes.

What to measure

  • Hours from a new class C violation to a work order.

  • Violations repaired but not certified past the certify-by date.

For every NYC obligation in one place, see Darcy for New York City. To see these records on one of your buildings, book a demo.

Related guides

Darcy

One system, one price, and AI agents that prepare the work

Darcy is a complete property management system. Its agents prepare collections, renewals, maintenance triage, and the month-end close, and a person approves each step.

  • $2 per unit per month, with every module and AI agent included.

  • Imports from AppFolio, Buildium, Yardi, and Rent Manager, reconciled to the cent.

  • No unit minimum, and a 14-day free trial with no credit card.

Pale sand texture
Darcy evidence view with each figure matched to the rent roll

Every number an agent shows is matched to the in-app report before you approve it.

Questions, answered

Does Darcy pull HPD violations into the API?

Yes. Darcy reads HPD and DOB records from NYC Open Data every night, and list_building_violations returns them with their class, dates, and work order. list_nyc_open_data_syncs shows each sync, with the records returned and any error.

Can the API tell me the most I can charge on a stabilized renewal?

Yes. stabilized_renewal_limits takes a lease and a start date and returns the most you may charge for 12-month and 24-month terms under the order on file. For leases that start from October 1, 2026 through September 30, 2027, Order #58 sets 0%.

Does Darcy file the DHCR registration or the Local Law 97 report?

No. Darcy builds the April 1 registration rows and estimates the Local Law 97 penalty. Your team reviews both and files them with the agency.

Can I import SCRIE and DRIE approvals through the API?

Yes. create_rent_freeze_benefits_row adds a benefit to a lease with the frozen rent and the dates from the Department of Finance approval. rent_freeze_credits then returns the expected credit per month for you to match against the city's credits.

Does the API cost extra?

No. The API, webhooks, and the MCP server are included in the $2 per active unit per month plan, as of November 2026.

See Darcy run on a portfolio like yours

Tell us how many units you manage and which system you use today. We’ll show you which parts of your team’s week Darcy can take on.

Step 1

Tell us about your portfolio

Your unit count and the system you use today.

Step 2

See Darcy on data like yours

We walk through the jobs your team does every week.

Step 3

Load your data in setup mode

Nothing is charged, posted, or sent until you select Go live.