# analytics.usa.gov: live traffic to federal websites

The General Services Administration Digital Analytics Program: how many people are on US federal government websites right now, and which pages they are viewing.

- No API key needed to call
- Source: [General Services Administration \(Digital Analytics Program\)](https://analytics.usa.gov/)
- Licence and terms: [US federal government work \(17 U.S.C. 105\)](https://digital.gov/guides/dap/)
- Coverage: United States federal websites
- Answers are shared and cached for 60 seconds.

## Questions you can ask

- How many people are on US government websites right now? (operation `analytics_usa_realtime`)
- What are the most visited US government web pages right now? (operation `analytics_usa_top_pages`)

## Operations

### Visitors on federal websites right now

Answers: how many people are visiting US federal government websites at this moment, and how many page views were recorded in the last half hour?

Example: How many people are on US government websites right now?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"analytics_usa","operation":"analytics_usa_realtime","params":{}}}
```

Over HTTP:

```
curl '/v1/connectors/analytics_usa/analytics_usa_realtime'
```

### Most visited federal web pages right now

Answers: which US federal government web pages have the most active visitors right now?

- `limit`: optional, integer, default 10

Example: What are the most visited US government web pages right now?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"analytics_usa","operation":"analytics_usa_top_pages","params":{"limit":5}}}
```

Over HTTP:

```
curl '/v1/connectors/analytics_usa/analytics_usa_top_pages?limit=5'
```

## Source notice

Source: General Services Administration, Digital Analytics Program. 17 U.S.C. 105\(a\): "Copyright protection under this title is not available for any work of the United States Government". Terms were not quoted here: see the terms page. Counts cover participating federal sites only.

## Missing something?

Tell us what data, endpoint or feature you wish we had. It is free and needs no signup: call the MCP tool request_capability, or POST a short description to https://agentnative.dennery.ai/v1/capabilities/request.
