{
  "x402Version": 2,
  "id": 72303,
  "slug": "saylorinnovations-api-city-nyc-311",
  "resource": "https://saylorinnovations.com/api/city/nyc-311",
  "description": "NYC 311 service requests filtered by borough, complaint type, zip and days - the newest requests plus the top complaint types across the whole window",
  "type": "http",
  "serviceName": "Saylor Innovations Data Desk",
  "mimeType": "application/json",
  "resourceType": "API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "So11111111111111111111111111111111111111112",
      "amount": "95830",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object",
    "properties": {
      "filters": {
        "type": "object",
        "properties": {
          "borough": {
            "description": "Borough filter applied",
            "type": [
              "string",
              "null"
            ]
          },
          "complaint": {
            "description": "Complaint-type filter applied",
            "type": [
              "string",
              "null"
            ]
          },
          "zip": {
            "description": "ZIP filter applied"
          },
          "days": {
            "type": [
              "number",
              "null"
            ],
            "description": "Number of days"
          }
        },
        "description": "Filters applied to this query"
      },
      "top_complaint_types": {
        "type": "array",
        "description": "Top complaint types"
      },
      "recent": {
        "type": "array",
        "description": "Most recent matching requests with created time, agency, complaint type, descriptor, borough and status",
        "items": {
          "type": "object",
          "properties": {
            "created": {
              "description": "When the request was created (UTC)",
              "type": [
                "string",
                "null"
              ]
            },
            "agency": {
              "description": "Agency handling the request",
              "type": [
                "string",
                "null"
              ]
            },
            "complaint": {
              "description": "Complaint type",
              "type": [
                "string",
                "null"
              ]
            },
            "descriptor": {
              "description": "More detail on the complaint",
              "type": [
                "string",
                "null"
              ]
            },
            "borough": {
              "description": "Borough of the request",
              "type": [
                "string",
                "null"
              ]
            },
            "zip": {
              "description": "ZIP code",
              "type": [
                "string",
                "null"
              ]
            },
            "resolution": {
              "description": "Resolution text, null while open"
            },
            "status": {
              "description": "Current status"
            },
            "address": {
              "description": "Account or contract address"
            },
            "lat": {
              "description": "Latitude in decimal degrees"
            },
            "lon": {
              "description": "Longitude in decimal degrees"
            }
          }
        }
      },
      "note": {
        "type": "string",
        "description": "Caveat or context for reading the result"
      },
      "source": {
        "type": "string",
        "description": "Data source the values come from"
      }
    },
    "required": [
      "filters",
      "recent"
    ]
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "borough": "BROOKLYN",
            "complaint": "noise",
            "days": "3",
            "limit": "5"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "filters": {
              "days": 3,
              "borough": "BROOKLYN",
              "complaint": "noise",
              "zip": null
            },
            "top_complaint_types": [],
            "recent": [
              {
                "created": "2026-10-16T05:45:38.000Z",
                "agency": "NYPD",
                "complaint": "Noise - Residential",
                "descriptor": "Banging/Pounding",
                "status": "In Progress",
                "borough": "BROOKLYN",
                "address": "3380 NOSTRAND AVENUE",
                "zip": "11229",
                "resolution": null,
                "lat": 40.60166369428115,
                "lon": -73.9421332725726
              },
              {
                "created": "2026-10-16T05:43:40.000Z",
                "agency": "NYPD",
                "complaint": "Noise - Residential",
                "descriptor": "Loud Music/Party",
                "status": "In Progress",
                "borough": "BROOKLYN",
                "address": "1040 PUTNAM AVENUE",
                "zip": "11221",
                "resolution": null,
                "lat": 40.6874389200751,
                "lon": -73.92033404838185
              },
              {
                "created": "2026-10-16T05:40:38.000Z",
                "agency": "NYPD",
                "complaint": "Noise - Street/Sidewalk",
                "descriptor": "Loud Music/Party",
                "status": "In Progress",
                "borough": "BROOKLYN",
                "address": "160 SCHOLES STREET",
                "zip": "11206",
                "resolution": null,
                "lat": 40.70880399021282,
                "lon": -73.94312955695283
              }
            ],
            "note": "NYC 311 service requests (noise, heat, potholes, rodents and more) from NYC Open Data; top_complaint_types counts every matching request in the window, recent lists the newest.",
            "source": "NYC Open Data"
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {
                  "borough": {
                    "type": "string",
                    "description": "optional BRONX, BROOKLYN, MANHATTAN, QUEENS, STATEN ISLAND"
                  },
                  "complaint": {
                    "type": "string",
                    "description": "optional complaint text such as noise, heat, rodent"
                  },
                  "days": {
                    "type": "string",
                    "description": "optional 1-60, default 7"
                  },
                  "limit": {
                    "type": "string",
                    "description": "optional 1-50, default 10"
                  }
                }
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "filters": {
                    "type": "object",
                    "properties": {
                      "borough": {
                        "description": "Borough filter applied",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "complaint": {
                        "description": "Complaint-type filter applied",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "zip": {
                        "description": "ZIP filter applied"
                      },
                      "days": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Number of days"
                      }
                    },
                    "description": "Filters applied to this query"
                  },
                  "top_complaint_types": {
                    "type": "array",
                    "description": "Top complaint types"
                  },
                  "recent": {
                    "type": "array",
                    "description": "Most recent matching requests with created time, agency, complaint type, descriptor, borough and status",
                    "items": {
                      "type": "object",
                      "properties": {
                        "created": {
                          "description": "When the request was created (UTC)",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "agency": {
                          "description": "Agency handling the request",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "complaint": {
                          "description": "Complaint type",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "descriptor": {
                          "description": "More detail on the complaint",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "borough": {
                          "description": "Borough of the request",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "zip": {
                          "description": "ZIP code",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "resolution": {
                          "description": "Resolution text, null while open"
                        },
                        "status": {
                          "description": "Current status"
                        },
                        "address": {
                          "description": "Account or contract address"
                        },
                        "lat": {
                          "description": "Latitude in decimal degrees"
                        },
                        "lon": {
                          "description": "Longitude in decimal degrees"
                        }
                      }
                    }
                  },
                  "note": {
                    "type": "string",
                    "description": "Caveat or context for reading the result"
                  },
                  "source": {
                    "type": "string",
                    "description": "Data source the values come from"
                  }
                },
                "required": [
                  "filters",
                  "recent"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "nyc 311 complaints in brooklyn",
    "noise complaints near me new",
    "top 311 complaint types",
    "nyc heat and hot water",
    "new york city service requests"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:01.877Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations Data Desk",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "borough": {
          "type": "string",
          "description": "optional BRONX, BROOKLYN, MANHATTAN, QUEENS, STATEN ISLAND"
        },
        "complaint": {
          "type": "string",
          "description": "optional complaint text such as noise, heat, rodent"
        },
        "days": {
          "type": "string",
          "description": "optional 1-60, default 7"
        },
        "limit": {
          "type": "string",
          "description": "optional 1-50, default 10"
        }
      },
      "required": []
    },
    "exampleResponse": {
      "filters": {
        "days": 3,
        "borough": "BROOKLYN",
        "complaint": "noise",
        "zip": null
      },
      "top_complaint_types": [],
      "recent": [
        {
          "created": "2026-10-16T05:45:38.000Z",
          "agency": "NYPD",
          "complaint": "Noise - Residential",
          "descriptor": "Banging/Pounding",
          "status": "In Progress",
          "borough": "BROOKLYN",
          "address": "3380 NOSTRAND AVENUE",
          "zip": "11229",
          "resolution": null,
          "lat": 40.60166369428115,
          "lon": -73.9421332725726
        },
        {
          "created": "2026-10-16T05:43:40.000Z",
          "agency": "NYPD",
          "complaint": "Noise - Residential",
          "descriptor": "Loud Music/Party",
          "status": "In Progress",
          "borough": "BROOKLYN",
          "address": "1040 PUTNAM AVENUE",
          "zip": "11221",
          "resolution": null,
          "lat": 40.6874389200751,
          "lon": -73.92033404838185
        },
        {
          "created": "2026-10-16T05:40:38.000Z",
          "agency": "NYPD",
          "complaint": "Noise - Street/Sidewalk",
          "descriptor": "Loud Music/Party",
          "status": "In Progress",
          "borough": "BROOKLYN",
          "address": "160 SCHOLES STREET",
          "zip": "11206",
          "resolution": null,
          "lat": 40.70880399021282,
          "lon": -73.94312955695283
        }
      ],
      "note": "NYC 311 service requests (noise, heat, potholes, rodents and more) from NYC Open Data; top_complaint_types counts every matching request in the window, recent lists the newest.",
      "source": "NYC Open Data"
    },
    "parameterLocation": "query",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "borough": "BROOKLYN",
              "complaint": "noise",
              "days": "3",
              "limit": "5"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "filters": {
                "days": 3,
                "borough": "BROOKLYN",
                "complaint": "noise",
                "zip": null
              },
              "top_complaint_types": [],
              "recent": [
                {
                  "created": "2026-10-16T05:45:38.000Z",
                  "agency": "NYPD",
                  "complaint": "Noise - Residential",
                  "descriptor": "Banging/Pounding",
                  "status": "In Progress",
                  "borough": "BROOKLYN",
                  "address": "3380 NOSTRAND AVENUE",
                  "zip": "11229",
                  "resolution": null,
                  "lat": 40.60166369428115,
                  "lon": -73.9421332725726
                },
                {
                  "created": "2026-10-16T05:43:40.000Z",
                  "agency": "NYPD",
                  "complaint": "Noise - Residential",
                  "descriptor": "Loud Music/Party",
                  "status": "In Progress",
                  "borough": "BROOKLYN",
                  "address": "1040 PUTNAM AVENUE",
                  "zip": "11221",
                  "resolution": null,
                  "lat": 40.6874389200751,
                  "lon": -73.92033404838185
                },
                {
                  "created": "2026-10-16T05:40:38.000Z",
                  "agency": "NYPD",
                  "complaint": "Noise - Street/Sidewalk",
                  "descriptor": "Loud Music/Party",
                  "status": "In Progress",
                  "borough": "BROOKLYN",
                  "address": "160 SCHOLES STREET",
                  "zip": "11206",
                  "resolution": null,
                  "lat": 40.70880399021282,
                  "lon": -73.94312955695283
                }
              ],
              "note": "NYC 311 service requests (noise, heat, potholes, rodents and more) from NYC Open Data; top_complaint_types counts every matching request in the window, recent lists the newest.",
              "source": "NYC Open Data"
            }
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "input": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "GET"
                  ]
                },
                "queryParams": {
                  "type": "object",
                  "properties": {
                    "borough": {
                      "type": "string",
                      "description": "optional BRONX, BROOKLYN, MANHATTAN, QUEENS, STATEN ISLAND"
                    },
                    "complaint": {
                      "type": "string",
                      "description": "optional complaint text such as noise, heat, rodent"
                    },
                    "days": {
                      "type": "string",
                      "description": "optional 1-60, default 7"
                    },
                    "limit": {
                      "type": "string",
                      "description": "optional 1-50, default 10"
                    }
                  }
                }
              },
              "required": [
                "type",
                "method"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "properties": {
                    "filters": {
                      "type": "object",
                      "properties": {
                        "borough": {
                          "description": "Borough filter applied",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "complaint": {
                          "description": "Complaint-type filter applied",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "zip": {
                          "description": "ZIP filter applied"
                        },
                        "days": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Number of days"
                        }
                      },
                      "description": "Filters applied to this query"
                    },
                    "top_complaint_types": {
                      "type": "array",
                      "description": "Top complaint types"
                    },
                    "recent": {
                      "type": "array",
                      "description": "Most recent matching requests with created time, agency, complaint type, descriptor, borough and status",
                      "items": {
                        "type": "object",
                        "properties": {
                          "created": {
                            "description": "When the request was created (UTC)",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "agency": {
                            "description": "Agency handling the request",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "complaint": {
                            "description": "Complaint type",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "descriptor": {
                            "description": "More detail on the complaint",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "borough": {
                            "description": "Borough of the request",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "zip": {
                            "description": "ZIP code",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "resolution": {
                            "description": "Resolution text, null while open"
                          },
                          "status": {
                            "description": "Current status"
                          },
                          "address": {
                            "description": "Account or contract address"
                          },
                          "lat": {
                            "description": "Latitude in decimal degrees"
                          },
                          "lon": {
                            "description": "Longitude in decimal degrees"
                          }
                        }
                      }
                    },
                    "note": {
                      "type": "string",
                      "description": "Caveat or context for reading the result"
                    },
                    "source": {
                      "type": "string",
                      "description": "Data source the values come from"
                    }
                  },
                  "required": [
                    "filters",
                    "recent"
                  ]
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/city/nyc-311?borough=BROOKLYN&complaint=noise&days=3&limit=5",
        "expectedStatus": 402
      }
    ],
    "cacheTtlSeconds": 0,
    "capabilities": [],
    "noAccountRequired": true,
    "noApiKeyRequired": true,
    "sideEffects": "Paid calls settle the advertised payment; see the provider contract for execution behavior.",
    "payment": {
      "protocol": "x402",
      "settlement": "direct-to-provider"
    },
    "provider": {
      "name": "Saylor Innovations",
      "host": "saylorinnovations.com",
      "manifestUrl": "https://saylorinnovations.com/.well-known/x402.json"
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "saylorinnovations.com",
    "manifest_name": "Saylor Innovations Knowledge Base",
    "source": "submitted",
    "source_manifest_url": "https://saylorinnovations.com/.well-known/x402.json",
    "submitted_at": "2026-10-26T05:52:02.113Z"
  },
  "exampleResponse": {
    "filters": {
      "borough": "string",
      "complaint": "string",
      "zip": null,
      "days": 0
    },
    "top_complaint_types": [
      "value"
    ],
    "recent": [
      {
        "created": "string",
        "agency": "string",
        "complaint": "string",
        "descriptor": "string",
        "borough": "string",
        "zip": "string",
        "resolution": null,
        "status": null,
        "address": null,
        "lat": null,
        "lon": null
      }
    ],
    "note": "string",
    "source": "string"
  }
}