# fsChartsGetIndex The `fsChartsGetIndex` function fetches the chart index for a given airport from the specified provider (LIDO or FAA).   ##### Syntax ``` wasm bool fsChartsGetIndex( FsIcao airportIcao, const char* provider, FsChartsIndexCallback callback, void* userData ); ```   ##### Members {{< table-wrapper >}} | Parameters | Description | |---------------|-------------------------------------------------------------------------------------------------------------| | `airportIcao` | The {{< glossterm >}}icao{{< /glossterm >}} of the airport to get the chart index for. | | `provider` | The chart provider to fetch the data for, should be either `LIDO` or `FAA`. | | `callback` | The callback invoked when the request completes. | | `userData` | A user-defined pointer for data that is to be returned as part of the callback (or `NULL` if not required). | {{< /table-wrapper >}}   ##### Return Values The function returns `false` if it was not possible to send the request. If the request was sent but failed, the specified callback will be invoked with an appropriate error code.   ##### Remarks N/A