GET/v1/scams

Retrieve the list of known scams from the Trustyn database.

Business plan required

This endpoint is only available for B2B Business and Enterprise plans.

Request

bash
curl -X GET "https://api.trustyn.ai/v1/scams?limit=10&scam_type=phishing" \
  -H "X-API-Key: trustyn_live_xxxxxxxx"

Query Parameters

limitinteger

default: 20

Number of results (max 100)

offsetinteger

default: 0

Pagination offset

scam_typestring

Filter by scam type

"phishing""fake_delivery""romance_scam""investment_scam"
confirmedboolean

default: true

Only confirmed scams

Response

json
{
  "data": [
    {
      "id": "scm_abc123",
      "scam_type": "phishing",
      "brand_targeted": "BNP Paribas",
      "score": 95,
      "report_count": 127,
      "first_seen_at": "2024-01-10T08:00:00Z"
    }
  ],
  "pagination": {"total": 1543, "limit": 10, "has_more": true}
}