Free Developer Tool

NDC Code Snippets

Copy-paste NDC API examples in your language. AirShopping, OfferPrice, OrderCreate — ready to run with real XML structure and auth headers.

POST /v2/airshopping
 
How this works

NDC API Call Patterns

Every NDC API call follows the same pattern: construct XML body → set auth headers → POST to airline endpoint → parse XML response. The snippets below show the complete flow with real NDC 21.3 XML structure. Replace the endpoint URL, auth token, and request parameters with your own values.

All examples target a generic NDC 21.3 endpoint. For airline-specific APIs, check the airline's developer portal for exact endpoint URLs and auth methods. Need help integrating? Talk to our team.

Related NDC Tools

More Developer Tools