---
title: "Trust/Spam Detection v2 (with Reputation Scoring)"
method: POST
path: "/api/v2/trust"
tags: ["Trust"]
---

# Trust/Spam Detection v2 (with Reputation Scoring)

`POST /api/v2/trust`

Enhanced trust endpoint that includes quantitative reputation scoring.

**New in v2:**
- `reputation_score`: 0-100 integer (higher = more trustworthy)
- `trust_level`: Categorical level (high >= 70, medium 40-69, low < 40)
- `last_updated`: ISO 8601 timestamp

**Reputation Score Ranges:**
- Confirmed scam: 10
- Confirmed robocall: 20
- General spam: 35
- Clean number: 50-85

## Request body

- object
  - `phone_number` string, required

## Response `200`

Successful trust analysis with reputation scoring

- TrustResponseV2 — Enhanced Trust response with reputation scoring (v2)
  - `data` object
    - `number` string
    - `is_spam` boolean
    - `is_robocall` boolean
    - `is_scam` boolean
    - `spam_type` 'NONE' | 'SPAM' | 'ROBOCALL' | 'SCAM' | 'TELEMARKETER'
    - `complaint_count` integer
    - `subjects` string[]
    - `reputation_score` integer — Reputation score from 0-100 (higher = more trustworthy)
    - `trust_level` 'high' | 'medium' | 'low' — Categorical trust level based on reputation score
    - `last_updated` string, date-time — ISO 8601 timestamp of when data was last updated
  - `errors` string[]

## Other responses

- `429` — Too Many Requests — rate limit exceeded.

---

[API](https://skmtc.dev/verirouteintel/apis/veriroute-intel-api.md) · [All operations](https://skmtc.dev/verirouteintel/apis/veriroute-intel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/verirouteintel/veriroute-intel-api/revisions/0bd583e1906e/schema)
