Domain
Website Safety API
Check the reputation of a domain before you link to it, send traffic to it or let users visit it. The API returns one of four verdicts: safe, warning, danger or unknown.
Use cases: Screen user-submitted links; Keep ads off risky sites; Flag risky domains in a list.
get/api/v1/domain/safety
Request
- Base URL: https://xranks.com
- URL: https://xranks.com/api/v1/domain/safety
- Auth: API key in header Authorization
Query parameters
domainstring required
A domain or a full URL: https://www.github.com/about is read as github.com.
Response
Data for the domain. May instead be an Error object (HTTP 200) when the domain is unknown.
Changes
No recorded changes to this operation across all 1 revision of this API.