Skip to content

Network

Check whether a link is safe before anyone clicks it

Send a URL or a bare domain. The API follows the redirect chain hop by hop, public hosts only, checks every host against two public phishing feeds, reads the registration date of the final domain from its registry and looks for imitations of brand domains, punycode, risky TLDs, shorteners and plain HTTP. You get a verdict, a 0 to 100 score and every reason with its points.

What one lookup returns

The fields this product reads from the response. The full schema is in the API reference.

FieldTypeMeaning
verdictstringsafe, suspicious or malicious.
scoreintegerSum of the points of every reason, from 0 to 100.
reasonsarrayEvery signal found, strongest first, with its code, severity, points and a plain-English message.
final_urlstring or nullThe last URL of the redirect chain that answered.
domainstring or nullRegistrable domain of the final host.
httpsbooleantrue when the final URL was served over HTTPS.
redirectsarrayEvery URL of the chain in order, with its HTTP status and how it was reached.
domain_age.age_daysinteger or nullDays since the final domain was registered, from its registry over RDAP.
lookalikeobject or nullThe strongest imitation of a brand domain: brand, official domain, technique and similarity.
official_brandstring or nullThe brand whose official domain this is, when it is one.
risky_tldbooleantrue for the 20 TLDs with the highest phishing domain score in the latest Interisle study.
shortenerbooleantrue when a URL of the chain is on a link shortener.
threatsarrayFeed listings that match a host of the chain or one of its parent domains.
feedsarrayThe feeds consulted, with their size and load time.

Live example

The response below was returned by the API for this request.

Request
curl https://api.qelka.com/v1/url \
  -H "Authorization: Bearer sk_test_your_key" \
  -H "Content-Type: application/json" \
  -d '{"url":"http://github.com"}'
Request fields
urlstring · RequiredThe link to check: a full http or https URL, or a bare domain read over HTTPS first. At most 2,048 characters.
freshboolean · Default falsetrue skips the result cache and runs the lookup again.

Response

{
  "id": "lkp_01M8CES6KC81Y0WGTHW7AKBQTJ",
  "object": "url",
  "input": "http://github.com",
  "url": "http://github.com/",
  "final_url": "https://github.com/",
  "host": "github.com",
  "domain": "github.com",
  "tld": "com",
  "verdict": "safe",
  "score": 0,
  "reasons": [],
  "reachable": true,
  "http_status": 200,
  "https": true,
  "redirects": [
    {
      "url": "http://github.com/",
      "host": "github.com",
      "status": 301,
      "via": "request"
    },
    {
      "url": "https://github.com/",
      "host": "github.com",
      "status": 200,
      "via": "redirect"
    }
  ],
  "domain_age": {
    "domain": "github.com",
    "status": "found",
    "created_at": "2007-10-09T18:20:50.000Z",
    "age_days": 6987,
    "registrar": "MarkMonitor Inc."
  },
  "unicode_host": null,
  "punycode": false,
  "mixed_scripts": false,
  "lookalike": null,
  "official_brand": "GitHub",
  "risky_tld": false,
  "shortener": false,
  "free_hosting": false,
  "threats": [],
  "feeds": [
    {
      "id": "destroylist",
      "entries": 234357,
      "loaded_at": "2026-11-26T17:34:44.558Z"
    },
    {
      "id": "phishing_database",
      "entries": 385332,
      "loaded_at": "2026-11-26T17:34:44.558Z"
    }
  ],
  "credits_used": 1,
  "cached": false
}

Use cases

Screen links in user content

Check the links in comments, chat messages, listings and profiles before you publish them or render them as clickable.

Protect support and inbound mail

Flag the links in tickets and forwarded emails before an agent opens them.

Vet redirects and partner URLs

Unwind shortened and tracking links to see where they land, and refuse destinations on a phishing feed.

Explain a block

Show the reason with its message, such as a domain registered nine days ago that imitates a bank, instead of a bare refusal.

Price

1 credit per lookup, from the same balance as every other product.

Starter
$2.90 per 1,000 lookups
Growth
$1.98 per 1,000 lookups
Scale
$1.50 per 1,000 lookups
Business
$1.07 per 1,000 lookups

The free plan includes 100 credits every month. Errors, upstream failures and test keys are never billed.

See pricing

Data source and freshness

Queried live from the source at request time. Results are cached for 1 hours; send "fresh": true to query again.

Data sources

Frequently asked questions

Which threat feeds are checked?
Destroylist and Phishing.Database, two public phishing domain lists under the MIT license, loaded every 6 hours. Every host of the redirect chain and its parent domains are compared with them. URLhaus, the malware URL feed of abuse.ch, is added when an account key is configured.
What does safe mean?
Safe only means that no warning sign was found: the link is not on the feeds and imitates no brand we track, and the domain is not brand new. New phishing pages appear every hour, so treat safe as no known risk, not as a guarantee.
How is the verdict decided?
Each signal adds points. One signal of 90 points or more, such as a feed listing or look-alike characters in a brand domain, makes the link malicious. Otherwise a total of 30 points or more makes it suspicious. The weights are published on the link risk score page.
Does the API open the page?
It requests each URL of the chain without running scripts, reads at most the first 64 KB to find a meta refresh, and stops after 10 redirects. Hosts that are not public, such as private IP addresses or localhost, are never requested.
How much does a check cost?
1 credit per link. Results are cached 1 hour, so the same link checked again within the hour is free. When the feeds are not loaded the API answers 502 and nothing is billed.

Put this check in your product

Get an API key in under a minute. 100 free credits every month, no card required.

  • 100 free credits a month
  • No card
  • Test keys spend nothing
  • Cancel any time