Trip Ninja SmartFlights API
SmartFlights is Trip Ninja's current (v3) flight-construction API. A travel platform posts a traveller search to /v3/get-searches/, Trip Ninja returns the set of optimised content queries to run against the platform's own content sources (GDS, NDC or aggregator), the platform posts those zlib-compressed provider responses to /v3/generate-solutions/, and SmartFlights returns unified — including split-ticket and virtual-interlined — itineraries with machine-learned markups. Booked and cancelled itineraries are reported back via /v3/report/book/ and /v3/report/cancel/. Trip Ninja supplies no air content of its own. REST/JSON, token authentication (Authorization: Token , 90-day expiry).
Documentation
Documentation
https://devhub.tripninja.io/smartflights/overview/
Documentation
https://devhub.tripninja.io/smartflights/setup/
Authentication
https://devhub.tripninja.io/smartflights/authentication/
Documentation
https://devhub.tripninja.io/smartflights/certification/
APIReference
https://devhub.tripninja.io/smartflights/get-searches/
APIReference
https://devhub.tripninja.io/smartflights/generate-solutions/
APIReference
https://devhub.tripninja.io/smartflights/report-booking/
APIReference
https://devhub.tripninja.io/smartflights/report-cancellation/
Documentation
https://devhub.tripninja.io/smartflights/troubleshooting/
Specifications
OpenAPI
https://raw.githubusercontent.com/api-evangelist/webjet/refs/heads/main/openapi/webjet-tripninja-smartflights-get-searches-openapi.yml
OpenAPI
https://raw.githubusercontent.com/api-evangelist/webjet/refs/heads/main/openapi/webjet-tripninja-smartflights-generate-solutions-openapi.yml
OpenAPI
https://raw.githubusercontent.com/api-evangelist/webjet/refs/heads/main/openapi/webjet-tripninja-smartflights-report-book-openapi.yml
OpenAPI
https://raw.githubusercontent.com/api-evangelist/webjet/refs/heads/main/openapi/webjet-tripninja-smartflights-report-cancel-openapi.yml
SDKs
Other Resources
PostmanCollection
https://www.postman.com/tripninjadevteam/trip-ninja-public/collection/5uzd69o/smartflights-api
Overlay
https://raw.githubusercontent.com/api-evangelist/webjet/refs/heads/main/overlays/webjet-smartflights-get-searches-overlay.yaml
Overlay
https://raw.githubusercontent.com/api-evangelist/webjet/refs/heads/main/overlays/webjet-smartflights-generate-solutions-overlay.yaml
Overlay
https://raw.githubusercontent.com/api-evangelist/webjet/refs/heads/main/overlays/webjet-smartflights-report-book-overlay.yaml
Overlay
https://raw.githubusercontent.com/api-evangelist/webjet/refs/heads/main/overlays/webjet-smartflights-report-cancel-overlay.yaml
AgentSkill
https://raw.githubusercontent.com/api-evangelist/webjet/refs/heads/main/skills/webjet-tripninja-search-and-construct.md
AgentSkill
https://raw.githubusercontent.com/api-evangelist/webjet/refs/heads/main/skills/webjet-tripninja-report-booking-and-cancellation.md
APIsJSON
https://raw.githubusercontent.com/api-evangelist/webjet/refs/heads/main/apis.yml
Arazzo
https://raw.githubusercontent.com/api-evangelist/webjet/refs/heads/main/arazzo/_index.yml
Arazzo
https://raw.githubusercontent.com/api-evangelist/webjet/refs/heads/main/arazzo/webjet-tripninja-report-and-cancel.yml
Arazzo
https://raw.githubusercontent.com/api-evangelist/webjet/refs/heads/main/arazzo/webjet-tripninja-search-price-book-ticket.yml