Skip to main content

Limiting URLs

Coming Soon!

This feature is under development and will be available soon.
To prevent abuse and manage costs, you can limit the number of times a specific URL can be hit within a certain period. This is useful for high-traffic pages or to prevent bots from excessively triggering pixel fires. You can configure limits on a per-URL basis. The following periods are supported:
  • Per day
  • Per month

Example Use Cases

  • High-traffic blogs: Limit pixel fires on popular articles to control costs.
  • Landing pages: Prevent scrapers from repeatedly hitting your lead capture pages.
  • Bot prevention: Mitigate automated traffic that could skew your analytics.

API Endpoint

POST https://api.mdb.tools/pixel/limit
Authentication: x-api-key header
Response Format: JSON

Example Request

curl -X POST "https://api.mdb.tools/pixel/limit" \
  -H "x-api-key: your-api-key-here" \
  -H "Content-Type: application/json" \
  -d '{
    "domain": "example.com",
    "period": "day",
    "number": 10
  }'
Request Parameters:
  • domain (string, required) - The domain to apply the limit to
  • period (string, required) - The time period for the limit. Valid values: "day" or "month"
  • number (number, required) - The maximum number of hits allowed within the specified period