Authentication
Create a key in your account after activating Business. Keep it on your server, not in client code.
POST /api/v1/pnr/decode
Authorization: Bearer rh_YOUR_KEY
Content-Type: application/json
{"text":"RAW_PNR_TEXT"}Response
Fields pnrCode and passengers and segments and warnings and format . Review warnings. Conversion is not live booking verification.
Limits and errors
Up to 20,000 characters per record, 3,000 successful conversions per account per month and 60 requests per IP per minute. Records with no extracted flights do not count. Errors: 401 invalid key, 403 inactive subscription, 422 no flight extracted, 429 rate limit.
Manage my keys