Skip to main content

Overview

The MarketPageFetcher class provides access to the Market Navigation API — a hierarchical system for browsing markets by category, applying dynamic filters, and paginating results. All endpoints are public and require no authentication.

Setup

Fetch the full navigation hierarchy. Each node represents a browseable category with a URL path.

Resolving a Page by Path

Convert a URL path into a MarketPage with its filters, metadata, and breadcrumb. The SDK handles 301 redirects internally.

MarketPage Fields

Fetching Markets for a Page

Use get_markets() with the page ID to fetch markets. Supports offset and cursor pagination, sorting, and dynamic filters.

Offset Pagination

Cursor Pagination

You cannot use cursor and page in the same request. Choose one pagination strategy.

Filtering

Pass a filters dictionary. Values can be a single string or a list for multi-select filters.

Parameters

Sort Options

Property Keys

Property keys define the available filter dimensions (e.g. “ticker”, “duration”). Each key has a set of options.

Single Key and Options

PropertyKey Fields

Complete Example