CategoryListings

The CategoryListings action is a directory service based on the Open Directory, www.dmoz.org. For any given category, it returns a list of site listings contained within that category.

The CategoryListings Action takes the following parameters. Required parameters must be provided for the request to succeed.

NameDescriptionRequired
Action

Set the Action parameter to CategoryListings to get a list of sites in the specified category.

Yes
ResponseGroup

Listings is the only available response group.

Yes
Path

Valid category path. Note that top-level categories will not return any listings unless Recursive=yes is specified (see below). Example values are Top/Arts, Top/Business/Automotive

Note that the value should be URL-encoded. For example, Path=Top%2FBusiness%2FConsumer_Goods_and_Services%2FElectronics

Yes
SortBy

Indicates how to sort the results returned by this service: ( Popularity | Title | AverageReview )

No
Recursive

Specify whether to return listings for the current category only, or for the current category plus all subcategories. True | False

No
Start

1-based index of result at which to start. Note: An empty document will be returned if this value exceeds the total number of available results.

No
Count

Number of results to return for this request, beginning from specified Start number (maximum 20)

No
Version Pass in the current version number, 2005-07-11, to ensure that requests succeed even if the API changes in future versions.No
Descriptions

boolean indicating whether to return descriptions with categories. True | False

No

The following example shows a Query-style request and response