Skip to main content

Overview

The Connect API enables third-party marketplaces to access LootRush user data through an OAuth-style consent flow. Users explicitly grant permission for your application to access their profile, email, wallet, and KYC information.

Prerequisites

Before implementing the Connect API, you must register your integration with LootRush:
  1. Contact LootRush at [email protected] to request integration access
  2. Provide your redirect URI(s) - The URL(s) where users will be redirected after granting consent
  3. Specify required scopes - The data access permissions your integration needs
Once approved, LootRush will provide you with:
  • Integration ID - Your unique integration identifier
  • API Key - For authenticating API requests
All redirect URIs and scopes are preconfigured by LootRush during the registration process and cannot be modified via the API.

Integration Flow

Redirect the user to the LootRush Connect page:
The user reviews the requested permissions and clicks “Allow” to grant access. Only business admins can grant consent on behalf of their organization. After consent, the user is redirected to your preconfigured redirect URI with the consent ID:
If the user denies consent:

Step 4: Fetch User Data

Use the consent ID to retrieve the user’s data via the API.

Authentication

All API requests must include your API key in the x-api-key header:
Requests with invalid or missing API keys will return a 401 Unauthorized response.

Scopes

The following scopes can be configured for your integration:
Scopes are configured by LootRush during integration registration. Contact [email protected] to modify your integration’s allowed scopes.

Get User Data

Retrieves the user data for a given consent.

Path Parameters

Example Request

Response

The consent identifier
string
Your integration identifier
string
ISO 8601 timestamp of when consent was granted
array
List of granted scopes
object
User data object containing the following fields based on granted scopes:
object
Profile information (requires profile scope):
string
Full name
string
First name
string
Last name
object
Email information (requires email scope):
string
Email address
boolean
Whether email is verified
object
Wallet information (requires wallet scope):
array
Array of wallet addresses, each with:
string
Blockchain network (“base” or “polygon”)
string
Wallet address
boolean
Whether this is a business account
object
KYC information (requires kyc scope):
string
Verified email from KYC
string
Account type: “individual” or “business”
string
Legal first name
string
Legal last name
Business legal name (null for individuals)
string
ID document type (e.g., “PASSPORT”)
string
ID document number
string
Tax identification number

Example Response


Error Responses

Example Error Response


Users can revoke consent at any time from their LootRush account settings. When a consent is revoked:
  • API requests with that consent ID will return 410 Gone
  • Your application should handle this gracefully and prompt the user to reconnect

Best Practices

  1. Store the consent ID securely: Associate the consent ID with the user in your system for future API calls.
  2. Handle revocation: Check for 410 responses and provide a way for users to reconnect.
  3. Request only necessary scopes: When registering your integration, only request the scopes you actually need to build trust with users.
  4. Cache responsibly: User data can change. Consider refreshing data periodically rather than caching indefinitely.

Support

For API support, please contact: