Learn about the different methods to test your integration before going live.
This page includes test event IDs and other information to make sure your integration works as planned. Use it to trigger different flows in your integration and ensure they are handled accordingly.
When using the Table Tennis API in your application, ensure that:
All required header paramters are set correctly
You have a valid OAuth Bearer 2.0 token for authentication
Use the correct URL to get connected to the API
Genuine match ID information cannot be used in test mode. Instead, use any of the following test match ID numbers to make a successful request.
Match ID
Details
999991
Test Match ID
Use the following command to get more details about a match associated with the id of 999991.
WebSocket: wss://dde-streams.imgarena.com/tabletennis/999991/matchdetails
Then right after getting connected, a valid authentication token should be sent immediately.
Method: GET
URL: https://dde-test-api.imgarena.com/tabletennis/tournaments/
Headers: [Accept] application/vnd.imgarena.dde.api+json;version=1
Tournament
Event
World Table Tennis Championships
Men's Singles
Women's Singles
Men's Doubles
Mixed Doubles
World Team Table Tennis Championships
Men's Team
Women's Team
How to get access to the IMG Arena Table Tennis API
To make any request to the IMG Arena API, you must first apply for an account and our Support and Integrations team will send you an OAuth Bearer 2.0 token. This token represents your application and enables you to authenticate requests.
Since these tokens do not expire unless regenerated, we suggest creating environment variables or using a secure password manager once you've received your credentials.
Please note: If you misplace or forget the tokens, you will need to regenerate them, which creates new credentials and invalidates the old ones. This means that you will have to update any integrations that you may have set up with your prior credentials.
Once you have access, you’re ready to get started using the IMG Arena Table Tennis API! We have quick start guides for many of our endpoints, useful tools and libraries and sample code that describe how to build solutions around different use cases.
IMG Arena monitor the incoming traffic from our customers and strive to ensure that traffic is controlled, in-keeping with our guidelines and not unnecessarily excessive. We would suggest a polling rate of 5 requests per second, whilst we strive towards implementing rate limiting.
A single websocket endpoint exists for each match. It is a match details feed and contains an action based play by play representation of a volleyball match.
wss://dde-streams.imgarena.com/tabletennis/{id}/matchdetails
Connect to SSL websocket address
Send JSON packet containing API token
Receive response indicating that connection is authorised (or a response indicating why the connection cannot be made)
Receive data packets
Once you have the API token, any further data that you send over the connection will be ignored.
Security protocol for WebSockets: Please note that we currently we do not support SSL. We only support the use of TLS Version 1.2+.
Technical Documentation provided by WTT
Title
Date
Link
WTT Series Handbook 2021 Final (Updated 17 May)
May 17, 2021
ITTF Table Tennis World Ranking FAQ
Mar 30, 2021