Rootlase gives you MariaDB databases, files, queues, transactional email, push notifications, domain checks, scheduled tasks, monitoring and captcha for your projects. Everything is used from the console, through the REST API or through MCP.
ROOTLASE_KEY) and call the API:curl https://rootlase.com/api/v1/project -H "Authorization: Bearer $ROOTLASE_KEY"
The base address is https://rootlase.com/api/v1. All responses are JSON in UTF-8; bodies are sent as JSON with Content-Type: application/json.
Each key belongs to a project and starts with rl_. Send it in the Authorization: Bearer rl_… header (or X-API-Key). It's only shown when created; we store its fingerprint, not the key.
| Permission | What it allows |
|---|---|
db:read | Read-only queries (a MariaDB user that can only read) |
db:write | Insert, change and delete records |
db:admin | Create and change tables, migrations, create databases, back up and restore |
cron:read | See tasks and history |
cron:write | Create, change, pause and run tasks |
monitors:read | Monitor status and history |
monitors:write | Create, change and pause monitors |
captcha:verify | Validate captcha passes from your server |
files:read | List and download files, and create signed links |
files:write | Upload and delete files, and create folders (buckets) |
queues:read | See queues and their statistics |
queues:write | Enqueue, receive and confirm messages; create and change queues |
email:send | Send transactional emails and see their history |
push:send | Send notifications and see subscribers and history |
domains:read | Check domains, see reports and analyze email headers |
domains:write | Add and remove watched domains |
firewall:read | See firewall sites, events and rules |
firewall:write | Create and remove rules, and block IPs |
analytics:read | Query visits, sources, countries and events |
forms:read | Read form responses |
forms:write | Mark, archive and delete responses |
cdn:read | See CDN domains, files and traffic |
cdn:write | Add domains, upload and delete CDN files |
seo:read | View sites, analyses and pages from the SEO analyzer |
seo:write | Add sites, start and cancel analyses |
notices:read | View notices, their stats and the reviews received |
notices:write | Activate and pause notices, approve and delete reviews |
tools:use | DNS lookups, propagation, WHOIS, and email, network and web tests |
dmarc:read | Domains, report summary, sending sources and TLS reports |
You can restrict a key to certain IPs (CIDR ranges too) and give it an expiry date. Never put a key in code that runs in the browser.
Errors respond with an HTTP code and a body like {"error": {"code": "plan_limit", "message": "…"}}.
The message comes in Spanish or English: send Accept-Language: en (or ?lang=en); if you send neither, the language of the account that owns the project is used. Codes (code) and data don't change. The same applies to MCP, with ?lang=en in the server URL; it also changes the language of the tool descriptions.
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_request, invalid_json, query_error, confirm_required | Invalid data, SQL error or a destructive action that needs confirming |
| 401 | unauthorized | Missing, revoked or expired key |
| 402 | plan_limit | A plan limit was reached |
| 403 | forbidden, ip_not_allowed, project_paused | The key doesn't have the permission, the IP isn't authorized or the project is suspended |
| 422 | failed | The action couldn't be completed (the message says why) |
| 404 | not_found | Nonexistent path or resource |
| 429 | rate_limited | Too many calls per minute (see X-RateLimit-Remaining and Retry-After) |
GET/project returns your plan, its limits and this month's usage. GET/usage?days=30 returns usage per day.
Each database has three MariaDB users: read only, read and write and owner (structure). The API picks the user according to the key's permissions, so a read-only key can't write even if it tries: the database itself prevents it.
List the databases or create one ({"label": "principal"}, permission db:admin).
One statement with ? parameters. By default it runs as the read-write user (or read-only if the key can't write). To change the structure send "role": "owner" with a key that has db:admin; to make sure it only reads, "role": "ro". Optional: max_rows.
curl -X POST https://rootlase.com/api/v1/databases/12/query \
-H "Authorization: Bearer $ROOTLASE_KEY" -H "Content-Type: application/json" \
-d '{"sql": "SELECT id, nombre, total FROM pedidos WHERE cliente = ? ORDER BY id DESC", "params": ["Acme"]}'
{
"columns": [{"name": "id", "type": "long"}, {"name": "nombre", "type": "var_string"}, {"name": "total", "type": "newdecimal"}],
"rows": [{"id": 42, "nombre": "Pedido de Acme", "total": "1250.00"}],
"row_count": 1, "truncated": false, "affected": 0, "last_insert_id": null, "ms": 3, "role": "rw"
}
// Node, funciones sin servidor, Deno o Bun
async function sql(query, params = []) {
const r = await fetch("https://rootlase.com/api/v1/databases/12/query", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.ROOTLASE_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ sql: query, params })
});
if (!r.ok) throw new Error((await r.json()).error.message);
return r.json();
}
await sql("INSERT INTO clientes (nombre, correo) VALUES (?, ?)", ["Acme", "[email protected]"]);
<?php // PHP
function rootlase(string $sql, array $params = []): array {
$ch = curl_init("https://rootlase.com/api/v1/databases/12/query");
curl_setopt_array($ch, [CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("ROOTLASE_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode(["sql" => $sql, "params" => $params])]);
return json_decode(curl_exec($ch), true);
}
Several statements separated by ; (migrations). It uses the owner user, requires db:admin and makes a backup first, unless you send "backup": false. It stops at the first error and tells you which one.
{"sql": "CREATE TABLE clientes (id INT AUTO_INCREMENT PRIMARY KEY, nombre VARCHAR(120) NOT NULL);\nCREATE INDEX ix_nombre ON clientes (nombre);"}
Tables and views with their columns, types, keys, approximate rows and size.
Requires {"confirm": "nombre de la base"}.
On paid plans you can connect with a username and password from a server with a fixed IP (PDO, Workbench, DBeaver). Authorize the IP in the console: Databases → Connection. Serverless functions don't have a fixed IP; use the API for them.
Each query has a time limit and a row limit according to your plan. If the database exceeds your plan's size, the API only accepts reads until you free up space.
Databases are backed up automatically every day (every hour on paid plans) and backups are kept for your plan's number of days. From the console you can download them, restore them or copy them to a new database without touching the original.
| Path | What it does |
|---|---|
| GET/databases/{id}/backups | List the backups |
| POST/databases/{id}/backups | Back up now ({"note": "antes de la migración"}) |
| POST/databases/{id}/backups/{b}/restore | Restores; requires {"confirm": "restore"}. It saves the current state first. |
Tasks that call a URL (http), run a SQL statement (sql) or back up a database (backup). With a 5-field cron expression and time zone, or just once with run_at.
curl -X POST https://rootlase.com/api/v1/cron -H "Authorization: Bearer $ROOTLASE_KEY" -H "Content-Type: application/json" -d '{
"name": "Enviar recordatorios",
"kind": "http", "method": "POST", "url": "https://acme.example/tareas/recordatorios",
"schedule": "*/10 8-20 * * 1-5", "timezone": "America/Mexico_City",
"timeout": 30, "retries": 2
}'
Fields: name, kind, url, method, headers (list of lines), body, db_id and sql (for sql and backup), schedule or run_at, timezone, timeout (1–120 s), retries (0–5).
| Path | What it does |
|---|---|
| GET/cron · POST/cron | List and create |
| GET PATCH DELETE /cron/{id} | See, change and delete |
| POST/cron/{id}/run | Run now |
| POST/cron/{id}/pause · /resume | Pause and resume |
| GET/cron/{id}/runs | History |
Each call carries X-Rootlase-Job, X-Rootlase-Timestamp, X-Rootlase-Attempt and X-Rootlase-Signature: sha256=…, the HMAC-SHA256 of timestamp + "." + body with the task's secret.
<?php
$ts = $_SERVER["HTTP_X_ROOTLASE_TIMESTAMP"] ?? "";
$sig = "sha256=" . hash_hmac("sha256", $ts . "." . file_get_contents("php://input"), getenv("ROOTLASE_CRON_SECRET"));
if (!hash_equals($sig, $_SERVER["HTTP_X_ROOTLASE_SIGNATURE"] ?? "") || abs(time() - (int)$ts) > 300) { http_response_code(401); exit; }
A 2xx response counts as correct. Calls don't follow redirects or go to private addresses. If it fails, it retries with increasing waits; after 3 failures in a row we email you.
Checks a URL every 1, 5, 15, 30 or 60 minutes (depending on your plan). It's marked down after 2 failures in a row and we alert you when it goes down and when it comes back. It also watches the SSL certificate's expiry.
curl -X POST https://rootlase.com/api/v1/monitors -H "Authorization: Bearer $ROOTLASE_KEY" -H "Content-Type: application/json" \
-d '{"name": "Tienda de Acme", "url": "https://tienda.acme.example", "interval": 5, "expect_status": "200-299", "keyword": "Agregar al carrito"}'
Paths: GET/monitors, POST/monitors, GET PATCH DELETE /monitors/{id}, POST/monitors/{id}/pause and /resume.
Turn it on in Monitoring. It lives at https://rootlase.com/estado.php?s=tu-proyecto and as JSON with &format=json.
Add a site in Captcha to get its site key (public, rlk_…) and its secret key (rls_…, only for your server).
<script src="https://rootlase.com/captcha.php?a=js" async defer></script> <form method="post" action="/contacto"> <input name="correo" type="email"> <div class="rootlase-captcha" data-sitekey="rlk_…"></div> <button>Enviar</button> </form>
The widget solves the challenge on its own and adds the hidden field rootlase-token to the form. The submit button waits until it's done. Optional: data-callback="functionName" receives the pass.
curl -X POST https://rootlase.com/captcha.php?a=verify \ -d secret=rls_… -d response=VALOR_DE_rootlase-token
{"success": true, "hostname": "acme.example", "challenge_ts": "2026-12-03T18:20:11Z"}
Each pass works only once and expires in 5 minutes. If you set allowed domains, passes are only issued for them.
Store files in the project's buckets. In a public bucket each file has a fixed URL; in a private one it can only be downloaded with the key or with a signed link that expires. Files are served isolated: HTML, SVG or JavaScript are downloaded instead of opened.
| Path | What it does |
|---|---|
| GET/files · POST/files | List buckets (with the space used and the limit) or create one: {"name": "fotos-productos", "public": true} |
| GET/files/{bucket}?prefix=&after=&limit= | List files (alphabetical order; continue with after = next_after) |
| PUT/files/{bucket}/{ruta} | Upload or replace: the body is the file |
| GET/files/{bucket}/{ruta} | Download (with ?meta=1, only its data) |
| DELETE/files/{bucket}/{ruta} | Delete |
| POST/files/{bucket}/sign | Signed link: {"path": "…", "expires_in": 3600} (up to 7 days) |
| PATCH DELETE /files/{bucket} | Change public, or delete with {"confirm": "nombre"} |
curl -X PUT https://rootlase.com/api/v1/files/fotos-productos/catalogo/taza.jpg \ -H "Authorization: Bearer $ROOTLASE_KEY" -H "Content-Type: image/jpeg" --data-binary @taza.jpg
{"data": {"path": "catalogo/taza.jpg", "size": 48213, "mime": "image/jpeg", "sha256": "…",
"url": "https://rootlase.com/f/tu-proyecto/fotos-productos/catalogo/taza.jpg"}}
Public URLs accept browser caching and range downloads (video and audio). Each plan includes a total amount of file storage.
For background work without losing anything. A pull queue keeps messages until your program asks for them and confirms them; if it doesn't confirm in time, they go back to the queue. A push queue delivers each message to your URL by POST, signed, with retries and increasing waits. After the maximum attempts the message is marked undelivered and you can requeue it.
| Path | What it does |
|---|---|
| GET/queues · POST/queues | List or create: {"name": "pedidos", "mode": "pull"} or {"name": "avisos", "mode": "push", "push_url": "https://…"}. Optional: max_attempts, visibility_s, timeout_s, retention_days |
| POST/queues/{cola}/messages | Enqueue {"body": …} or up to 100 with {"messages": […]}; delay in seconds |
| POST/queues/{cola}/receive | Receive (pull): {"max": 10, "visibility": 30} |
| POST/queues/{cola}/ack | Confirm: {"receipts": ["…"]} |
| POST/queues/{cola}/redrive · /purge · /pause · /resume | Requeue undelivered, empty, pause and resume |
| GET PATCH DELETE /queues/{cola} | See with statistics, change and delete |
// trabajador en Node: pide, procesa y confirma
const r = await fetch("https://rootlase.com/api/v1/queues/pedidos/receive", { method: "POST",
headers: { Authorization: `Bearer ${process.env.ROOTLASE_KEY}`, "Content-Type": "application/json" }, body: JSON.stringify({ max: 10 }) });
const { messages } = await r.json();
for (const m of messages) await procesar(m.body);
await fetch("https://rootlase.com/api/v1/queues/pedidos/ack", { method: "POST", headers: { … }, body: JSON.stringify({ receipts: messages.map(m => m.receipt) }) });
In push mode each delivery carries X-Rootlase-Queue, X-Rootlase-Message, X-Rootlase-Attempt, X-Rootlase-Timestamp and X-Rootlase-Signature: sha256=… (HMAC of timestamp + "." + body with the queue's secret, same as cron). Reply 2xx to confirm. Each message can weigh up to 256 KB.
Confirmations, password resets, receipts and notices with one call. Emails go out from the platform's sender with your project's name (or the one you set in from_name), and replies go to reply_to. If the mail server doesn't answer, it retries at 1, 5 and 30 minutes.
curl -X POST https://rootlase.com/api/v1/email/send -H "Authorization: Bearer $ROOTLASE_KEY" -H "Content-Type: application/json" -d '{
"to": ["[email protected]"],
"subject": "Confirma tu correo",
"html": "<p>Hola, confirma tu cuenta en Acme.</p>",
"text": "Hola, confirma tu cuenta en Acme.",
"reply_to": "[email protected]",
"tag": "registro"
}'
{"data": {"id": 381, "to": ["[email protected]"], "subject": "Confirma tu correo", "status": "sent", "attempts": 1, "error": null, …}}
Replies 202 with status sent o queued (retries on its own), or 502 if the server rejected it. Up to 50 recipients and 512 KB per email. GET/email/messages?status=failed lists the history and GET/email/messages/{id} one. Bodies are kept for 30 days.
Notifications in your users' browsers even when your site isn't open, with the Web Push standard (VAPID keys and end-to-end encryption): works in Chrome, Edge, Firefox and Safari. Create one push app per site in the console; each one has its key rlp_….
Download the service worker from the console (or from https://rootlase.com/push.php?a=sw) and upload it to your site's root as /rootlase-sw.js. Then add the library and ask for permission with a button:
<script src="https://rootlase.com/push.php?a=js&k=rlp_…"></script>
<button onclick="RootlasePush.subscribe({ user: 'cliente-42', tags: ['ofertas'] })">Activar notificaciones</button>
user identifies your user so you can send to just them (they may have several browsers). tags are for segmenting. There are also RootlasePush.supported(), permission() and unsubscribe(). Only subscriptions from the app's authorized sites are accepted.
curl -X POST https://rootlase.com/api/v1/push/rlp_…/send -H "Authorization: Bearer $ROOTLASE_KEY" -H "Content-Type: application/json" -d '{
"title": "Tu pedido va en camino",
"body": "Llega hoy entre 4 y 6 pm.",
"url": "https://acme.example/pedidos/42",
"to": {"users": ["cliente-42"]}
}'
Fields: title (required), body, url (opens when tapped), icon, image, tag (replaces an earlier notification with the same tag), data, ttl (seconds the service keeps it if the device is off; 86400 by default) and urgency. to: "all", {"users": [...]} or {"tags": [...]}. It replies 202 with the send; it's delivered in less than a minute.
| Path | What it does |
|---|---|
| GET/push | Apps with their public key and subscribers |
| POST/push/{app}/send | Send |
| GET/push/{app}/messages[/{id}] | Sends with delivered, failed, expired and clicks |
| GET DELETE /push/{app}/subscribers?user= | See subscribers or delete a user's |
Subscriptions that the browser cancels are removed automatically. Requires the push:send permission.
Full diagnosis of any domain in seconds, monitoring of yours, expiry dates for your whole portfolio and tracking of the ones you want to buy. The diagnosis checks:
curl -X POST https://rootlase.com/api/v1/domains/check -H "Authorization: Bearer $ROOTLASE_KEY" -H "Content-Type: application/json" \
-d '{"domain": "acme.example", "dkim_selectors": ["s2048"]}'
{"domain": "acme.example", "status": "warn", "counts": {"ok": 11, "warn": 2, "bad": 0, "info": 3},
"checks": [{"group": "correo", "key": "dmarc", "title": "DMARC", "status": "warn",
"summary": "Política «none»: solo observa; los correos falsos todavía llegan.", "detail": ["v=DMARC1; p=none"]}, …]}
Each check has a status: ok, warn, bad or info. Checks count against your plan's monthly limit.
| Path | What it does |
|---|---|
| GET/domains · POST/domains | List or watch one: {"domain": "acme.example", "dkim_selectors": ["s2048"]} |
| GET/domains/{dominio} | Latest report and recent changes |
| POST/domains/{dominio}/check | Check now |
| DELETE/domains/{dominio} | Stop watching |
Watched domains are checked every few hours (depending on your plan) and we email you when they get on or off a blacklist, their MX, NS, SPF or DMARC change, or the certificate or the domain is about to expire.
Load all your domains at once (paste the list or upload the CSV your registrar or hosting panel exports) and see when each one expires, which expire within 30 or 90 days, which have already expired and which registrar each one is with. We email you the days you choose before expiry (60, 30, 14, 7 and 1 by default), and as soon as one expires, enters redemption or is renewed. It's a light check of the registry only: to also check DNS, email and HTTPS use the monitoring above.
For domains that already have an owner and that you want to buy as soon as they drop. We follow their lifecycle through RDAP and WHOIS (expired, with up to about 45 days of grace; redemption, 30 days; pending delete, 5 days; available), estimate the drop date and email you at every stage change, if it's renewed, if it changes registrar or DNS, and as soon as it drops. When it's close we check every 10 minutes. These timeframes apply to .com, .net, .org and most generic extensions; country extensions have their own rules and there the estimated date is only a guide.
The dates from both lists also go to your calendar: copy the subscription URL into Google Calendar, Outlook or Apple Calendar and it updates itself, with alarms before each date.
| Path | What it does |
|---|---|
| GET/domains/portfolio · /domains/wanted | My domains or Domains I want, with stage (registered, expiring, grace, redemption, pending_delete, available), expiry and estimated drop date. ?days=30: only those expiring or dropping within that time |
| POST/domains/portfolio · /domains/wanted | Add: {"domains": ["acme.example", "tienda-acme.example"]} |
| GET/domains/portfolio/{dominio} | Detail with EPP statuses and history |
| POST/domains/portfolio/{dominio}/check | Check now |
| DELETE/domains/portfolio/{dominio} | Remove from the list |
In MCP: domains_expiring, for example "which of my domains expire in the next 30 days?".
POST/tools/headers with {"headers": "…"} returns the email's route (servers, IPs, encryption and delays), the SPF, DKIM and DMARC results, and notes such as a DKIM signature from another domain.
Invite other people to a project from Team. Each one signs in with their own account (if they don't have one, they create it with the same email) and everything they do is recorded in the activity log with their email. The invitation arrives by email and expires in 7 days.
| Role | Can |
|---|---|
| Owner | Everything, including deleting the project. The limits and billing come from their plan. |
| Admin | Everything, including inviting, changing roles and removing people. Can't delete the project. |
| Developer | Create and change databases, keys, tasks, sites, forms and the rest. Doesn't manage the team or the project settings. |
| Read only | See the whole project, without changing anything, seeing secret keys or downloading backups. |
Projects shared with you appear in «Projects» marked «Shared». The number of people per project depends on the owner's plan. API keys belong to the project: if someone leaves the team, review the ones they created.
Visits, sources, countries, devices and events of your sites, without cookies: no IP is stored and nobody is tracked across sites, so you don't need a cookie banner. Visitors are counted per day.
In your project, go to Analytics, add the site with its domain (for example acme.example) and paste in the <head> of all your pages:
<script defer src="https://rootlase.com/v.php?a=js" data-site="rla_…"></script>
It also works with single-page sites: each route change counts as a page view. It measures active time on each page and campaigns by the utm_source, utm_medium and utm_campaign parameters.
rootlase('event', 'Compra', { plan: 'anual', total: 1250 });
<a href="/catalogo.pdf" data-rootlase-event="Descarga del catálogo">Catálogo</a>
In the dashboard you can choose the period, compare with the previous one and filter with one click by page, source, country, device or event. You can create a read-only public link to share the dashboard with your client.
To not count your own visits, add your IP in Settings or type localStorage.rootlase_ignore = '1' in the browser console.
| Path | What it does | Permission |
|---|---|---|
GET /analytics | Sites with visitors and page views over 24 hours | analytics:read |
GET /analytics/{sitio}/stats?period=30d | Summary, comparison, series and top pages, sources, countries, devices and events. period: today, 24h, 7d, 30d, month, 90d or 12m; filter with filter[country]=AA | analytics:read |
GET /analytics/{sitio}/agents?period=30d | People vs. bots and AI agents, by type and by agent, with their verification, the pages AI reads most and the people arriving from assistants | analytics:read |
With the same analytics script, nothing else to install. Turn them on in Analytics → your site → Settings; the script loads these modules only when they're on.
What each visitor sees and does (movements, clicks, scroll, page changes) to watch like a video, with the list of visited pages and the visit details. You can record a share of visits and exclude pages.
class="rl-mask"; to remove a whole section, class="rl-block". You can also hide all page text.| Path | What it does | Permission |
|---|---|---|
GET /analytics/{sitio}/heatmaps | Pages with data. With ?path=/pricing&device=desktop&period=30d: visits, clicks and movement by zone (x in thousandths of the width, y in pixels) and the share of visits reaching each depth | analytics:read |
GET /analytics/{sitio}/recordings | Recordings (filters period, device, min_seconds, page) | analytics:read |
GET /analytics/{sitio}/recordings/{id} | A recording with its pages and a link to watch it (expires in 2 hours) | analytics:read |
Messages, coupons, social proof, email collectors, reviews and the cookie notice. They're shown by the site's analytics script: nothing else to install. Create them in Notices → New notice; they're saved paused so you can tune them before turning them on.
| Group | Alerts |
|---|---|
| Informational | Info message (image, button and link), coupon with a copy button, countdown, YouTube video, audio, share buttons and custom HTML |
| Social proof | Visitors online, recent conversions, conversion counter and reviews |
| Collectors and feedback | Email collector, contact request, emoji feedback and rating (1 to 5 or 0 to 10, like NPS) |
| Privacy | Cookie notice |
rootlase('event', 'Purchase', { product: 'Oak table' }). In the message, {pais} is the visitor's country and {producto} (or any other property) is what you sent with the event. No names are shown.The email collector and the contact request create a form: that's where you see the submissions and get email alerts, anti-spam, the webhook and CSV export. Reviews show up in the notice's Reviews tab, with the average and the NPS.
/blog/*), by device and by country.With the Ask for consent option, the site's heatmaps and recordings only run for people who accept; basic analytics uses no cookies and keeps working. The answer is stored in the browser (localStorage, key rl_consent: 1 accepted, 0 declined) and your page is told with the rootlase:consent event:
window.addEventListener('rootlase:consent', function (e) {
if (e.detail.granted) { /* carga aquí tus otras herramientas */ }
});
Six themes (light, ivory, dark, terracotta, blue and minimal) with colors, corners, width and shadow as you like. Each notice is drawn isolated from the rest of your page: your styles don't change it and its styles don't change your page. On plans without white label they carry a small “With Rootlase”.
| Path | What it does | Permission |
|---|---|---|
GET /notices | Notices with their settings and 30-day impressions, clicks and conversions | notices:read |
GET /notices/{aviso} | A notice (rln_…) | notices:read |
PATCH /notices/{aviso} | Activate or pause: { "status": "active" } o "paused" | notices:write |
DELETE /notices/{aviso} | Delete the notice | notices:write |
GET /notices/{aviso}/stats | Impressions, clicks, conversions and closes per day (?days= from 1 to 400) | notices:read |
GET /notices/{aviso}/feedback | Reviews received, with average and NPS (limit, offset) | notices:read |
PATCH /notices/{aviso}/feedback/{id} | Approve or unapprove: { "approved": true } | notices:write |
DELETE /notices/{aviso}/feedback/{id} | Delete a review | notices:write |
In MCP: notices_list, notices_stats, notices_set_status and notices_feedback.
Add the domain you send email with in DMARC. We give you your own report address (for example k3x9…@dmarc.acme.example) and the record ready to copy: if you already have one, the address is just added to rua and the rest is kept.
_dmarc.acme.example TXT "v=DMARC1; p=none; rua=mailto:k3x9…@dmarc.acme.example"
Gmail, Outlook, Yahoo and others send one report a day; the first ones arrive 24 to 48 hours after you publish the record. With them you see:
none to quarantine and then to reject, with the new record ready to copy. What we don't recognize and fails is usually spoofing: exactly what the policy will block.With _smtp._tls.acme.example TXT "v=TLSRPTv1; rua=mailto:your-address" (the same as DMARC) you see how often other servers could deliver email to you encrypted and why the rest failed (expired certificate, name mismatch…).
It forces servers that send you email to use TLS with a valid certificate. You define the policy in the MTA-STS tab (mode, MX servers and duration) and the site https://mta-sts.acme.example serves it with a PHP file we give you: it reads it from Rootlase and caches it for an hour, so your changes apply on their own. All that's left is the _mta-sts TXT with the id we show you (change it when you change the policy). Start with testing and move to enforce when the TLS tab shows no failures.
| Path | What it does |
|---|---|
GET /dmarc | Domains, report address, messages and how many pass in 30 days |
GET /dmarc/{dominio} | Summary (?days= from 1 to 365), published record, suggested record and the recommendation |
GET /dmarc/{dominio}/sources | Sources grouped by service, with their IPs |
GET /dmarc/{dominio}/reports | Reports received (?kind=tls for TLS ones) |
GET /dmarc/{dominio}/tls | Successful TLS connections and failures per day |
Permission: dmarc:read. In MCP: dmarc_domains, dmarc_summary and dmarc_sources.
In Tools you check any domain, IP or site, yours or not: type acme.example or 203.0.113.7, pick the tool and that's it. It also accepts shortcuts like mx:acme.example, txt:acme.example, all:acme.example, whois:acme.example, blacklist:203.0.113.7, prop:acme.example, trace:acme.example, ports:203.0.113.7, cidr:203.0.113.0/24, email:[email protected] or down:acme.example. Every lookup is kept for 30 days in the project history.
| Group | Tools |
|---|---|
| Your connection | "What's my IP?" (also at the top of the screen, instantly), speed test (latency, download and upload against Rootlase) and what a site sees about your browser, including whether WebRTC reveals your local IP |
| DNS | Lookup of any record or all of them at once (A, AAAA, CNAME, MX, NS, TXT, SOA, SRV, CAA, PTR, DS, DNSKEY, RRSIG, NSEC, NSEC3PARAM, TLSA, HTTPS, SVCB, NAPTR, SSHFP, CERT, IPSECKEY, LOC), propagation, a check of the domain's DNS servers, DNSSEC, reverse DNS, zone transfer (AXFR) and IPv6 readiness |
| MX with related tests, SPF (with the 10-lookup count), DMARC (including external report authorization), DKIM, BIMI, MTA-STS, TLS-RPT, SMTP server test, email address verification, blacklists and domain health | |
| Network and IP | Ping (ICMP, or TCP when the server doesn't allow it), traceroute with the network of each hop, a scanner for the 24 most common ports, TCP port, IP information, IPv4 and IPv6 subnet calculator, ASN and IP WHOIS (RDAP) |
| Web | HTTP and HTTPS (step-by-step redirects), "Is it down?", response time (DNS, connection, TLS, first byte, HTTP/2, HTTP/3 and compression), security headers with an A+ to F grade, TLS certificate, CORS and WebSocket |
| Domain | WHOIS and RDAP (registrar, dates, status, DNS servers, DNSSEC and published contacts) and a subdomain finder using public certificate logs |
| AI and bots | robots.txt for AI (which AI bots and search engines it lets in) and llms.txt |
| Utilities | Base64, URL encoding, JWT decoding, hashing (MD5 and SHA), Unix timestamps, passwords and UUIDs, and internationalized domains (IDN). They run in your browser: what you type isn't sent to Rootlase |
The bar also understands phrases, in English or Spanish: "what is my ip", "ping acme.example", "mx acme.example", "all records acme.example", "verify email [email protected]", "is it down acme.example" or "generate password". While you type it shows which tool it will go to. The search at the top of the console (Ctrl K) does the same from any screen, and also finds sections and projects.
It asks resolvers in different countries and networks at once and compares each answer with the domain's own DNS servers. Green means they already answer the same; yellow means they still have another answer cached, with the TTL they have left. Global (anycast) resolvers answer from the node closest to Rootlase.
It connects to port 25 (or the one you give), reads the greeting, asks for extensions, tests STARTTLS and its certificate, checks the reverse name and verifies the server isn't an open relay. It stops before sending any message. Many providers block outbound port 25: if the connection fails, try from another server.
Ping uses ICMP when the server allows it; if the target doesn't answer ICMP (many block it) or the server can't send it, it measures the time to open a TCP connection on ports 443 or 80. Traceroute needs the traceroute or tracepath program on the Rootlase server and PHP's exec function; if they're missing, the tool says so.
It checks the format, the MX and whether the domain is a disposable email service, then asks the mail server whether it accepts the address (up to RCPT TO, without sending any message), plus a made-up address to learn whether it accepts anything. If the Rootlase server can't reach out on port 25, only the domain is checked.
The tools only connect to public IPs: they can't be used to reach private networks. Each account has a number of lookups per hour according to its plan; read-only project members can use them too.
| Path | What it does | Permission |
|---|---|---|
GET /tools | List of tools, with what each one expects and its options | tools:use |
POST /tools/{herramienta} | Runs a tool: { "query": "acme.example", "type": "MX" }. Options: type (dns, propagation; ALL in dns), selector (dkim, bimi), port (smtp), origin (cors). Returns status, summary, checks, facts, tables and data | tools:use |
GET /tools/runs | History (limit, tool) | tools:use |
GET /tools/runs/{id} | A saved lookup | tools:use |
POST https://rootlase.com/api.php/tools/propagation
Authorization: Bearer rl_…
{ "query": "www.acme.example", "type": "A" }
→ { "data": { "status": "warn", "summary": "12 de 15 resolvedores ya responden lo mismo que tus servidores DNS; …" } }
In MCP: net_tool (any tool), dns_propagation and whois.
The analytics script only sees people: bots and AI agents almost never run JavaScript. To know how much of your traffic is agents, and which ones, measurement happens on your site's server.
In Analytics → your site → Install download rootlase-agentes.php (PHP 7.2 or later). Load it before your application:
# .user.ini en la carpeta pública: todo el sitio, sin tocar código auto_prepend_file = /home/usuario/rootlase-agentes.php # o como primera línea de index.php require '/home/usuario/rootlase-agentes.php'; # probar la conexión php rootlase-agentes.php test
It writes each request to a file and sends a summary once a minute, after responding: it doesn't slow your site down. For people it only counts pages (not images or styles) and doesn't send their IP. If the domain already uses the Rootlase firewall (1.1 or later) or CDN (1.1.0 or later), you don't need this file: they already measure it.
Once a minute, from your server, send what you counted. The key (rlas_…) is inside rootlase-agentes.php.
POST https://rootlase.com/v.php?a=srv
Authorization: Bearer rlas_…
Content-Type: application/json
{
"host": "acme.example",
"humans": { "2027-01-15": 1250 },
"rows": [
["2027-01-15", "Mozilla/5.0 (compatible; GPTBot/1.2; +https://openai.com/gptbot)", "203.0.113.7", "/precios", 14, ""]
]
}
Each row: day (UTC), User-Agent, IP, path, number of requests and the Signature-Agent header if present. Up to 2,000 rows per request.
It reviews your site the way a search engine would and gives you a score from 0 to 100, an "AI-ready" score and the list of what to fix, sorted by severity and with how to do it.
llms.txt.It starts at the URL you choose, follows links on the same domain and adds the sitemap URLs, up to your plan's maximum pages. It respects robots.txt (this can be turned off) and identifies itself as RootlaseSEO. It can run every week or every day and email you if the score drops or new errors appear.
| Path | What it does | Permission |
|---|---|---|
GET /seo | Sites with their latest score | seo:read |
POST /seo | Adds a site ({"url": "https://acme.example"}) and queues an analysis | seo:write |
POST /seo/{sitio}/scans | Starts an analysis (responds 202; if one is already in progress, returns that one) | seo:write |
GET /seo/{sitio}/scans | Analysis history | seo:read |
GET /seo/{sitio}/scans/latest | Full report: scores, issues with how to fix them and sample pages, site checks and AI bot review. Also works with the analysis number instead of latest | seo:read |
GET /seo/{sitio}/scans/latest/pages?issue=img_alt | Checked pages, filterable by issue (issue) or URL (q); limit up to 500 | seo:read |
DELETE /seo/{sitio} | Removes the site and its analyses | seo:write |
Receive your sites' forms without coding a server: every submission is saved, you get an email, spam is filtered and, if you want, it reaches your system by webhook.
Create the form in your project and put its address in the action:
<form action="https://rootlase.com/f.php?k=rlf_…" method="post"> <input name="nombre" required> <input name="email" type="email" required> <textarea name="mensaje"></textarea> <input type="text" name="_gotcha" style="display:none" tabindex="-1" autocomplete="off"> <button>Enviar</button> </form>
Field names are free. With fetch and Accept: application/json it replies {"ok": true, "message": "…"} without leaving the page; it also accepts JSON.
| Field | What for |
|---|---|
email | The notification goes out with «Reply to» that address and an automatic reply can be sent. |
_subject | Subject of the notification email. |
_next | Page the visitor goes to afterwards (one of your domains). |
_gotcha | Hidden trap field: if it arrives filled in, the submission goes to spam. |
Trap field, submission limit per IP, maximum links per message, allowed sites and, optionally, the project's invisible captcha. Spam is kept separately for 30 days in case something slipped through.
Each response arrives by POST at your address with this body and the signature X-Rootlase-Signature: sha256=… (HMAC of timestamp + "." + body with the form's secret). If it fails, it retries up to 6 times.
{"form": {"key": "rlf_…", "name": "Contacto"},
"submission": {"id": 42, "created_at": "…", "data": {"nombre": "Ana", "email": "[email protected]", "mensaje": "…"}}}
| Path | What it does | Permission |
|---|---|---|
GET /forms | Forms with new and total responses | forms:read |
GET /forms/{formulario}/submissions | Responses; status: inbox, new, archived or spam | forms:read |
PATCH /forms/{formulario}/submissions/{id} | Change the status: {"status": "read"} | forms:write |
DELETE /forms/{formulario}/submissions/{id} | Delete a response | forms:write |
Your server stops delivering images, styles, fonts, video, audio and downloads: they're served from Rootlase, cached for a year. You don't change your DNS or your pages. Each file has a permanent address based on its content: if the file changes, its address changes, so you never have to «clear the cache».
There are two ways to send the files, and they can be used together on the same domain:
In your project, go to CDN and add the domain (for example «tienda.acme.example»). Before its files are served you have to verify it's yours, in one of these ways:
https://tu-dominio/.well-known/rootlase-cdn.txt with the code you see in the console._rootlase.your-domain, value rootlase-verify=….rootlase-cdn.php from the domain's Install tab and upload it to your server, ideally outside the public folder: /home/usuario/rootlase-cdn.php. Next to it, it keeps its memory in the folder .rootlase-cdn.index.php (in WordPress, of wp-config.php):require '/home/usuario/rootlase-cdn.php';
php /home/usuario/rootlase-cdn.php sync /home/usuario/public_html
What it does: it replaces your domain's addresses in src, srcset, file hrefs, poster, lazy-loading attributes (data-src…) and the stylesheets' url(). New files are uploaded after the page is answered, so it doesn't slow the visit down; from the next visit on they come from the CDN. Stylesheets are uploaded with their images and fonts already pointing to the CDN. Pages (the HTML) still come from your server.
It doesn't touch: other sites' addresses, pages, excluded paths (by default /wp-admin, /admin, /login, /cuenta, /checkout, /cart), non-GET requests, or JavaScript unless you turn it on. To see a page without the CDN, add ?rlcdn=off to its address.
If Rootlase doesn't respond, the SDK leaves your pages as always. Works with PHP 7.2 or higher with curl; with PHP-FPM uploading happens fully in the background. Commands: test (connection), sync (upload everything) and forget (check everything again).
With a key that has the cdn:write permission. The domain goes in the path:
curl -X PUT "https://rootlase.com/api/v1/cdn/tienda.acme.example/files?name=portada.webp" \ -H "Authorization: Bearer $ROOTLASE_KEY" --data-binary @portada.webp
{"data": {"sha256": "9f2c41…", "url": "https://rootlase.com/c/k3x9a2m7qz/9f2c41….webp", "size": 84213, …}, "new": true}
Also with POST and JSON: {"url": "https://tienda.acme.example/img/portada.webp"} so we download it, or {"name": "portada.webp", "content_base64": "…"}. If the file was already there, it returns the same one with "new": false (it doesn't take space twice). With source you give its original address on your site.
For each domain you see, every day, what the CDN served, what your server kept delivering (the SDK reports it every minute), the percentage you saved and the most downloaded files.
| Path | What it does | Permission |
|---|---|---|
GET /cdn | Domains with their 30-day traffic, storage used and this month's traffic | cdn:read |
POST /cdn | Add a domain: {"domain": "acme.example"}. Returns the data to verify it and the SDK key | cdn:write |
GET /cdn/{dominio} | Status, settings and verification | cdn:read |
PATCH /cdn/{dominio} | status (active, paused), aliases, skip, hotlink, groups | cdn:write |
POST /cdn/{dominio}/verify | Try to verify now | cdn:write |
GET /cdn/{dominio}/stats?days=30 | Traffic per day, totals, percentage saved and most downloaded files | cdn:read |
GET /cdn/{dominio}/files | Files; q, sort (recent, traffic, size), limit, offset | cdn:read |
PUT /cdn/{dominio}/files?name=… | Upload a file (the body is the file) | cdn:write |
POST /cdn/{dominio}/files | Upload from url o content_base64 | cdn:write |
GET /cdn/{dominio}/files/{sha256} | Is it there? Returns its address or 404 | cdn:read |
DELETE /cdn/{dominio}/files/{sha256} | Delete a file | cdn:write |
POST /cdn/{dominio}/purge | Delete all files: {"confirm": "dominio"} | cdn:write |
DELETE /cdn/{dominio} | Removes the domain and its files: {"confirm": "domain"} | cdn:write |
Checks every request before it reaches your application and stops attacks, bots and abuse. It decides on your own server with the rules stored there, so it adds no delay; events reach Rootlase in the background. If Rootlase doesn't respond, your site keeps working.
rootlase-firewall.php./home/usuario/rootlase-firewall.php..user.ini (in the public folder):auto_prepend_file = /home/usuario/rootlase-firewall.phpor as the first line of your
index.php:require '/home/usuario/rootlase-firewall.php';
Works with WordPress, Laravel or plain PHP, with PHP 7.2 or higher. Test the connection with php rootlase-firewall.php test.
Each site starts in monitor mode: nothing is blocked and in the events you see what «would have been blocked». Once you confirm it doesn't affect legitimate visitors, switch to block mode.
.env, .git, backups) and protocol tricks. Turned on by category.Each protection can block, log or ask for a challenge: an invisible captcha from your project (see Captcha); whoever passes it gets in without seeing it again for the hours you choose.
The firewall checks what goes through PHP. So nobody downloads sensitive static files, add this to your .htaccess:
RedirectMatch 404 /\.(git|svn|hg|env|aws|ssh) <FilesMatch "\.(sql|sql\.gz|bak|old|orig|swp)$"> Require all denied </FilesMatch>
Ask from your server before handling each request, with the site's key:
curl -X POST "https://rootlase.com/fw.php?a=check" \
-H "Authorization: Bearer $ROOTLASE_FW_KEY" -d '{
"ip": "203.0.113.9", "method": "GET", "host": "api.acme.example",
"path": "/pedidos", "query": "id=42", "ua": "Mozilla/5.0", "body": ""
}'
It replies {"action": "allow"}, "block", "challenge" or "log", with the reason and the matching signature. If it doesn't answer in time, the request is let through.
| Path | What it does | Permission |
|---|---|---|
GET /firewall | Sites with their mode and blocks over 24 hours | firewall:read |
GET /firewall/{sitio}/events | Events; filter with action, reason, ip, limit | firewall:read |
GET /firewall/{sitio}/rules | Custom rules | firewall:read |
POST /firewall/{sitio}/rules | Add a rule: action, field, op, value, note, minutes | firewall:write |
DELETE /firewall/{sitio}/rules/{id} | Delete a rule | firewall:write |
POST /firewall/{sitio}/block | Block an IP or range: {"ip": "203.0.113.9", "minutes": 1440} | firewall:write |
With MCP, your agent can review the events and block an IP when it detects an attack.
Checks your sites' files against malware signatures on your own servers, whatever provider they're with. Works on any Linux server with PHP 7.2 or higher, with cPanel, Plesk, DirectAdmin or no panel.
curl -fsSL "https://tu-rootlase/sec-install.php?c=CÓDIGO" | sudo bash
The command works only once and expires in 24 hours. If you change servers or lost the installation, generate another one in Settings and installation; the previous installation stops reporting.
.htaccess injections, miners, hidden iframes, phishing, and PHP hidden in images or upload folders./home/*/public_html in cPanel or /var/www/vhosts/*/httpdocs in Plesk). You can change them in Settings; system folders are never scanned.Check the files and choose Quarantine (it's moved to a safe place and can be restored), Restore, Delete permanently or Ignore if it's a false positive. The scanner applies the order within the next 5 minutes. New high-severity findings are emailed to you.
The scanner only accepts those orders, only inside the configured folders, and never runs received code. To remove it, delete /usr/local/rootlase and /etc/cron.d/rootlase.
On cPanel servers, the installer adds the Antivirus icon (Security section) to each user's cPanel. There each account sees only its own files, can quarantine them, restore them, mark them as legitimate or request a scan of its account. It can only delete what's already in quarantine. You can turn it off in the server settings.
Connect your agent to the MCP server (HTTP, JSON-RPC 2.0) with a project key. The tools it sees depend on the key's permissions; to start, use a read-only one.
{
"mcpServers": {
"rootlase": {
"url": "https://rootlase.com/mcp.php",
"headers": { "Authorization": "Bearer rl_…" }
}
}
}
| Tool | Permission |
|---|---|
project_info | any |
db_list, db_schema, db_query | db:read (write with db:write) |
db_exec, db_backup | db:admin / db:write |
cron_list | cron:read |
cron_create, cron_run, cron_pause | cron:write |
monitors_status | monitors:read |
monitor_create | monitors:write |
files_list, file_link | files:read |
queues_status | queues:read |
queue_send | queues:write |
email_send | email:send |
push_send | push:send |
domain_check, domains_status, mail_headers | domains:read |
analytics_stats, analytics_agents, analytics_heatmap, analytics_recordings | analytics:read |
seo_sites, seo_report | seo:read |
seo_scan | seo:write |
forms_submissions | forms:read |
firewall_status, firewall_events | firewall:read |
firewall_block_ip | firewall:write |
cdn_sites, cdn_stats | cdn:read |
cdn_upload, cdn_delete_file | cdn:write |