Skip to content

Environments

LMIF provides two environments for development and production use.

EnvironmentBase URL
Sandboxhttps://sandbox.api.lookmaimfamous.com
Productionhttps://api.lookmaimfamous.com

The sandbox environment is for development and testing. It:

  • Uses test API keys (lmif_test_xxx)
  • Contains mock celebrity data for testing
  • Does not trigger real enforcement
  • Has lower rate limits
  • Resets weekly

The sandbox includes pre-configured test identities:

NamePolicyNotes
Test Celebrity ABLOCK_ALLAlways blocked
Test Celebrity BMONETIZE10% royalty rate
Test Celebrity CLICENSERequires license
Test Celebrity DOPENNo restrictions
Test CorporationBLOCK_COMMERCIALCommercial blocked

In sandbox mode, you can trigger test webhook events:

// Trigger a test webhook event
await lmif.webhooks.test({
eventType: 'box.created',
endpoint: 'https://yoursite.com/webhooks/lmif',
});

The production environment is for live integrations:

  • Uses production API keys (lmif_live_xxx)
  • Contains real protected identities
  • Triggers real enforcement actions
  • Higher rate limits
  • Full SLA coverage

Before switching to production:

  1. Complete sandbox testing - Test all policy types
  2. Implement webhook handlers - Handle all required events
  3. Set up monitoring - Track API errors and latency
  4. Request production access - Apply via dashboard
  5. Compliance review - We verify your implementation
import { LMIFClient } from '@lookmaimfamous/lmif';
// Sandbox (default when using test key)
const sandboxClient = new LMIFClient({
apiKey: 'lmif_test_xxx',
});
// Production (automatic when using live key)
const productionClient = new LMIFClient({
apiKey: 'lmif_live_xxx',
});
// Explicit environment override
const client = new LMIFClient({
apiKey: process.env.LMIF_API_KEY,
environment: process.env.NODE_ENV === 'production' ? 'production' : 'sandbox',
});
FeatureSandboxProduction
Identity checksMock dataReal data
WebhooksTest triggersReal events
Grace periods1 day (accelerated)30 days
EnforcementNo real actionReal enforcement
Rate limits60/minPlan-based
Data retentionWeekly resetPermanent