Skip to content

Track API

All methods in the Track API are available through the track property of the iRacingAPI instance.

Assets

Get the track assets.

ts
const trackAssets = await ir.track.getTrackAssets();

https://members-ng.iracing.com/data/track/assets

Tracks

Get the tracks.

ts
const tracks = await ir.track.getTracks();

https://members-ng.iracing.com/data/track/get