Skip to main content

Overview

The MarketPageFetcher 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:

Resolving a page by path

Convert a URL path into a MarketPage. The SDK follows up to 3 redirects automatically:

Fetching markets for a page

Use get_markets() with the page ID. The Rust SDK supports both offset and cursor pagination.

Offset pagination

Cursor pagination

page and cursor are mutually exclusive. The Rust SDK returns a local validation error if you set both in the same request.

Filtering

Filters are passed as HashMap<String, serde_json::Value>:

Parameters

Property keys

Property keys define the available filter dimensions such as ticker and duration.

Single key and options

You can also filter child options with parent_id: