Skip Navigation

Bargain Finder Max

Air
Search
REST API
Travel Agency
Try Now

Notice

Announcement

Effective March 28, 2019, the continuation of the Bargain Finder Max REST version 4.x.x schema has been replaced with a new Bargain Finder Max REST version beginning with v1.  For the latest enhancements to Bargain Finder Max, begin using Bargain Finder Max v1 or higher.  Details can be found here.

How to use

Paginate tagged elements for a given request ID with "limit" and "offset"

Paginate search results for a given request ID by specifying how many tagged elements to return per request in limit and specifying the starting position to begin retrieving tagged elements in offset. This allows you to more quickly retrieve and return search queries for mobile application requests. Rather than returning all tagged elements, you could return 10 tagged elements per request in limit (limit=10) and specify a starting position of 1 in offset (offset=1). Then you can select a starting position of 11 (offset=11) to retrieve the next 10 results (limit=10).

  1. The first request returns a Request ID for the tagged element data set and a Tag ID with each tagged element from the Bargain Finder Max API.

POST https://api.sabre.com/v4.3.0/shop/flights?mode=live&enabletagging=true&limit=10&offset=1 HTTP/1.1

  1. The next request retrieves the cached tagged elements from 11 to 20 from the Pagination Request URL.

GET https://api.sabre.com/v4.3.0/shop/flights/[REQUESTID]?mode=live&limit=10&offset=11 HTTP/1.1

  1. The last request retrieves the cached tagged elements from 21 to 30 from the Pagination Request URL.

GET https://api.sabre.com/v4.3.0/shop/flights/[REQUESTID]?mode=live&limit=10&offset=21 HTTP/1.1

Retrieve a specific tagged element for a given tag ID from the Tag ID Lookup URL

  1. The first request returns a Request ID for the tagged element data set and a Tag ID with each tagged element from the Bargain Finder Max API.

POST https://api.sabre.com/v4.3.0/shop/flights?mode=live&enabletagging=true HTTP/1.1

  1. The next request retrieves a tagged element from the Tag ID Lookup URL.

GET https://api.sabre.com/v4.3.0/shop/flights/tags/[TAGID]?mode=live HTTP/1.1