Skip to content
API documentation

API documentation

Connect your own systems to the olympiads.

For schools and partners who manage students in software of their own. Register students, enter them for exams, send them into their panel and collect their certificates and reports, without anyone typing it all in twice. The Main Team account and the five olympiads all answer through the same API.

Base URLs
Production
https://api.main-team.org/v1
Sandbox
https://apisnd.main-team.org/v1

The same routes in both, with separate accounts and data. Environments

Authentication
A bearer token on every call: a JSON Web Token you sign with your API secret (HS256).
Format
JSON over HTTPS. Certificates and reports download as PDF.
Access
By arrangement with Main Team. How it works

Documents

API 1.7.1rev e166d07

What it does

Four jobs, done from your side.

  1. Register students

    Create a student’s Main Team account from your own records. One account covers every olympiad the student takes part in.

    Guide: Students

  2. Enter them for exams

    See which exams a student can sit, by grade, country and language, and apply them. Move an application to another date or language, or withdraw it, while the rules allow.

    Guide: Exams

  3. Send them into their panel

    Hand a student a short-lived sign-in link that opens their panel without a password.

    Guide: Bulk registration

  4. Collect certificates and reports

    List the certificates and reports released for a student and download them as PDF.

    Guide: Certificates and reports

Where to go

Start with the quickstart, keep the reference open.

Getting access

Access is by arrangement.

There is no sign-up form. Main Team issues each partner an API key and an API secret, and sets what the account may do: which organizations it acts on and which operations it may call. If you need access, or more of it, ask your contact at Main Team. A sandbox account, for building and testing, is issued the same way and works only in the sandbox.

The secret signs every token you send, so it belongs on your server. Never put it in a browser, a mobile app or a code repository. The API is meant to be called from your server, not from your users’ devices.

Search the API documentation

Guides, endpoints by name, path or permission, and error codes such as not_found.