Skip to main content
alphacast.search.datasets() runs a full-text search against Alphacast’s catalog. By default it scopes to datasets your account has read access to (your own repositories plus anything you’ve been granted access to). Pass search_all=True to extend the search to every public dataset on Alphacast.

Method signature

str
required
Free-text search. Supports fuzzy matching, so close spellings still rank.
int
default:"0"
Number of results to skip. Use with length for pagination.
int
default:"10"
Maximum number of results to return.
int
Restrict results to a single repository.
bool
default:"False"
When True, search every public dataset on Alphacast. When False, search only datasets your account can already read.
bool
default:"False"
When True, omit datasets flagged as deprecated.

Response shape

The method returns a dict:
Each entry in data includes the dataset’s id, name, description, source metadata, and other fields the search service returns. Use the id to feed dataset(id) for further reads.

Examples

Paginate through results

Search the entire public catalog

Useful when you want to discover datasets you don’t already have access to. Public results can be downloaded directly with dataset(id).download_data(...).

Filter by repository

Exclude deprecated datasets

Search results → download

A common pattern is to search, pick a result, and pull the data:

Notes on the underlying endpoint

search.datasets() calls the Alphacast workspace search endpoint at https://www.alphacast.io/api/search, not the standard REST API on api.alphacast.io. The SDK passes your API key as an apiKey query parameter on this endpoint — the search service does not currently support HTTP Basic Auth. Permissions are still respected: you only see what your key is authorized to read, plus any public content if search_all=True.

Next steps