Pular para o conteúdo principal

Data Fetch API

The Data Fetch API lets your backend read the data the Gamanza Engage Platform (PEP) generates, so you can sync it with your own platform or with external systems such as CRMs. All endpoints are read-only GET requests.

Every request requires an OAuth 2.0 access token created from your OAuth client credentials. See Platform API Auth for how to obtain one. Each API below has its own Introduction page with an Export button to download its OpenAPI spec.

APIs​

  • Ranks: rank categories, ranks, levels, player cards (current rank, level and XP balance) and player history (level changes and rewards).
  • Missions: mission boosters and each player's mission bundle progress.
  • Reward Shop: shop items, orders, purchase totals and suppliers of physical products.
  • Virtual Currency: player token wallets, token boosters and contribution rules.
  • Reward Processor: rewards given to players and their status.

Syncing data​

  • Delta sync: send delta to fetch only records updated after a given date. Use the most recent updatedAt value from your previous sync, for example 2024-06-19T17:30:42.979Z. Without delta, the API returns all records from the beginning.
  • Pagination: limit sets the page size, up to 1000 items. The default is 1000 or 100 depending on the endpoint. To get the next page, send the nextPage value from the previous response in the next parameter.

Rate limits​

The Data Fetch API allows 100 requests per minute.

How Rate Limiting Works

  • Rate Limit Window: A sliding window of one minute.
  • Maximum Requests: 100 requests can be made within this window.
  • Throttle Behavior: If the limit is exceeded, further requests will be blocked until the window resets.
dica

See Integration Best Practices for retry and error-handling guidance.

Footer diceFooter dice