Norn API: is this visitor naughty or nice?

The Norn API tells your site whether an IP address, or a whole request, looks like a bot or an attacker. It's the same check n2db.com and its sister sites use on their own visitors, built from what we've seen first hand: vulnerability scans, honeypot hits, spam form posts and fake search crawlers. You can try a single address first.

  • A verdict, not just data: Nice, Suspicious or Naughty, with a score and the reasons behind it.
  • Judge a whole request: send the user agent, path and form text as well as the IP, and Norn scores them together, including spam detection on the form's content.
  • Evidence from real traffic: whether we caught the address probing, filling in a honeypot or posting spam on our sites.
  • Network details: country, ISP, organisation, and whether it's a data centre, proxy or mobile network.

Plans

Prices in US dollars. Every plan has the same features; they differ only in how many requests they allow.

Free

Free

  • 30,000 requests a month
  • 30 requests a minute

Starter

$9/month
or $90 a year (two months free)

  • 100,000 requests a month
  • 60 requests a minute

Business

$29/month
or $290 a year (two months free)

  • 1,000,000 requests a month
  • 300 requests a minute

Custom

from $99/month

  • Limits to suit your traffic
  • More than 1,000,000 requests a month

Keys are emailed within one business day of subscribing. For a free key, use the contact form and tell us your email address and the site you'll use it on. Requests over the monthly limit are turned away until the next month (calendar months, UTC); nothing is charged on top. You can cancel at any time. You can also try the API with no key at all: up to 60 lookups an hour from each IP address. Using the API means you accept the Norn API terms of service.

How to use it

Your key

Send your key with every request, in an X-Norn-Key header or as Authorization: Bearer. Keep it on your server: never put it in a web page or app that visitors can see.

Look up an IP address

GET https://mediasolveapi.com/api/Norn/{ip}, or GET https://mediasolveapi.com/api/Norn?ip={ip}, which suits IPv6 addresses better.

curl -H "X-Norn-Key: norn_your_key" https://mediasolveapi.com/api/Norn/203.0.113.7

The answer:

{
  "ipAddress": "203.0.113.7",
  "verdict": "Naughty",
  "score": 100,
  "reasons": [ "vulnerability probe +100" ],
  "isObserved": true,
  "evidence": { "isProbe": true, "isHoneyPot": false, "isSpamContent": false },
  "network": {
    "countryCode": "US",
    "isp": "Example Hosting Inc.",
    "org": "Example Cloud",
    "as": "AS64500 Example Hosting Inc.",
    "isHosting": true,
    "isProxy": false,
    "isMobile": false
  },
  "firstRecorded": "2026-11-15T23:38:18Z",
  "lastUpdated": "2026-11-26T15:10:25Z"
}
verdictNice, Suspicious (some warning signs, not enough to block on), Naughty (block it) or Unknown (not seen, and its network couldn't be looked up just now).
score, reasonsThe score and each signal that counted towards it. 100 or more is Naughty; 50 or more is Suspicious.
isObservedTrue when the address has visited our sites; false when it's judged on its network alone.
evidenceWhat our sites caught the address doing. All false when it hasn't visited.
networkCountry, ISP, organisation, autonomous system, and whether it's a data centre, proxy/VPN or mobile network. May be null.
firstRecorded, lastUpdatedWhen we first recorded the address and when its record last changed (UTC), or null.

Judge a request to your site

POST https://mediasolveapi.com/api/Norn/assess with what you know about the request. Only ipAddress is required; leave out what you don't know. Send "" for a header the request didn't have, as a missing user agent or language is itself a warning sign. The answer is the same as for a lookup, scored with the request's own signals. Nothing you send is stored, or counted against the address.

curl -X POST https://mediasolveapi.com/api/Norn/assess \
  -H "X-Norn-Key: norn_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "ipAddress": "203.0.113.7",
    "userAgent": "Mozilla/5.0 ...",
    "acceptLanguage": "",
    "path": "/contact",
    "form": { "name": "Bob", "email": "bob@example.com", "message": "Cheap pills, visit ..." }
  }'
ipAddressThe visitor's IP address. Required.
userAgent, acceptLanguageThe request's User-Agent and Accept-Language headers.
pathThe path asked for, e.g. /wp-login.php.
requestsPerMinutePage requests from this address in the last minute, if your site counts them.
isHoneyPottrue when the visitor filled in a form field hidden from people.
formA submitted form's name, email, subject, message, organization and website, checked for spam.
countryPolicy, countryCodesOptional country rule: AllowListed (only these countries) or BlockListed (all but these), with a list such as "US,CA".

From .NET

// One HttpClient for the whole app (e.g. from IHttpClientFactory), with the key set once.
var norn = new HttpClient { BaseAddress = new Uri("https://mediasolveapi.com/") };
norn.DefaultRequestHeaders.Add("X-Norn-Key", "norn_your_key");   // from your configuration, not your code

var result = await norn.GetFromJsonAsync<JsonElement>($"api/Norn/{Uri.EscapeDataString(ipAddress)}");
if (result.GetProperty("verdict").GetString() == "Naughty")
{
    // block, or ask for a CAPTCHA
}

Limits and errors

Each answer with a key includes X-Norn-Quota-Limit and X-Norn-Quota-Remaining headers: the month's allowance and how much of it is left. Errors come back as JSON with a title and detail.

400Not a valid IP address, or a private one (such as 192.168.x.x) that isn't used on the internet.
401The key isn't valid, or has been cancelled.
429Too many requests: the key's per-minute or monthly limit, the no-key hourly limit, or too many invalid keys from one address.

IP addresses change hands, so a verdict describes an address, not a person. If you think one is wrong, ask us to review it. See our privacy policy for what we keep and why.

An unhandled error has occurred. Reload 🗙