Historical.metadata.list_datasets
List all valid dataset IDs on Databento.
Use this method to list the available dataset IDs (string identifiers), so you can use other methods which take the dataset parameter.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
start_date | date or str | optional | The inclusive UTC start date of the request range as a Python date or ISO 8601 date string. If None then first date available. |
end_date | date or str | optional | The exclusive UTC end date of the request range as a Python date or ISO 8601 date string. If None then last date available. |
Returns
list[str]
A list of available dataset IDs.
API method
1 2 3 4
Historical.metadata.list_datasets(
start_date: date | str | None = None,
end_date: date | str | None = None,
) -> list[str] Example usage
1 2 3 4 5 6
import databento as db
client = db.Historical("$YOUR_API_KEY")
datasets = client.metadata.list_datasets()
print(datasets) Example response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
[
"ARCX.PILLAR",
"BATS.PITCH",
"BATY.PITCH",
"DBEQ.BASIC",
"EDGA.PITCH",
"EDGX.PITCH",
"EPRL.DOM",
"EQUS.MINI",
"EQUS.SUMMARY",
"GLBX.MDP3",
"IEXG.TOPS",
"IFEU.IMPACT",
"IFLL.IMPACT",
"IFUS.IMPACT",
"MEMX.MEMOIR",
"NDEX.IMPACT",
"OCEA.MEMOIR",
"OPRA.PILLAR",
"XASE.PILLAR",
"XBOS.ITCH",
"XCBF.PITCH",
"XCHI.PILLAR",
"XCIS.TRADESBBO",
"XEEE.EOBI",
"XEUR.EOBI",
"XNAS.BASIC",
"XNAS.ITCH",
"XNYS.PILLAR",
"XPSX.ITCH"
]