LinkPreve API
The LinkPreve scanner is available as a simple JSON endpoint — the same engine that powers the web checker. This page documents the endpoint honestly: what it does, what it returns, and its current limits.
Status
The endpoint below is live and is what the web checker itself uses. API keys, developer accounts and paid plans are not yet available. The endpoint is currently rate-limited per IP and intended for evaluation and light use. If you need higher volume for a product or security workflow, contact us — business plans will be announced on this page when they exist. We will never sell a plan that is not operational.
Endpoint
POST https://linkpreve.com/api/scan
Send a JSON body with a single field:
{ "url": "https://example.com/path" }
The URL is normalised server-side (a missing scheme is treated as https://). Invalid or unparseable input returns HTTP 400 with a plain-language error message.
What the scan does
- Runs the structural heuristic engine: HTTPS use, IP hosts, @-userinfo tricks, punycode, URL shorteners, risky TLDs, subdomain stacking, brand-impersonation patterns (including letter/digit substitutions), suspicious parameters and dangerous download extensions.
- Checks the URL against a locally held copy of the OpenPhish phishing feed (refreshed hourly). The submitted URL is never fetched, and it is not forwarded to OpenPhish.
- Additional threat-intelligence providers (such as Google Safe Browsing) are consulted only when the operator has enabled them; every provider consulted for a scan is named in that scan's
sourcesarray.
Response
A successful scan returns JSON with these fields:
normalized— the URL as normalised by the scanner.hostandregistrableDomain— the full host and the registrable domain extracted from it.score— a risk score from 0 to 100. Higher means more risk signs.status— one ofUNVERIFIED(no risk signs found — this never means "guaranteed safe"),SUSPICIOUS, orMALICIOUS.verdictanddesc— a short human-readable summary of the result.checks— an array of individual findings, each with a status, title, explanation and points contribution.sources— the threat-intelligence sources consulted, each with its result (listed,not listed, orunavailable).scannedAt— the ISO timestamp of the scan.advice— practical next-step guidance for the person who received the link.
More endpoints (the scanner deck)
The web checker’s other tools use the same style of endpoint. All are POST with a JSON body, rate-limited the same way, and every source consulted is named in the response’s sources array with a result of listed, not listed, unavailable, or not configured (an engine the operator has not enabled — it contributes nothing to the result).
POST /api/hash— body{ "hash": "…" }(MD5, SHA-1 or SHA-256, hex). Sources: the MalwareBazaar recent-samples export (SHA-256 only; consulted only when the operator has configured a free abuse.ch Auth-Key, and reported as “not configured” otherwise), the CIRCL hashlookup catalogue, and VirusTotal when enabled.statusis one ofMALICIOUS,TEST_FILE(the EICAR antivirus test file),KNOWN_FILE(catalogued in reference datasets — not a safety guarantee), orUNVERIFIED.POST /api/reputation— body{ "target": "example.com" }(a domain or an IP address). Resolves the name via DNS-over-HTTPS, classifies every resulting address (public / private / loopback / reserved…), and checks the host against the OpenPhish feed.status:MALICIOUS,SUSPICIOUS(for example a public name resolving to a non-public address), orUNVERIFIED.POST /api/audit— body{ "url": "https://example.com" }. Returns DNS records, SPF/DMARC presence, certificate facts from public Certificate Transparency logs (crt.sh), and — only under the guarded conditions described on the How it works page — the site’s response security headers. Returnsstatus: "AUDIT"with findings, not a verdict: configuration facts are not proof of trustworthiness.POST /api/phone/check— body{ "number": "+…" }. Counts community reports stored by LinkPreve for that number.status:REPORTEDorUNVERIFIED(no reports — never “safe”).POST /api/phone/report— body{ "number": "+…", "category": "scam-call|scam-sms|phishing|spam|other", "details": "…" }. Stores a community report and returns a reference such asLP-000123.
Rate limits and fair use
Requests are limited per IP address (an in-service limiter of 30 requests per minute, plus edge rate limiting). Automated bulk scanning beyond these limits, attempts to disrupt the service, and using results to claim a link is "certified safe" are not permitted. See the Terms of Use and Disclaimer.
Interpretation
A scan is a point-in-time, structure-plus-database assessment. A result of UNVERIFIED means no known risk signs were found — a brand-new malicious site can score low, and an unusual but legitimate link can score high. Present results to your own users with the same honesty.