Skip to main content
Version: Next

Overview

Obtaining API Keys

To obtain a Rewarble client API key, you must first meet the following requirements:

  • You must have a working Rewarble account
  • Your Rewarble account must have accumulated at least 500 EUR in total deposits over its lifetime.

To create an API key, please visit the Rewarble Client API page.

Authentication

The API uses Bearer token authentication. Include your API key in the Authorization header with all requests.

Authorization: Bearer <api key>

Error Handling

Error Codes

Http status codeHttps statusDescription
400bad_requestInvalid request
401unauthorizedMissing or invalid API key
402payment_requiredinsufficient balance
403forbiddenIP not whitelisted
404not_foundItem not found
429rate_limit_exceededToo many requests
500server_errorInternal server error

Whitelist

Restrict API access to designated IP addresses. The following configurations are supported:

  • Single IP Address: 192.168.1.1
  • Multiple IP Addresses: 192.168.1.1, 192.168.1.2
  • CIDR Range: 192.168.1.0/24 (encompasses 192.168.1.0 to 192.168.1.255)
note

Leave the field empty to permit access from any IP address. Use commas to delineate multiple entries. Only IPv4 addresses are supported.

URL

Rewarble API urls adhere to the following structure:

{BASE_URL}/client/{VERSION}/{RESOURCE}

Base url:

https://api.rewarble.com

Current version:

Next

Examples:

https://api.rewarble.com/client/Next/redeem

https://api.rewarble.com/client/Next/payout

Rate Limits

The maximum number of requests is based on your volume of the previous day around the same hour. There is a buffer in place that assures new users do not get rate limited straight away.

The number of requests are based on every request made by your account, IP or API key.