Using vakt with va.gov

Python integration

Install

pip install vakt

Quick start

import vakt

# Set your API key
client = vakt.Client(api_key="YOUR_API_KEY")
Bulk download of all facility IDs
curl \
  -H "apikey: $API_KEY" \
  https://sandbox-api.va.gov/services/va_facilities/v0/ids
Retrieve all VA health facilities reachable by driving within the specified t…
curl \
  -H "apikey: $API_KEY" \
  https://sandbox-api.va.gov/services/va_facilities/v0/nearby
Query facilities by location or IDs, with optional filters
curl \
  -H "apikey: $API_KEY" \
  https://sandbox-api.va.gov/services/va_facilities/v0/facilities
SDK on GitHub 📄 API Docs
SDK
vakt
Python
API
va.gov
va.gov:facilities

At a glance

Language Python
Endpoints5
Base URLhttps://sandbox-api.va.gov/services/va_facilities/v0