AssettoHosting.com - Server hosting for Assetto Corsa
Login
The General API documentation with its addresses and examples (Assetto Corsa Server Manager)
Assetto Corsa Server Manager · Tutorial 28 of 28

Connect your website, Discord bot or overlay: the General API

Read your Assetto Corsa server from your own programs with the General API: live session, results, championships, calendar and statistics.

Sergi Garzón
•
Quick answer

The General API lets your own programs read the server: a Discord bot that says who's on and who won, a stream overlay with the minimap, a website with the results and standings. It only reads: nothing sent to it changes the server.

  1. Make a token. In Server › General API, name what will use it and click Make a token.
  2. Read the documentation on the page.

What you need

Step by step

  1. Make a token

    In Server › General API, name what will use it and click Make a token. The token is shown once: keep it; revoke it when it's no longer used.

    The General API tokens with Make a token (Assetto Corsa Server Manager)

  2. Read the documentation on the page

    The page documents each address with an example: the live session, players, positions and map, the results, the championships, the calendar, the races, the content and the statistics, with the limits of requests a minute.

    The General API documentation with its addresses and examples (Assetto Corsa Server Manager)

On AssettoHosting.com

Your server’s data for your own tools

Assetto Corsa Server Manager 2.0 is the control panel of every Assetto Corsa server at AssettoHosting.com. Its General API hands your website, Discord bot or stream overlay the server’s live data.

  • General API with tokens
  • For websites, bots and overlays
  • Immediate deployment, cancel anytime
Assetto Corsa Server Manager

Good to know

  • Players › API Keys is a different key, for managing the Reserved Slots lists from your shop or bot.

Assetto Corsa Server Manager

Frequently asked questions

No: the General API only reads.

Keep reading: Reserved slots: keep places for your members, VIPs or team · Make a lap time leaderboard and embed it on your website or stream · Show your live timing to everyone: the public Live page · All 28 Assetto Corsa Server Manager tutorials