Seattle & King County Restaurant Inspections Scraper avatar

Seattle & King County Restaurant Inspections Scraper

Pricing

from $1.60 / 1,000 seattle inspection records

Go to Apify Store
Seattle & King County Restaurant Inspections Scraper

Seattle & King County Restaurant Inspections Scraper

Export King County restaurant inspections for Seattle: scores, results, food safety ratings and RED/BLUE violations from public health data. USD 2 per 1,000.

Pricing

from $1.60 / 1,000 seattle inspection records

Rating

0.0

(0)

Developer

Muhammad Afzal

Muhammad Afzal

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

an hour ago

Last modified

Categories

Share

Seattle & King County Restaurant Inspections Scraper exports King County restaurant inspections for Seattle (or any other King County city) from Public Health – Seattle & King County's open data: business name, address, inspection date and type, result, score, food safety rating, risk category and grouped RED/BLUE violations. It costs USD 2 per 1,000 inspections on the FREE tier (USD 0.002001 each) plus a start fee of about USD 0.006, so the default 50-inspection run costs about USD 0.11.

It is built for food-safety researchers, journalists, restaurant suppliers and consultants, insurers, delivery and review apps, and AI agents that need inspection history in bulk instead of one lookup at a time.

What King County restaurant inspection data does it return?

It returns one record per unique inspection. The source publishes one row per violation; the Actor groups those rows under their inspection.

FieldWhat it means
inspectionIdInspection serial number, for example PFE-RT-146223-2026
businessIdKing County business or program ID
businessNameEstablishment name as recorded by the inspector
address, city, zipCodeEstablishment address (city keeps the source's spelling and case)
inspectionDateInspection date and time
inspectionTypeFor example Routine Inspection/Field Review or Return Inspection
inspectionResultSatisfactory, Unsatisfactory or Complete
inspectionScoreTotal violation points for the inspection
gradeFood safety rating: Excellent, Good, Okay, Needs To Improve, Not Rated or Rating Not Available
riskCategoryKing County risk category (1–3)
closedBusinessWhether the inspection closed the business (Yes / No)
seatingRangeSeating range such as 51-150, or null
violationsList of { type, description, points }; type is RED or BLUE
violationCount, violationPointsTotalNumber of RED/BLUE violations and their point total; both 0 for a clean inspection
sourceUrlThe exact public open-data query used
scrapedAtExtraction time (ISO 8601)

A summary (status DATA, EMPTY, REJECTED or FAILED, count, filters, warnings) is saved to the OUTPUT and SUMMARY key-value records.

Which cities and dates does it cover?

It covers every city in the King County food establishment inspection dataset, newest inspections first. city defaults to SEATTLE; set it to BELLEVUE, KENT, RENTON, REDMOND or another King County city to switch. Matching ignores case.

On 2026-10-26 the dataset held about 34,000 unique Seattle inspections dated 2021-01-04 to 2026-10-23, and about 4,500 for Bellevue. Records include restaurants, mobile food units, grocery stores, schools and other permitted food establishments, not only restaurants.

How do I look up a restaurant's health inspection history?

Put part of the name in restaurantName and, if you like, a date window. The name filter is a case-insensitive "contains" match.

Canlis inspections in 2024–2026:

{
"restaurantName": "Canlis",
"city": "SEATTLE",
"inspectionDateFrom": "2024-01-01",
"inspectionDateTo": "2026-12-31",
"maxResults": 50,
"includeViolations": true
}

The latest 200 Bellevue inspections without violation details:

{ "city": "BELLEVUE", "maxResults": 200, "includeViolations": false }

Dates use YYYY-MM-DD. A malformed date, or a start date after the end date, is rejected with a clear message and only the start fee is charged.

When should I use it, and when not?

Use it when you need:

  • inspection history for many Seattle or King County restaurants in one export (CSV, Excel, JSON);
  • recent Unsatisfactory inspections or RED violations for monitoring, journalism or sales research;
  • food safety ratings joined to your own restaurant or supplier list;
  • a scheduled feed of new inspections.

Do not use it when you need:

Use it from an AI assistant

Seattle & King County Restaurant Inspections Scraper works from Claude, ChatGPT, Cursor or any MCP client through Apify's MCP server. Add it with https://mcp.apify.com/?tools=muhammadafzal/seattle-restaurant-inspections-scraper, then ask, for example: "List Seattle restaurants that failed a health inspection in the last 30 days and show their RED violations."

Run it with the API

JavaScript:

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('muhammadafzal/seattle-restaurant-inspections-scraper').call({
city: 'SEATTLE',
inspectionDateFrom: '2026-10-01',
maxResults: 100,
includeViolations: true,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python (apify-client 3.x):

from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("muhammadafzal/seattle-restaurant-inspections-scraper").call(
run_input={"city": "SEATTLE", "restaurantName": "pho", "maxResults": 50}
)
items = client.dataset(run.default_dataset_id).list_items().items
print(items)

What does the output look like?

Two Seattle records from the 2026-10-26 open data, shortened:

[
{
"inspectionId": "PFE-RT-146223-2026",
"businessId": "PFE-PR-502212",
"businessName": "La Casa Del Sabor",
"address": "10256 16th ave sw SW",
"city": "seattle",
"zipCode": "98146",
"inspectionDate": "2026-10-23T00:00:00.000",
"inspectionType": "Routine Inspection/Field Review",
"inspectionResult": "Unsatisfactory",
"inspectionScore": 15,
"closedBusiness": "No",
"seatingRange": null,
"riskCategory": "3",
"grade": "Good",
"violations": [
{ "type": "BLUE", "description": "3400 - Wiping cloths properly used, stored; sanitizer concentration", "points": 5 },
{ "type": "RED", "description": "2600 - Compliance with valid permit; operating and risk control plans, and required written procedures", "points": 10 }
],
"violationCount": 2,
"violationPointsTotal": 15,
"sourceUrl": "https://data.kingcounty.gov/resource/r878-4sxa.json?$query=select%20name%2C...",
"scrapedAt": "2026-10-26T12:30:00.000Z"
},
{
"inspectionId": "PFE-RT-173270-2026",
"businessId": "PFE-PR-3126726",
"businessName": "SODHI HOLDINGS INC DBA 7-ELEVEN STORE #14396E",
"address": "7215 SANDPOINT WAY NE",
"city": "Seattle",
"zipCode": "98115",
"inspectionDate": "2026-10-22T00:00:00.000",
"inspectionType": "Return Inspection",
"inspectionResult": "Unsatisfactory",
"inspectionScore": 20,
"closedBusiness": "No",
"seatingRange": "0-12",
"riskCategory": "3",
"grade": "Okay",
"violations": [
{ "type": "RED", "description": "2110 - Proper cold holding temperatures; greater than 45 degrees Fahrenheit (F) (7 degrees Celsius (C))", "points": 10 },
{ "type": "RED", "description": "2600 - Compliance with valid permit; operating and risk control plans, and required written procedures", "points": 10 }
],
"violationCount": 2,
"violationPointsTotal": 20,
"sourceUrl": "https://data.kingcounty.gov/resource/r878-4sxa.json?$query=select%20name%2C...",
"scrapedAt": "2026-10-26T12:30:00.000Z"
}
]

How much does it cost? (pricing)

Pay per event. Apify platform usage is included in these prices.

EventFREEBRONZESILVERGOLDPLATINUM / DIAMOND
Seattle inspection record (one dataset item)USD 0.002001USD 0.00195USD 0.0019USD 0.0016USD 0.0016
Actor start (per started GB of allocated memory)USD 0.006251USD 0.006094USD 0.005938USD 0.005USD 0.005

The default memory is 256 MB, so a run has one start event. Worked totals on the FREE tier:

  • Default run (50 latest Seattle inspections): 50 × USD 0.002001 + USD 0.006251 = USD 0.106
  • Largest run (500 inspections): 500 × USD 0.002001 + USD 0.006251 = USD 1.007

Violations are grouped into the inspection and never charged separately. A run with no matches pays only the start event.

How fast is it, and what are the limits?

It reads the public open-data API directly, 1,000 source rows per request, so a default run needs one or two requests within the 300-second default timeout. Violation rows that continue on the next source page stay with their inspection, so violationPointsTotal matches inspectionScore (500 of 500 inspections in a 2026-10-27 check). maxResults is capped at 500 inspections per run; use date windows to walk further back in time.

Two behaviors to know about:

  • Clean inspections: when an inspection has no violations, the source still publishes one row with 0 points. The Actor returns it with an empty violations list and violationCount and violationPointsTotal of 0. In a 2026-10-27 sample of 500 Seattle inspections, 257 were clean.
  • Inspection snapshots: a record describes conditions on the inspection day, not the business today.

FAQ

How do I read the King County food safety rating?

grade holds King County's rating: Excellent, Good, Okay or Needs To Improve, based on recent routine inspections. Establishments that are not rated show Not Rated or Rating Not Available.

What do RED and BLUE violations mean?

King County marks food-handling practices that can directly cause illness as RED (critical) and maintenance or sanitation issues as BLUE. Each violation carries points that add up to inspectionScore.

Can I get inspections for Bellevue, Kent or other King County cities?

Yes. Change city to the city name as it appears in the dataset, for example BELLEVUE. Cities outside King County return an empty run.

How far back do the inspection records go?

For Seattle, the current open dataset started on 2021-01-04 when checked on 2026-10-26. Results come newest first, so add inspectionDateTo to reach older inspections.

How fresh is the data?

On 2026-10-26 the newest Seattle inspection in the dataset was dated 2026-10-23, so new inspections appear within days.

Is there a free way to check one restaurant?

Yes. King County's food safety rating map is free for single lookups. This Actor is for bulk exports, schedules and API or agent workflows.

The data is published by Public Health – Seattle & King County on the King County Open Data portal. The Actor reads only that public dataset and does not log in or bypass any access control. Inspection results are snapshots; verify with the health department before you publish claims about a specific business.

Last verified: 2026-10-27