OpenAPI Spec (preview)
{
"openapi": "3.1.0",
"info": {
"title": "NYC API",
"description": "Decision-ready intelligence on NYC properties, restaurants, and buildings. Health grades, violations, ownership, permits — via REST API.\n\nCredits: Each API call costs 1 credit. When credits reach 0, requests return 402 Payment Required until your next billing cycle resets them. No overage charges.\n\nCredit Costs per Endpoint:\n- Most endpoints: 1 credit per call\n- /api/owner/portfolio: 1 credit (queries multipl