result.hotels and general place data in result.places, part of the Perplexity response so no separate API call is needed. Hotels and places appear in the order Perplexity ranks them; array index 0 is the top result for each type. For use cases, pricing context, and copy-paste examples, see the Perplexity shopping API page on the product site.

Location data in Perplexity