NYC Checkbook
v1.8.0NYC Checkbook data: city spending, contracts, budget, payroll, and revenue from Checkbook NYC
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
smart_search
DISABLED BY DEFAULT (opt in with CHECKBOOK_ENABLE_SMART_SEARCH=1). The checkbooknyc.com /smart_search endpoint is not a supported Checkbook NYC API endpoint — it is a WAF-fronted, JavaScript-rendered web page — so this server does not call it by default. Prefer the structured tools: search_spending(payee_name=…) to find checks paid to a named vendor, search_contracts for contract filters. When disabled (or when opted-in but WAF-blocked) this returns structured fallback guidance rather than data.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search term — product name, vendor name, keyword, or phrase |
limit | integer | Max results to return (default 25, max 100) |
search_contracts
Search NYC registered and pending contracts with structured filters. Filter by agency, vendor_code, contract ID, date range, amount range, industry, MWBE category, and more. No vendor-name filter (vendor_code only). To find contracts by vendor name: search_spending payee_name, then its contract_id. KNOWN API LIMITATION: registered revenue contracts (category 'revenue') with fiscal_year return no rows from Checkbook NYC (a match count, no records), so the tool refuses that combination without sending a request; omit fiscal_year and filter by dates instead.
| Parameter | Type | Description |
|---|---|---|
agency_code | string | 3-digit agency code, e.g. '056' for NYPD, '040' for Education |
amount_max | number | Maximum current contract amount |
amount_min | number | Minimum current contract amount |
award_method | string | Award method code |
category | string | Contract category (default: expense). Fields: registered expense/all use prime_contract_*; registered revenue and pending use plain names (contract_id, purpose). |
contract_id | string | Contract number, e.g. 'CT185820201424467' |
contract_includes_sub_vendors | integer | Sub-vendor flag: 1 = contracts that include sub-vendors. Registered contracts only. Live-verified 2026-07-28. 1 returned 3,246 of 19,139 registered/expense FY2025; 0 returned 0. This is an INTEGER, no… |
contract_type | string | Contract type code |
end_date_from | string | Contract end date range begin (YYYY-MM-DD) |
end_date_to | string | Contract end date range end (YYYY-MM-DD) |
fiscal_year | string | Fiscal year, e.g. '2024' |
include_sub_vendors | boolean | Include sub-vendor / subcontractor detail columns (sub_vendor, sub_vendor_mwbe_category, sub_contract_current_amount, etc.) in the response. Applies to registered expense/all contracts only; ignored f… |
industry | string | Industry code |
mwbe_category | string | M/WBE category code |
page | integer | Page number, 1-based (default: 1) |
page_size | integer | Results per page (default: 50, max: 20000) |
pin | string | Contract PIN / tracking number. Live-verified 2026-07-28. An exact PIN returned exactly 1 record. |
purpose | string | Contract purpose keyword (server-side 'contains' match). Live-verified 2026-07-28. purpose='software' returned 168 of 19,139 registered/expense FY2025. |
received_date_from | string | Received date range begin (YYYY-MM-DD). Pending contracts only (registered use registration_date). Live-verified 2026-07-28. An open-ended range returned the full pending set. |
received_date_to | string | Received date range end (YYYY-MM-DD). Pending contracts only. Live-verified 2026-07-28. |
registration_date_from | string | Registration date range begin (YYYY-MM-DD). Registered contracts only. Live-verified 2026-07-28. |
registration_date_to | string | Registration date range end (YYYY-MM-DD). Registered contracts only. Live-verified 2026-07-28. A 6-month range returned 9,599 of 19,139. |
start_date_from | string | Contract start date range begin (YYYY-MM-DD) |
start_date_to | string | Contract start date range end (YYYY-MM-DD) |
status | string | Contract status (default: registered) |
vendor_code | string | Vendor identification code (the only vendor filter for contracts) |
vendor_name | string | NOT SUPPORTED: no vendor-name filter. Use vendor_code. To find contracts by vendor name: search_spending payee_name, then its contract_id. |
get_contract
Look up a single NYC contract by its contract ID. Returns full contract details. Use this after finding a contract ID via search_contracts or search_spending. Fields: registered expense/all use prime_contract_*; registered revenue and pending use plain names (contract_id, purpose).
| Parameter | Type | Description |
|---|---|---|
contract_id * | string | Contract ID, e.g. 'CT185820201424467' or 'DO185820252009241' |
category | string | Contract category (default: expense) |
status | string | Contract status (default: registered) |
search_spending
Search NYC spending (check) records. Filter by agency, payee, contract, date range, amount, or expense category. Either fiscal_year or issue_date_from is required.
| Parameter | Type | Description |
|---|---|---|
agency_code | string | 3-digit agency code, e.g. '056' for NYPD, '040' for Education |
amount_max | number | Maximum check amount |
amount_min | number | Minimum check amount |
contract_id | string | Filter spending by contract ID |
expense_category | string | Expense category code |
fiscal_year | string | Fiscal year, e.g. '2024' |
issue_date_from | string | Check issue date range start (YYYY-MM-DD) |
issue_date_to | string | Check issue date range end (YYYY-MM-DD) |
mwbe_category | string | M/WBE category code |
page | integer | Page number, 1-based (default: 1) |
page_size | integer | Results per page (default: 50, max: 20000) |
payee_name | string | Payee (vendor) name. The way to find a vendor's contracts: read contract_id from the checks. |
spending_category | string | 'c' for capital, 'e' for expense |
search_budget
Search NYC budget data by agency, department, fiscal year, or budget code.
| Parameter | Type | Description |
|---|---|---|
agency_code | string | 3-digit agency code, e.g. '056' for NYPD, '040' for Education |
budget_code | string | Budget code |
department_code | string | Department code |
fiscal_year | string | Fiscal year, e.g. '2024' |
page | integer | Page number, 1-based (default: 1) |
page_size | integer | Results per page (default: 50, max: 20000) |
search_payroll
Search NYC payroll records by agency, job title, pay frequency, pay date, or amount range. Requires fiscal_year or calendar_year. NOTE: the Checkbook NYC API does not expose employee names — payroll data is aggregated by agency/title/pay date. There is no employee-name search.
| Parameter | Type | Description |
|---|---|---|
agency_code | string | 3-digit agency code, e.g. '056' for NYPD, '040' for Education |
amount_max | number | Maximum payment amount |
amount_min | number | Minimum payment amount |
calendar_year | string | Calendar year, e.g. '2025'. Either fiscal_year or calendar_year is required. |
fiscal_year | string | Fiscal year, e.g. '2026'. Either fiscal_year or calendar_year is required. |
page | integer | Page number, 1-based (default: 1) |
page_size | integer | Results per page (default: 50, max: 20000) |
pay_date_from | string | Pay date range start (YYYY-MM-DD) |
pay_date_to | string | Pay date range end (YYYY-MM-DD) |
pay_frequency | string | Pay frequency, e.g. 'BI-WEEKLY', 'SUPPLEMENTAL' |
title | string | Job title (partial match) |
search_revenue
Search NYC revenue data by agency, revenue category/class/source, fund class, or fiscal year.
| Parameter | Type | Description |
|---|---|---|
agency_code | string | 3-digit agency code, e.g. '056' for NYPD, '040' for Education |
budget_fiscal_year | string | Budget fiscal year, e.g. '2026' |
fiscal_year | string | Fiscal year, e.g. '2026' |
fund_class | string | Fund class code |
funding_class | string | Funding class code |
page | integer | Page number, 1-based (default: 1) |
page_size | integer | Results per page (default: 50, max: 20000) |
revenue_category | string | 2-character revenue category code (not the category name) |
revenue_class | string | Revenue class code |
revenue_source | string | Revenue source code |
get_agency_spending
Get all spending for a specific NYC agency in a fiscal year. A convenience wrapper around search_spending for agency-level financial overview.
| Parameter | Type | Description |
|---|---|---|
agency_code * | string | 3-digit agency code, e.g. '056' for NYPD, '040' for Education |
fiscal_year * | string | Fiscal year, e.g. '2024' |
page | integer | Page number, 1-based (default: 1) |
page_size | integer | Results per page (default: 50, max: 20000) |
search_nycedc_contracts
Search NYCEDC / Other Government Entities (OGE) contracts (Checkbook domain Contracts_OGE). These are separate from citywide contracts and cover economic-development-corporation and other-government-entity agreements. Registered expense contracts only. Filter by fiscal year, vendor, entity contract number, OGE agency code, award method, expense category, budget name, commodity line, amount, and date ranges.
| Parameter | Type | Description |
|---|---|---|
amount_max | number | Maximum current contract amount |
amount_min | number | Minimum current contract amount |
award_method | string | Award method code |
budget_name | string | Budget name (first 3 characters matched) |
commodity_line | string | Commodity line code (EDC contracts) |
contract_id | string | Contract number |
end_date_from | string | End date range begin (YYYY-MM-DD) |
end_date_to | string | End date range end (YYYY-MM-DD) |
entity_contract_number | string | OGE entity contract number |
expense_category | string | Expense category code |
fiscal_year | string | Fiscal year, e.g. '2024' |
other_government_entities_code | string | OGE agency code (identifies the other government entity) |
page | integer | Page number, 1-based (default: 1) |
page_size | integer | Results per page (default: 50, max: 20000) |
pin | string | Contract PIN / tracking number |
start_date_from | string | Start date range begin (YYYY-MM-DD) |
start_date_to | string | Start date range end (YYYY-MM-DD) |
vendor_name | string | Prime vendor name (first 3 characters matched). The vendor may be a reseller, not the product's maker. |
search_nycha_contracts
Search NYCHA (New York City Housing Authority) contracts (Checkbook domain Contracts_NYCHA). These are separate from citywide contracts and are reported at release / line-item granularity (purchase-order releases, funding source, program/project). Filter by fiscal year, vendor, purchase-order type, responsibility center, contract type, industry, amount, and date ranges (including approved date). Results carry a year field only when you filter by fiscal_year; without fiscal_year they carry no year or fiscal-year field. When the year matters, filter by fiscal_year (one call per year). start_date…
| Parameter | Type | Description |
|---|---|---|
amount_max | number | Maximum contract amount |
amount_min | number | Minimum contract amount |
approved_date_from | string | Release approved date range begin (YYYY-MM-DD) |
approved_date_to | string | Release approved date range end (YYYY-MM-DD) |
award_method | string | Award method code |
contract_id | string | Contract ID |
contract_type | string | Contract type code |
end_date_from | string | End date range begin (YYYY-MM-DD) |
end_date_to | string | End date range end (YYYY-MM-DD) |
fiscal_year | string | Fiscal year, e.g. '2024' |
industry | string | Industry type code |
other_government_entities_code | string | NYCHA agency code |
page | integer | Page number, 1-based (default: 1) |
page_size | integer | Results per page (default: 50, max: 20000) |
pin | string | PO header ID / PIN |
purchase_order_type | string | Purchase order type code |
purpose | string | Contract purpose (contains match) |
responsibility_center | string | Responsibility center code |
start_date_from | string | Start date range begin (YYYY-MM-DD) |
start_date_to | string | Start date range end (YYYY-MM-DD) |
vendor_code | string | Vendor number / code |
vendor_name | string | Vendor name (contains match). The vendor may be a reseller, not the product's maker. |
whats_changed What's changed
What has changed in this server, its data and its website, newest first, from the project's WHATS-CHANGED.md: new tools and pages, new data, data fixes, and corrections when BetaNYC published something wrong. Each correction says what to re-check if you used the old numbers. Call this before relying on a figure you got from this server earlier, or when a user asks whether something was fixed. Filter with since (YYYY-MM-DD; also keeps older entries that have an update on or after that date) and tag (Site, Data, MCP or Correction).
| Parameter | Type | Description |
|---|---|---|
limit | integer | Most entries to return (default 10, max 50) |
since | string | Only changes on or after this date, YYYY-MM-DD |
tag | string | Only changes with this tag: Site, Data, MCP or Correction (any case; answers use these spellings). Correction lists every correction. |
about_betanyc About BetaNYC and this server
Who built this server and how to reach them: BetaNYC, a project of the Fund for the City of New York. Returns what BetaNYC is, links to its events, newsletter and donation page, where to report a bug in this server or ask for a new feature (this server's GitHub issues), and this server's name and version.
about_data Where this server's data comes from
Where this server's data comes from and how far to trust it. For each kind of data: who publishes it and a link, whether it is an official record (only data its publisher published and BetaNYC did not modify is; data BetaNYC modified or produced is not), how it was gathered, what BetaNYC did to it (for example cleaned it, matched it to addresses, joined it with other data, or counted it), how current it is on this server, what it covers and what is missing, the terms of use and the credit line to print, where to check a figure at the official record, where to report an error (to BetaNYC when B…
| Parameter | Type | Description |
|---|---|---|
topic | string | One kind of data (a source id), or a tool name for the data behind that tool. Any case. Default: all. |