Skip to content

Instantly share code, notes, and snippets.

@f2k1de
Last active June 13, 2022 19:13
Show Gist options
  • Save f2k1de/50555b255f5b91f0aacfe4d99b1878da to your computer and use it in GitHub Desktop.
Save f2k1de/50555b255f5b91f0aacfe4d99b1878da to your computer and use it in GitHub Desktop.
Bahn Bonus App API
All requests need an accounts.bahn.de Login Bearer!
Root URL: apis.deutschebahn.com
Get User Name and data:
GET /db/apis/bahnbonus/self-service/v1/customerdata/customerStatus
Get BahnBonus Account Number, Points and Stautus Level
GET /db/apis/bahnbonus/loyalty-service/v2/customer/loyalty
Get User Address, phone and birthday
GET /db/apis/bahnbonus/self-service/v1/customerdata
Get Aztec Codes for Getränkegutscheine, and Lounge Access
GET /db/apis/bahnbonus/benefits-service/v1/status-benefits
Get Notifications about expiring points
GET /db/apis/bahnbonus/message-service/v1/user-notifications/dashboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment