The Clarion API gives your own systems the same data your team sees in Clarion: reconciled lines, airline invoices and credit notes, reports and uploads. It returns JSON over HTTPS.
The API is read-only. Keys can read your data, never change it.
Create a key in Clarion under Settings → API, and send it with every request in the Authorization header.
A key sees exactly what its owner sees, and nothing more. Each key can be limited to certain data and addresses, and set to expire. Keep keys secret: anyone with a key can read what it can read.
Keys start with clr_live_. If a key is lost, delete it in Clarion and create a new one.
Up to 60 requests a minute per key. If you go over, you get error 429 and a Retry-After header that says how many seconds to wait.
For large pulls, ask for 1,000 lines a page and go through the pages one at a time.
Errors come back with a standard HTTP status and a short JSON body that says what went wrong.
Lists come back a page at a time. Use page and per_page to move through them; total tells you how many there are in all.
https://clarion.tracarta.com/api/v1/gstinsReturns the companies and GSTINs your key can see. Use these values to filter other requests.
https://clarion.tracarta.com/api/v1/linesReturns the reconciled lines you see in My Data: one line per airline invoice or credit note, with the columns your account is allowed to see. Use it to bring Clarion data into your ERP or dashboards.
Filtershttps://clarion.tracarta.com/api/v1/lines/{transaction_id}Returns one line, with everything you see when you open it in My Data, including the passenger, PNR and ticket number where your account can see them.
Path valuehttps://clarion.tracarta.com/api/v1/documents/{document_id}Returns the airline’s invoice or credit note as a PDF, exactly as the airline issued it.
Path valuehttps://clarion.tracarta.com/api/v1/reportsReturns the reconciliation reports TraCarta has added to your account, newest first.
Filtershttps://clarion.tracarta.com/api/v1/reports/{id}/fileReturns a report as the Excel workbook you would download in My Reconciliation.
Path valuehttps://clarion.tracarta.com/api/v1/uploadsReturns the files your team has sent to TraCarta, and where each one is: received, being processed or done.
Filters