Federal data for agents

Open Primitive API

7 government data domains. One unified API. Structured for humans and machines.

Domains

Flights FAA + Weather

Live airline delays and hub weather for 8 US carriers.

GET /v1/flights
GET /v1/flights/DL

Cars NHTSA

Crash safety ratings and recalls for any US vehicle.

GET /v1/cars?year=2024&make=Toyota&model=Camry

Food FDA

Active food recalls. Search by product or brand.

GET /v1/food
GET /v1/food?q=peanut+butter

Water EPA

Drinking water systems and violations by ZIP code.

GET /v1/water?zip=10001
GET /v1/water/NY0000001

Drugs FDA FAERS

Adverse events, top reactions, and label warnings.

GET /v1/drugs?name=ibuprofen

Hospitals CMS

Quality ratings, mortality, readmissions, patient experience.

GET /v1/hospitals?q=mayo+clinic
GET /v1/hospitals?id=010001

Health PubMed

Research evidence for supplements and health claims.

GET /v1/health?q=vitamin+d

Get started

# Every response includes source, freshness, and domain metadata
curl -H "X-API-Key: YOUR_KEY" https://api.openprimitive.com/v1/flights

# Or pass the key as a query parameter
curl https://api.openprimitive.com/v1/drugs?name=metformin&api_key=YOUR_KEY

For AI agents

Open Primitive runs as an MCP server. Point Claude, GPT, or any MCP-compatible agent at it.

// claude_desktop_config.json
{
  "mcpServers": {
    "open-primitive": {
      "command": "node",
      "args": ["/path/to/open-primitive-api/mcp.js"]
    }
  }
}

Response shape

Every endpoint returns the same envelope. Agents can rely on it.

{
  "domain": "flights",
  "source": "FAA NAS + Open-Meteo",
  "source_url": "https://nasstatus.faa.gov",
  "freshness": "2026-03-19T14:30:00.000Z",
  // ... domain-specific data
}

7 tools. 7 federal sources. One protocol.

Built by Open Primitive.