← My SW Flights

Everything the dashboard shows is available at https://api.myswflights.com/v1. Sign in, open Account Settings → Personal Access Tokens, mint a token, then:

curl https://api.myswflights.com/v1/trips?today=$(date +%F) \
  -H "Authorization: Bearer mswf_…"

Money is in integer cents, points are integers, errors are application/problem+json with a stable code. The spec below is generated from the API's own models: openapi.json.