# Search attractions

Use this endpoint to search for attractions based on a single search criterion, such as attraction IDs, cities, countries, or geographic coordinates.

Endpoint: POST /attractions/search
Version: 3.2-Beta
Security: BearerAuth

## Header parameters:

  - `X-Affiliate-Id` (integer, required)
    Include here your Affiliate identifier number

## Response 200 fields (application/json):

  - `data` (array)

  - `data.id` (string)
    Unique identifier of the attraction.

  - `data.free_cancellation` (boolean)
    Indicates whether the attraction offers free cancellation.

  - `data.price` (object)
    Pricing information for the cheapest available adult offer for the attraction.

  - `data.price.currency` (string)
    Currency in which the price is returned.

  - `data.price.total` (number)

  - `data.urls` (object)
    Platform-specific URLs for viewing this item.

  - `data.urls.app` (object)

  - `data.urls.app.detail` (string)
    URL to view the attraction detail page in the app.

  - `data.urls.app.search_results` (string)
    URL to view the attraction within search results in the app.

  - `data.urls.web` (object)

  - `data.urls.web.detail` (string)
    URL to view the attraction detail page on the website.

  - `data.urls.web.search_results` (string)
    URL to view the attraction within the website search results page.

  - `metadata` (object)
    Metadata about the request.

  - `metadata.next_page` (string,null)
    Indicates that more results are available. Use this pagination token to retrieve the next page of results (via parameter page).

  - `metadata.total_results` (integer)
    The total number of results available.

  - `request_id` (string)
    Uniquely identifies the request. Please provide this identifier when contacting support.


