Categories

Categories group activities based on similar characteristics.

Search categories

get/categories

Returns an array of categories.

Request
query Parameters
filtering_aware
boolean

Filter results to categories which can or cannot be used as filters for special landing pages.

Enum: false true
level
integer >= 0
Default: 0

Filter results to categories with the same level property value. A value of zero returns all categories.

limit
integer <= 100
Default: 10

Limit the maximum number of results to include in the response.

offset
integer >= 0
Default: 0

Exclude the first N results from the response, where N is the specified integer value.

parent_id
integer (Category ID)

Filter results to categories whose direct parent category matches the requested id.

header Parameters
Accept-Language
string (Language code)
Default: en-US

The value of this parameter might affect the language of the content in the response, provided a translation in the requested language is available.

X-Musement-Application
string (Application value)

A partner's application value, used for analyzing API usage and to identify areas of improvement.

X-Musement-Market
string (Musement market)
Default: us

Musement markets contain a modified catalog of activities and prices. Partners are expected to use their assigned market code to view their customized catalog.

An invalid X-Musement-Market value will return a 400 status code response.

X-Musement-Version
string^[0-9]+?.[0-9]+?.[0-9]+?$

The API version to use for the request.

When absent, the latest version is used by default, however the latest version may not be stable. Partners are encouraged to use the latest stable version: 3.4.0.

Example: 3.4.0
Responses
200

Categories

default

Error

Request samples
Response samples
application/json
[]

Get category

get/categories/{categoryId}

Returns a category.

Request
path Parameters
categoryId
required
integer (Category ID) >= 1

The numeric ID of the category.

header Parameters
Accept-Language
string (Language code)
Default: en-US

The value of this parameter might affect the language of the content in the response, provided a translation in the requested language is available.

X-Musement-Application
string (Application value)

A partner's application value, used for analyzing API usage and to identify areas of improvement.

X-Musement-Market
string (Musement market)
Default: us

Musement markets contain a modified catalog of activities and prices. Partners are expected to use their assigned market code to view their customized catalog.

An invalid X-Musement-Market value will return a 400 status code response.

X-Musement-Version
string^[0-9]+?.[0-9]+?.[0-9]+?$

The API version to use for the request.

When absent, the latest version is used by default, however the latest version may not be stable. Partners are encouraged to use the latest stable version: 3.4.0.

Example: 3.4.0
Responses
200

Category

404

Resource not found

default

Error

Request samples
Response samples
application/json
{}

Search activities in category

get/categories/{categoryId}/activities

Response only contains activities with a status of ONLINE.

Request
path Parameters
categoryId
required
integer (Category ID) >= 1

The numeric ID of the category.

query Parameters
city
integer (City ID) >= 1

The numeric ID of the city.

limit
number <= 100
Default: 100

Limit the maximum number of results to include in the response.

offset
integer >= 0
Default: 0

Exclude the first N results from the response, where N is the specified integer value.

sort_by
string
Default: city-relevance

Sort results by specific properties. Most values sort activities from highest to lowest values. However, when sorting by price, the results appear from lowest to highest values.

Enum: city-relevance external-relevance price rating relevance relevance-city relevance-external
venue
integer (Venue ID) >= 1

The numeric ID of the venue.

vertical
integer (Vertical ID) >= 1
Deprecated

The numeric ID of the vertical.

header Parameters
Accept-Language
string (Language code)
Default: en-US

The value of this parameter might affect the language of the content in the response, provided a translation in the requested language is available.

X-Musement-Application
string (Application value)

A partner's application value, used for analyzing API usage and to identify areas of improvement.

X-Musement-Currency
string (Currency code)
Default: USD

A valid currency code from the /currencies endpoint. Default value may vary depending on the X-Musement-Market header value.

X-Musement-Market
string (Musement market)
Default: us

Musement markets contain a modified catalog of activities and prices. Partners are expected to use their assigned market code to view their customized catalog.

An invalid X-Musement-Market value will return a 400 status code response.

X-Musement-Version
string^[0-9]+?.[0-9]+?.[0-9]+?$

The API version to use for the request.

When absent, the latest version is used by default, however the latest version may not be stable. Partners are encouraged to use the latest stable version: 3.4.0.

Example: 3.4.0
Responses
200

Activities in category

302

Found: when the limit parameter is greater than the maximum, the endpoint is redirected with limit={maximum}

404

Resource not found

default

Error

Request samples
Response samples
application/json
[
  • {
    }
]

Get category with city

get/categories/{categoryId}/cities/{cityId}

This endpoint returns a category along with the requested city in the city property, useful when constructing a page for a category in a city.

Request
path Parameters
categoryId
required
integer (Category ID) >= 1

The numeric ID of the category.

cityId
required
integer (City ID) >= 1

The numeric ID of the city.

header Parameters
Accept-Language
string (Language code)
Default: en-US

The value of this parameter might affect the language of the content in the response, provided a translation in the requested language is available.

X-Musement-Application
string (Application value)

A partner's application value, used for analyzing API usage and to identify areas of improvement.

X-Musement-Market
string (Musement market)
Default: us

Musement markets contain a modified catalog of activities and prices. Partners are expected to use their assigned market code to view their customized catalog.

An invalid X-Musement-Market value will return a 400 status code response.

X-Musement-Version
string^[0-9]+?.[0-9]+?.[0-9]+?$

The API version to use for the request.

When absent, the latest version is used by default, however the latest version may not be stable. Partners are encouraged to use the latest stable version: 3.4.0.

Example: 3.4.0
Responses
200

Category with city

404

Resource not found

default

Error

Request samples
Response samples
application/json
{}

Get category tree

get/categories-tree

Get all categories in their hierarchical tree structure. The response itself is a "fake" category whose children property contains all the real categories.

Request
header Parameters
X-Musement-Application
string (Application value)

A partner's application value, used for analyzing API usage and to identify areas of improvement.

X-Musement-Version
string^[0-9]+?.[0-9]+?.[0-9]+?$

The API version to use for the request.

When absent, the latest version is used by default, however the latest version may not be stable. Partners are encouraged to use the latest stable version: 3.4.0.

Example: 3.4.0
Responses
200

Category tree

default

Error

Request samples
Response samples
application/json
{
  • "children": [
    ],
  • "code": "0",
  • "id": 0,
  • "level": "0",
  • "name": ""
}