all-about-apikey/web-of-trust/README.md

1.0 KiB

Web of Trust

Description

IP/domain/URL reputation

Example Request

  • Curl
curl -H "x-user-id: USERID" -H "x-api-key: YOURAPIKEY" -X GET "https://scorecard.api.mywot.com/v3/targets?t=hbo.com&t=google.com"
  • Raw
GET /v3/targets?t=hbo.com&t=google.com HTTP/1.1
Host: scorecard.api.mywot.com
x-user-id: USERID
x-api-key: YOURAPIKEY

Response

  • Success
[
    {
        "target":"hbo.com",
        "safety":{
            "status":"SAFE",
            "reputations":93,
            "confidence":59
        },"childSafety":{
            "reputations":90,
            "confidence":52
        },"categories":[
            {
                "id":501,
                "name":"good site",
                ...
            }
        ]
    }
]
  • Error

No output if error

Regex

  • User ID
[0-9]{7}
  • API Key
[a-z0-9]{40}

Example key

  • User ID
1234567
  • API Key
tue3sv9hzsey1me4l7fwq3t46u5k8wagabcdefgh