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
Free-text search. Supports fuzzy matching, so close spellings still rank.
Number of results to skip. Use with
length for pagination.Maximum number of results to return.
Restrict results to a single repository.
When
True, search every public dataset on Alphacast. When False, search only datasets your account can already read.When
True, omit datasets flagged as deprecated.Response shape
The method returns a dict: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
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
- Pull a dataset by ID — see Downloading data.
- Programmatically discover what’s in a repository — see Datasets.