Planning a multi-state national park road trip usually means jumping across a dozen official National Park Service (NPS) pages just to compare entrance fees, campground counts, and whether dogs are allowed on trails.

While building National Parks by State, our goal was to combine structured NPS API data with manually verified visitor policies in a fast, zero-database static architecture deployed on Cloudflare Workers.

Why Static Generation Fits Travel Reference Data

Most park attributes—state boundaries, campground availability, standard entrance passes, and trail pet restrictions—change seasonally rather than every second. Generating every state and park page statically with Astro gives us:

  • Sub-100ms TTFB worldwide via Cloudflare Workers Static Assets with zero cold-start database queries.
  • Clean state-to-park internal linking for all 50 states and 63 official U.S. National Parks (for example, grouping all nine parks on the California National Parks guide).
  • Predictable canonical URLs with a tiny Worker layer handling www-to-apex 301 redirects and custom 404 responses.

Splitting Automated API Data from Human-Verified Policies

One lesson from working with the NPS API is that raw endpoints are great for structured metadata (entrance fees, operating hours, campgrounds, coordinates), but nuanced rules—like exactly where leashed pets are permitted—live in prose on individual park pages.

To keep facts trustworthy, we split our data pipeline into two layers (documented on our data methodology page):

  1. Automated NPS sync (parks.json & states.json): Fetches official fees, campground lists, weather overviews, and multi-state park mappings (such as parks spanning state lines like Yellowstone across Wyoming, Montana, and Idaho).
  2. Human-verified policy table (policies.json): Tracks each park's pet rules and best visiting seasons alongside the official NPS page's last-updated timestamp. If an official policy page changes, our check script flags the entry for re-review and falls back to linking directly to the official NPS notice rather than displaying stale summaries.

You can see how both layers come together on individual park profiles like the Yellowstone National Park visitor guide, which pairs official fee and campground data with verified pet restriction summaries.

Key Takeaways for Programmatic Content Sites

  • Never fabricate missing fields: If an upstream API call hits rate limits or returns empty campground data, render an explicit fallback link to the official source.
  • Normalize multi-state entities early: Decide up front how cross-border parks appear in state hubs so counts and breadcrumbs stay consistent.
  • Separate build-time data from runtime alerts: Keep core reference pages 100% static, and reserve Workers routes strictly for lightweight redirects or future real-time alert feeds.

If you are building structured travel or civic-data sites with Astro and Cloudflare Workers, happy to share more details on the data pipeline or static routing setup in the comments!