Navigation
🚨

Critical Security Migration

The luigisbox.com domain is compromised. Immediate action is required.

1. Update API Base URLs

Replace the base URL for all API requests (Search, Recommendations, Analytics):

https://live.luigisbox.com
➡️ https://live.luigisbox.tech

2. Replace Frontend Script

The .com script is no longer safe. Replace it with the secure version immediately:

[OLD - Delete from site]
<script async src="https://scripts.luigisbox.com/LBX-123.js"></script>
[NEW - Secure Version]
<script async src="https://scripts.luigisbox.tech/LBX-123.js"></script>

3. Update CSP & Firewalls

If you use a Content Security Policy, whitelist the new domain to prevent the browser from blocking the connection.

script-src https://scripts.luigisbox.tech;
connect-src https://live.luigisbox.tech;
⚠️
Emergency Action: If you cannot update the code right now, remove the existing Luigi's Box script until the migration is complete to prevent unauthorized code execution.

Support: support@luigisbox.net MODIFIED: 12/17/2025

Geo Search

Filter search results based on geographical distance from the user's current location.

Filtering by Distance

To restrict results to a specific radius, use the geo_range filter in the f[] parameter.

Key Requirements:

  1. Context: You must provide the user's location using the context[geo_location] parameter (e.g., 49.0448,18.5530).
  2. Indexing: Your product data must contain a field with coordinates (default: geo_location).

See context[geo_location] in the API reference.

Example Request: f[]=geo_range:|50km&context[geo_location]=49.0448,18.5530

Filter Syntax

The geo_range filter value follows the pattern lower_range|upper_range. Use numbers followed by km. You can leave one side empty for an open interval.

Pattern Meaning Example
|Xkm Less than X km |50km
Xkm| More than X km 10km|
Xkm|Ykm Between X and Y km 10km|50km