---
title: "Get the likelihood that a message is spam"
method: POST
path: "/checkspam"
tags: ["Spam-Detection"]
---

# Get the likelihood that a message is spam

`POST /checkspam`

## Request

- Base URL: `https://api.chainfuel.com/v1`
- URL: `https://api.chainfuel.com/v1/checkspam`
- Auth: none declared

Adds an item to the system

## Request body

- Message
  - `message_body` string, required

## Response `200`

Likelihood that the message is spam

- Spamscore
  - `spamscore` number, required

## Other responses

- `400`: invalid input, object invalid

---

[API](https://skmtc.dev/chainfuel/apis/chainfuel-spam-detector.md) - [All operations](https://skmtc.dev/chainfuel/apis/chainfuel-spam-detector/llms.txt) - [OpenAPI document](https://skmtc.dev/chainfuel/apis/chainfuel-spam-detector/revisions/8b2d22386600?raw)
