Developers · OpenAPI 3.1 · 18-Column CRM Schema

GetRestaurantLeads REST API, OpenAPI 3.1 & 18-Column CSV Schema

Inspect our public read-only JSON endpoints, download the OpenAPI 3.1 specification, connect AI assistants via Streamable HTTP MCP, and review every field in the 18-column subscriber CSV.

Developer Summary

GetRestaurantLeads provides free, unauthenticated read-only REST endpoints (/api/health, /api/stats, /api/leads), an OpenAPI 3.1 contract at https://getrestaurantleads.com/openapi.json, and a hosted Streamable HTTP MCP server at https://getrestaurantleads.com/api/mcp. Public APIs return masked previews; paid $49/mo–$129/mo plans unlock the full unmasked 18-column CSV across 22 US jurisdictions.

01 Public REST & Protocol Endpoints

Read-Only API Endpoint Reference

All public routes below require zero authentication and return UTF-8 JSON. Need AI assistant tooling? Visit the dedicated Hosted MCP Server guide.

Method Endpoint Auth Tier Purpose
GET /api/health Public ($0) Returns operational status, indexed states count, and total normalized public filings.
GET /api/stats Public ($0) Returns latest successful ingest timestamp and per-state total & pre-opening counts.
GET /api/leads Public ($0) Returns up to 50 masked public preview rows filtered by state, venue_type, q, and limit.
GET /api/mcp Public ($0) Returns hosted Streamable HTTP MCP discovery metadata, protocol version, and tool list.
POST /api/mcp Public ($0) Executes Streamable HTTP MCP JSON-RPC 2.0 calls for all 5 read-only tools (16 KB body cap).
GET /openapi.json Public ($0) Serves the machine-readable OpenAPI 3.1 JSON specification for REST, MCP, and /data/* routes.
GET /data/summary.json Public ($0) One-read live JSON summary of all 22 jurisdictions, active launch share %, venue/filing mix, and 46 feeds.
GET /data/row.schema.json Public ($0) JSON Schema Draft 2020-12 describing public preview fields and all 18 subscriber CSV columns.
GET /data/sample.csv Public ($0) Instant zero-signup masked 25-row sample CSV matching the exact 18-column subscriber header.
GET /agents.md Public ($0) Markdown agent quickstart with curl JSON-RPC examples (companion to /llms.txt and /llms-full.txt).
GET /.well-known/mcp/server-card.json Public ($0) Standard MCP Server Card (also linked via RFC 9727 /.well-known/api-catalog and /.well-known/agent-skills/index.json).

Query masked leads via REST

Query parameters: state (2-letter code), venue_type (full_service, limited_service, bar, cafe_bakery, food_other), q (max 64 chars), and limit (1–50).

GET /api/leads
curl -sS 'https://getrestaurantleads.com/api/leads?state=TX&venue_type=full_service&limit=5'

Sample PublicLeadView JSON response

200 OK · application/json
{
  "count": 1,
  "leads": [
    {
      "id": 1042,
      "source_id": "tx_sales_tax",
      "state": "TX",
      "city": "Austin",
      "metro": "Austin",
      "business_name": "Red River Smokehouse",
      "venue_type": "full_service",
      "venue_label": "Full-Service Restaurant",
      "raw_category": "NAICS 722511",
      "street_preview": "••• E 6th St",
      "zip_code": "78701",
      "has_owner": true,
      "has_phone": false,
      "seat_count": null,
      "filing_type": "sales_tax",
      "filing_label": "Sales-Tax Permit",
      "filing_status": "Permit Issued",
      "filing_date": "2026-12-04",
      "planned_open_date": "2027-01-15",
      "is_future_open": true,
      "is_pre_opening": true,
      "stage_key": "pre_opening",
      "stage_label": "Pre-Opening",
      "pre_opening_score": 92
    }
  ]
}
02 18-Column CRM Field Dictionary

Complete 18-Column Subscriber CSV Schema

Exact column order exported in instant subscriber downloads and weekly Monday morning CRM digests (HubSpot, Salesforce, Clay, Excel, Google Sheets).

# CSV Column Data Type Public API / MCP Paid Subscriber CSV Description & Coverage
1 Pre-Opening Score integer (35–98) Included Included Deterministic 35–98 outreach urgency score weighting future open date, pending status, recency, and contact richness.
2 State string (2-letter code) Included Included Two-letter US state or DC code across 22 covered jurisdictions.
3 City string Included Included Normalized venue municipality / city.
4 Business Name string Included Included DBA / trade name of the restaurant, bar, cafe, or bakery.
5 Venue Type enum string Included Included Normalized hospitality segment: Full-Service Restaurant, Quick-Service / Fast Casual, Bar / Tavern / Lounge, Cafe / Coffee / Bakery, or Food & Beverage.
6 Raw Category string Included Included Original NAICS code, liquor license class, or agency permit description.
7 Street Address string Masked (house # hidden as •••) Full unmasked address Physical venue street address from the official government filing.
8 Zip string Included Included 5-digit or ZIP+4 postal code for territory routing.
9 Owner / Permittee string Boolean flag only (has_owner) Full name where filed Named individual owner, licensee, permittee, or manager of record (e.g. CT, MA, DC, NY DOH, PA, MD, VA).
10 Legal Entity string Redacted Full LLC / Inc name Registered legal entity / corporate backer from the permit filing.
11 Mailing Address string Redacted Full mailing address Separate corporate, taxpayer, or home-office mailing address where published by the agency.
12 Phone string Boolean flag only (has_phone) Normalized (XXX) XXX-XXXX Direct venue or licensee phone number where on official record (high coverage in FL, NYC, WA, MA, NC, OH).
13 Seat Count integer | blank Included Included Official dining-room seating capacity where published (FL DBPR, Boston Licensing Board, Philadelphia 30+ seats, King County WA).
14 Filing Type enum string Included Included Normalized signal: Sales-Tax Permit, Pending Liquor App, New Liquor License, Food Service License, or Business / Food License.
15 Filing Status string Included Included Agency milestone status (e.g. Pending, Plan Review, Final Inspection Required, Ownership Change, Issued).
16 Filing Date string (YYYY-MM-DD) Included Included Date the application, permit, or license event was filed or issued.
17 Planned Open Date string (YYYY-MM-DD) Included Included Declared first sales date, scheduled start date, or official open date when present.
18 Source string (feed ID) Included Included Canonical official feed identifier (e.g. tx_sales_tax, ca_abc_pending, fl_plan_review) for audit traceability.
03 Free US Government Open-Data Sources

All 46 Official Government Restaurant & Liquor Open-Data Feeds

No single US federal API indexes restaurant permits or liquor licenses. Below are all 46 official Socrata, ArcGIS, CKAN, and state bulk portals normalized daily into one schema by GetRestaurantLeads (stripping renewals, off-premise liquor/convenience stores, and sentinel dates).

State Source Feed ID Official Agency & Registry Signal Tier Cadence Official Open-Data Portal
TX tx_sales_tax Texas Comptroller of Public Accounts
NAICS 7224/7225 Sales Tax Permits
Pre-Opening Pending Queue Daily data.texas.gov/d/jrea-zgmq ↗
TX tx_tabc_pending Texas Alcoholic Beverage Commission (TABC)
TABC Pending Original Liquor Applications
Pre-Opening Pending Queue Daily data.texas.gov/d/mxm5-tdpj ↗
TX tx_tabc_relocation Texas Alcoholic Beverage Commission (TABC)
TABC Pending Relocation Applications
Pre-Opening Pending Queue Daily data.texas.gov/d/wrzc-mwf2 ↗
TX tx_tabc Texas Alcoholic Beverage Commission (TABC)
TABC Active On-Premise Hospitality Licenses
Active Licensed Registry Daily data.texas.gov/d/7hf9-qc9f ↗
NY ny_sla_pending New York State Liquor Authority (NYSLA)
NYSLA Pending Liquor Applications
Pre-Opening Pending Queue Daily data.ny.gov/d/f8i8-k2gm ↗
NY ny_sla_active New York State Liquor Authority (NYSLA)
NYSLA Active Statewide Liquor Licenses
Active Licensed Registry Periodic bulk sync data.ny.gov/d/9s3h-dpkz ↗
NY ny_nyc_dohmh NYC Dept. of Health & Mental Hygiene (DOHMH)
NYC Restaurant Inspections & Pre-Inspection
Pre-Opening Pending Queue Daily data.cityofnewyork.us/d/43nn-pn8j ↗
NY ny_state_food NYS Department of Health
Upstate & Statewide Food Service Establishments
Active Licensed Registry Periodic bulk sync health.data.ny.gov/d/cnih-y5dw ↗
CT ct_dcp_pending Connecticut Dept. of Consumer Protection (DCP)
CT DCP Pending On-Premise Liquor Permits
Pre-Opening Pending Queue Daily data.ct.gov/d/gwv2-eswx ↗
CT ct_dcp_active Connecticut Dept. of Consumer Protection (DCP)
CT DCP Active On-Premise Liquor Permits
Active Licensed Registry Periodic bulk sync data.ct.gov/d/gwv2-eswx ↗
IL il_chicago City of Chicago BACP
Chicago Retail Food & Tavern ISSUE Licenses
Newly Issued / Fresh Filings Daily data.cityofchicago.org/d/r5kz-chrr ↗
CA ca_abc_pending California Dept. of Alcoholic Beverage Control (ABC)
CA ABC Statewide Pending Liquor (58 Counties)
Pre-Opening Pending Queue Daily abc.ca.gov/licensing/licensing-reports/ ↗
CA ca_abc_active California Dept. of Alcoholic Beverage Control (ABC)
CA ABC Statewide Active Liquor (58 Counties)
Active Licensed Registry Periodic bulk sync abc.ca.gov/licensing/licensing-reports/ ↗
CA ca_la City of Los Angeles Office of Finance
LA NAICS 722 Business Tax Registrations
Newly Issued / Fresh Filings Daily data.lacity.org/d/6rrh-rzua ↗
CA ca_sf San Francisco Office of the Treasurer
SF NAICS 722 Registered Business Locations
Newly Issued / Fresh Filings Daily data.sfgov.org/d/g8m3-pdis ↗
FL fl_plan_review Florida DBPR — Division of Hotels & Restaurants
FL DBPR New Construction & Remodel Plan Reviews
Pre-Opening Pending Queue Daily myfloridalicense.com/hotels-restaurants/public-records/ ↗
FL fl_change_owner Florida DBPR — Division of Hotels & Restaurants
FL DBPR Food Service Change of Ownership
Pre-Opening Pending Queue Daily myfloridalicense.com/hotels-restaurants/public-records/ ↗
FL fl_dbpr Florida DBPR — Division of Hotels & Restaurants
FL DBPR Public Food Service (Districts 1–7)
Active Licensed Registry Daily myfloridalicense.com/hotels-restaurants/public-records/ ↗
CO co_liquor_new Colorado Dept. of Revenue — Liquor Enforcement
CO Recently Approved Liquor Licenses
Newly Issued / Fresh Filings Daily data.colorado.gov/d/htyp-tqzh ↗
CO co_liquor Colorado Dept. of Revenue — Liquor Enforcement
CO Active Statewide Liquor Licenses
Active Licensed Registry Periodic bulk sync data.colorado.gov/d/ier5-5ms2 ↗
WA wa_lcb_liquor Washington State Liquor & Cannabis Board (WSLCB)
WA Active Hospitality Liquor Licenses
Active Licensed Registry Daily data.wa.gov/d/9dee-kzm5 ↗
WA wa_king_food Public Health — Seattle & King County
King County / Seattle Food Establishments
Active Licensed Registry Periodic bulk sync data.kingcounty.gov/d/r878-4sxa ↗
OR or_olcc_pending Oregon Liquor and Cannabis Commission (OLCC)
OR OLCC Incoming Liquor Applications
Pre-Opening Pending Queue Daily data.oregon.gov/d/qad4-bnxp ↗
OR or_olcc_active Oregon Liquor and Cannabis Commission (OLCC)
OR OLCC Active On-Premises Liquor Licenses
Active Licensed Registry Periodic bulk sync data.oregon.gov/d/srxe-qkm2 ↗
MA ma_boston_licensing City of Boston Licensing Board
Boston Common Victualler & Liquor Licenses
Active Licensed Registry Periodic bulk sync data.boston.gov/dataset/licensing-board-licenses ↗
MA ma_boston_food Boston Inspectional Services Dept. (ISD)
Boston Active Food Establishment Licenses
Newly Issued / Fresh Filings Daily data.boston.gov/dataset/active-food-establishment-licenses ↗
MA ma_cambridge_food City of Cambridge Inspectional Services
Cambridge Food Establishment Permits
Newly Issued / Fresh Filings Daily data.cambridgema.gov/d/iect-ma2e ↗
PA pa_philly_food Philadelphia Dept. of Licenses & Inspections (L&I)
Philadelphia Food & 30+ Seat Restaurant Licenses
Newly Issued / Fresh Filings Daily opendataphilly.org/datasets/licenses-and-inspections-business-licenses/ ↗
DC dc_bbl_food DC Dept. of Licensing & Consumer Protection (DLCP)
DC Basic Business Licenses (30-Day Fresh + Active)
Newly Issued / Fresh Filings Daily opendata.dc.gov/datasets/basic-business-licenses ↗
NC nc_wake_food Wake County Environmental Services (Raleigh)
Wake County Permitted Restaurants & Food Stands
Newly Issued / Fresh Filings Daily data-ral.opendata.arcgis.com ↗
MD md_montgomery_liquor Montgomery County Dept. of Alcohol Beverage Services
Montgomery County ABS Alcohol Licensees
Active Licensed Registry Periodic bulk sync data.montgomerycountymd.gov/d/c6rw-fazn ↗
MD md_montgomery_food Montgomery County Health & Human Services
Montgomery County HHS Food Service Facilities
Active Licensed Registry Daily data.montgomerycountymd.gov/d/dkrp-gr48 ↗
MO mo_atc_new_liquor Missouri Division of Alcohol & Tobacco Control (ATC)
Missouri ATC Newly Issued Liquor Licenses
Newly Issued / Fresh Filings Daily data.mo.gov/d/dymb-xy5c ↗
OH oh_cincinnati_food City of Cincinnati Health Department
Cincinnati Food Safety Active Licenses
Active Licensed Registry Daily data.cincinnati-oh.gov/d/rg6p-b3h3 ↗
VA va_norfolk_food City of Norfolk Commissioner of the Revenue
Norfolk NAICS Hospitality Business Licenses
Active Licensed Registry Daily data.norfolk.gov/d/dpi6-sct5 ↗
TN tn_nashville_ti Metro Nashville Dept. of Codes Administration
Nashville Commercial Restaurant Tenant Finish-Out Apps
Pre-Opening Pending Queue Daily data.nashville.gov ↗
PA pa_philly_ti Philadelphia Dept. of Licenses & Inspections (L&I)
Philadelphia Zoning Change-of-Use (Eating & Drinking)
Pre-Opening Pending Queue Daily opendataphilly.org/datasets/licenses-and-inspections-building-permits/ ↗
CA ca_la_ti Los Angeles Dept. of Building & Safety (LADBS)
LA Commercial Restaurant Build-Out Permits
Pre-Opening Pending Queue Daily data.lacity.org/d/pi9x-tg5x ↗
IL il_chicago_ti City of Chicago Dept. of Buildings
Chicago Commercial Restaurant Build-Out Permits
Pre-Opening Pending Queue Daily data.cityofchicago.org/d/ydr8-5enu ↗
TN tn_nashville_beer Metro Nashville Beer Permit Board
Nashville On-Site & Temporary Beer Permits
Pre-Opening Pending Queue Daily data.nashville.gov ↗
KY ky_abc_liquor Kentucky Dept. of Alcoholic Beverage Control (ABC)
Kentucky Statewide On-Premise Liquor Licenses
Newly Issued / Fresh Filings Daily abc.ky.gov ↗
MI mi_detroit_liquor City of Detroit / Michigan LCC
Detroit MLCC Class C & Escrow Liquor Licenses
Pre-Opening Pending Queue Daily data.detroitmi.gov ↗
MI mi_detroit_food Detroit Health Department
Detroit Open Restaurant Establishments
Active Licensed Registry Periodic bulk sync data.detroitmi.gov ↗
DE de_restaurants Delaware Division of Revenue
Delaware Statewide Retailer Restaurant Licenses
Newly Issued / Fresh Filings Daily data.delaware.gov/d/5zy2-grhr ↗
AZ az_scottsdale_food City of Scottsdale Tax & License
Scottsdale Active Hospitality Business Licenses
Active Licensed Registry Daily data.scottsdaleaz.gov ↗
MD md_baltimore_liquor Board of Liquor License Commissioners for Baltimore City
Baltimore City Liquor Licenses (2025–2026)
Active Licensed Registry Daily data.baltimorecity.gov ↗
04 Rate Limits, Masking & Compliance

Operational Guardrails & Public-Data Disclaimers

Rate Limiting

Public endpoints allow 60 requests / 60s per IP, a global cap of 120 free-text searches / 60s, and a 16 KB request body cap on POST /api/mcp. Excess traffic receives HTTP 429 with Retry-After: 60.

Preview Redaction

Public REST and MCP responses strictly use PublicLeadView: street house numbers are masked (•••) and owner name, legal entity, mailing address, and phone are withheld until subscribed.

B2B & Non-FCRA

100% publicly published US state and municipal government registries across 22 jurisdictions (46 feeds). Strictly commercial B2B intelligence — not a consumer reporting agency under the Fair Credit Reporting Act (FCRA).

Official Open-Data Attribution: Chicago records derive from City of Chicago open data (www.cityofchicago.org); the City of Chicago makes no claims as to completeness, accuracy, or content. Colorado records derive from Colorado Liquor Enforcement (data.colorado.gov/d/ier5-5ms2); THE STATE OF COLORADO MAKES NO REPRESENTATIONS OR WARRANTY AS TO THE COMPLETENESS, ACCURACY, TIMELINESS, OR CONTENT OF ANY DATA MADE AVAILABLE THROUGH THIS SITE.
05 Developer FAQs

API & Schema FAQs

What is the difference between /api/leads and subscriber CSV exports?

GET /api/leads returns masked public previews (up to 50 rows, house numbers hidden as •••, contact fields summarized as has_owner and has_phone booleans). Paid $49/mo and $129/mo subscribers download the complete unmasked 18-column CSV across their state scope in 10,000-row batches plus weekly Monday morning email updates.

How are public API and MCP endpoints rate-limited?

Public data endpoints enforce 60 requests per 60 seconds per IP via Cloudflare Workers native rate limiting, plus a global cap of 120 free-text search queries per 60 seconds and a 16,384-byte POST limit on /api/mcp. Responses include Retry-After: 60 when throttled.

Does the 18-column CSV protect against spreadsheet formula injection?

Yes. Every cell exported by GetRestaurantLeads sanitizes leading formula characters (=, +, -, @, tab, CR) so CSVs import safely into Excel, Google Sheets, HubSpot, Salesforce, and Clay.