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/v1Sandboxhttps://apisnd.main-team.org/v1The 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.
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
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
Send them into their panel
Hand a student a short-lived sign-in link that opens their panel without a password.
Guide: Bulk registration
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.
Quickstart
Make your first authenticated call to the Main Team API in about ten minutes, from credentials to a signed token to your organization ids.
Guides
One page per resource: what it holds, the rules it follows, and the endpoints that act on it.
Reference
Every endpoint with its parameters, its responses, the permission it needs, and samples in curl, Node.js and PHP.
52 endpoints
Sandbox console
Send requests to the sandbox from your browser, with a token you sign, and see what comes back. Production is never called.
Changelog
What changed in each version of the API. Breaking changes are marked.
Status
The live status of the Main Team platform, refreshed every minute.
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.