# GetRestaurantLeads for AI Agents & Scripts

GetRestaurantLeads aggregates **46 official US state and municipal government registries** across **22 jurisdictions** (TX, NY, FL, CA, IL, WA, OR, MA, PA, DC, CT, CO, NC, MD, OH, MO, VA, TN, KY, MI, DE, AZ) into normalized pre-opening restaurant, bar, and cafe leads.
AI agents can inspect live state counts, official `.gov` feed catalogs, 18-column CSV schema, and masked venue previews **with zero API key and zero signup**.

## 1. Fastest Path: Hosted Streamable HTTP MCP (No Key Required)

- Endpoint: `https://getrestaurantleads.com/api/mcp`
- Protocol: JSON-RPC 2.0 over Streamable HTTP (`2025-03-26`)
- Server Card: `https://getrestaurantleads.com/.well-known/mcp/server-card.json`
- Installable Skill: `https://getrestaurantleads.com/getrestaurantleads-skill.md`

```bash
curl -sS https://getrestaurantleads.com/api/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_state_coverage","arguments":{"state":"FL"}}}'
```

| MCP Tool | Arguments | What It Returns | Cost |
|---|---|---|---|
| `get_state_coverage` | `{state?}` | Live filing counts, active signals, official agencies, cadence & contact coverage | Free |
| `search_restaurant_leads` | `{state?, venue_type?, q?, limit?}` | Masked pre-opening venue previews (`PublicLeadView`, max 25/call) | Free |
| `get_national_openings_stats` | `{}` | National totals, venue mix, filing mix & top active cities | Free |
| `list_official_feeds` | `{state?}` | All 46 official `.gov` feed IDs, portal URLs & signal tiers | Free |
| `get_pricing_and_csv_schema` | `{}` | Exact Stripe plans, 7-day trial terms & 18-column CSV dictionary | Free |

## 2. Direct REST & Machine-Readable Data Endpoints (No Key Required)

- Live summary JSON: `GET https://getrestaurantleads.com/data/summary.json`
- 18-column JSON Schema: `GET https://getrestaurantleads.com/data/row.schema.json`
- Public masked sample CSV (25 latest rows): `GET https://getrestaurantleads.com/data/sample.csv`
- Masked venue search JSON: `GET https://getrestaurantleads.com/api/leads?state=TX&venue_type=full_service&limit=20`
- State stats JSON: `GET https://getrestaurantleads.com/api/stats`
- OpenAPI 3.1 contract: `GET https://getrestaurantleads.com/openapi.json`
- Complete single-file docs: `GET https://getrestaurantleads.com/llms-full.txt`

## 3. Rate Limits, Masking & Paid CSV Subscriptions

- **Rate limits**: 60 requests / 60s per IP on public data routes; 120 global free-text searches / 60s; 16 KB POST cap on `/api/mcp`.
- **Masking rule**: Public API/MCP endpoints mask street numbers (`•••`) and withhold raw owner names, legal entities, mailing addresses, and phone numbers.
- **Subscriber plans**: Human checkout at https://getrestaurantleads.com/#pricing — **$49/mo** ($390/yr) unlimited single state or **$129/mo** ($990/yr) all 22 states. Includes **7-day Stripe free trial**, instant 18-column CSV download, Monday CRM digests, and **7-day full refund** on initial paid charges.
- **Compliance**: Strictly B2B commercial intelligence (Non-FCRA). Zero scraped private consumer PII. Contact: hello@getrestaurantleads.com.
