AdonisJS · First-party SDK

AdonisJS API monitoring that sees every request.
Including the half that isn’t human.

One ace command registers a provider and two middleware. It records every request - including the ones your routes never match.

Source: Imperva 2026 Bad Bot Report

node ace add @apitraffic/adonisjs

# Installs @apitraffic/adonisjs and configures it:
# config/apitraffic.ts, .env, adonisrc.ts and start/kernel.ts
node ace add @apitraffic/adonisjs
Then set API_TRAFFIC_TOKEN and API_TRAFFIC_BUCKET in .env.

@apitraffic/adonisjs is the same capture and firewall as everywhere else, enabled from your account. tag(), trace() and span() work in middleware, controllers and your exception handler, the SDK never starts for Ace commands, and when the application terminates it delivers what was captured after Adonis has closed the server. AdonisJS 6 and 7.

AdonisJS 6 and 7 · Node 20+ · types included · AdonisJS setup guide · read the middleware source

AdonisJS

What this looks like in Adonis

Adonis does not run on Express - so this is its own package

Adonis implements its own HTTP server and middleware pipeline, so there is no Express adapter to mount on. @apitraffic/adonisjs is a provider and a server middleware that records the request as Adonis serves it, on the raw Node request and response, with the route Adonis matched, group prefixes included.

Route middleware rejects before your controller exists

The 401s and 403s your auth and guest middleware produce, and the 404s no route matches, are traffic worth looking at. The ApiTraffic middleware runs first among the server middleware, so they are recorded with their final status and whatever your code tagged.

The body parser is router middleware

Adonis parses the body only for requests with a route. The firewall checks every request as it arrives, then a request with a body once more after the body parser, so body rules see the parsed body - without counting the request twice against rate limits.

API traffic monitoring

Every Adonis request, with its queries and its verdict attached

One pass through one middleware: the payload, every query and outbound call it caused, and the firewall's decision - on one record, watched for incidents, drift and regressions.

Pricing

Simple, published pricing

Every plan and what it includes, read live from our billing system - with a free trial and no credit card to start.

Solo

$79per month
Start free trial

Retention: 30 days of request history

Replaces a request logger, an APM, an alerting tool and a WAF

Usage & limits

  • 1M requests · Captured requests (then $0.08 per 1,000 requests)
  • 5 buckets · Buckets
  • 2 environments · Environments
  • 1 seat · Team members

Logging & search

  • 30 days · Retention window

Firewall

  • 2 policies · WAF policies per account

Alerts & drift

  • 1 channel · Alert channels

Integrations

  • 1 repository · Linked repositories
Most Popular

Team

$249per month
Start free trial

Retention: 180 days of request history

Replaces a request logger, an APM, an alerting tool and a WAF

Usage & limits

  • 5M requests · Captured requests (then $0.05 per 1,000 requests)
  • 20 buckets · Buckets
  • 5 environments · Environments
  • 20 seats · Team members

Logging & search

  • 180 days · Retention window

Firewall

  • 10 policies · WAF policies per account

Alerts & drift

  • Unlimited · Alert channels

Integrations

  • 5 repositories · Linked repositories

Business

$799per month
Start free trial

Retention: 365 days of request history

Replaces a request logger, an APM, an alerting tool and a WAF

Usage & limits

  • 25M requests · Captured requests (then $0.03 per 1,000 requests)
  • 100 buckets · Buckets
  • 20 environments · Environments
  • Unlimited · Team members

Logging & search

  • 365 days · Retention window

Firewall

  • Unlimited · WAF policies per account

Compliance

  • Compliance

Alerts & drift

  • Unlimited · Alert channels

Integrations

  • Unlimited · Linked repositories

Compare all plan features

Every plan starts with a 7-day free trial - no credit card to begin, and nothing is charged unless you choose a plan.

One bill instead of four: logging, APM, alerting and a firewall on every plan. On Team, that is less than $0.05 per 1,000 captured requests, with all four included.

Prices in the currency shown, excluding tax. Overage is billed per unit and rounded to the cent on the invoice.

FAQ

AdonisJS API monitoring questions

Know what your API did - before your customers tell you.

One npm install and one line of code. Your first requests arrive in minutes, with their queries, their firewall verdict and a baseline for every endpoint already building.

Free trial · No credit card · Set up in minutes