{
  "x402Version": 2,
  "id": 72467,
  "slug": "saylorinnovations-api-text-toxicity",
  "resource": "https://saylorinnovations.com/api/text/toxicity",
  "description": "Screen English text for toxicity - 0 to 100 score and label, matched profanity, insults, harassment, threats and self-harm encouragement, plus shouting",
  "type": "http",
  "serviceName": "Saylor Innovations Data Desk",
  "mimeType": "application/json",
  "resourceType": "API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "So11111111111111111111111111111111111111112",
      "amount": "95830",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object",
    "properties": {
      "score": {
        "type": "number",
        "description": "Score from 0 (worst) to 100 (best)"
      },
      "label": {
        "type": "string",
        "description": "Human-readable label"
      },
      "flagged": {
        "type": "boolean",
        "description": "True when the label is not clean"
      },
      "categories": {
        "type": "object",
        "properties": {
          "insult": {
            "description": "Number of insult matches",
            "type": [
              "number",
              "null"
            ]
          },
          "threat": {
            "description": "Number of threat matches",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "description": "Categories"
      },
      "matches": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "term": {
              "description": "Matched term",
              "type": [
                "string",
                "null"
              ]
            },
            "weight": {
              "description": "Severity weight",
              "type": [
                "number",
                "null"
              ]
            },
            "category": {
              "description": "Category"
            }
          }
        },
        "description": "Matching items"
      },
      "match_count": {
        "type": "number",
        "description": "Number of match"
      },
      "shouting": {
        "type": "boolean",
        "description": "True when most letters are upper case"
      },
      "limitations": {
        "type": "string",
        "description": "Known limits of this result"
      },
      "source": {
        "type": "string",
        "description": "Data source the values come from"
      },
      "characters": {
        "description": "Characters analysed",
        "type": [
          "number",
          "null"
        ]
      }
    },
    "required": [
      "score",
      "label",
      "flagged"
    ]
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "text": "you are a stupid idiot and I will find you"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "score": 97,
            "label": "severe",
            "flagged": true,
            "categories": {
              "insult": 2,
              "threat": 1
            },
            "matches": [
              {
                "category": "insult",
                "term": "stupid",
                "weight": 1
              },
              {
                "category": "insult",
                "term": "idiot",
                "weight": 1
              },
              {
                "category": "threat",
                "term": "i will find you",
                "weight": 3
              }
            ],
            "match_count": 3,
            "shouting": false,
            "characters": 42,
            "limitations": "Lexicon and pattern based for English. It does not catch coded language, sarcasm or identity-based slurs, and it can flag quoted or reclaimed language; use a moderation model plus human review for high-stakes decisions.",
            "source": "Rule-based toxicity heuristics on the supplied text"
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string",
                    "description": "English text to screen, 2-3000 characters"
                  }
                },
                "required": [
                  "text"
                ]
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "score": {
                    "type": "number",
                    "description": "Score from 0 (worst) to 100 (best)"
                  },
                  "label": {
                    "type": "string",
                    "description": "Human-readable label"
                  },
                  "flagged": {
                    "type": "boolean",
                    "description": "True when the label is not clean"
                  },
                  "categories": {
                    "type": "object",
                    "properties": {
                      "insult": {
                        "description": "Number of insult matches",
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "threat": {
                        "description": "Number of threat matches",
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    },
                    "description": "Categories"
                  },
                  "matches": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "term": {
                          "description": "Matched term",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "weight": {
                          "description": "Severity weight",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "category": {
                          "description": "Category"
                        }
                      }
                    },
                    "description": "Matching items"
                  },
                  "match_count": {
                    "type": "number",
                    "description": "Number of match"
                  },
                  "shouting": {
                    "type": "boolean",
                    "description": "True when most letters are upper case"
                  },
                  "limitations": {
                    "type": "string",
                    "description": "Known limits of this result"
                  },
                  "source": {
                    "type": "string",
                    "description": "Data source the values come from"
                  },
                  "characters": {
                    "description": "Characters analysed",
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "required": [
                  "score",
                  "label",
                  "flagged"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "is this comment toxic",
    "profanity filter for user text",
    "detect threats and insults",
    "content moderation score",
    "flag abusive language"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:01.949Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations Data Desk",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "description": "English text to screen, 2-3000 characters"
        }
      },
      "required": [
        "text"
      ]
    },
    "exampleResponse": {
      "score": 97,
      "label": "severe",
      "flagged": true,
      "categories": {
        "insult": 2,
        "threat": 1
      },
      "matches": [
        {
          "category": "insult",
          "term": "stupid",
          "weight": 1
        },
        {
          "category": "insult",
          "term": "idiot",
          "weight": 1
        },
        {
          "category": "threat",
          "term": "i will find you",
          "weight": 3
        }
      ],
      "match_count": 3,
      "shouting": false,
      "characters": 42,
      "limitations": "Lexicon and pattern based for English. It does not catch coded language, sarcasm or identity-based slurs, and it can flag quoted or reclaimed language; use a moderation model plus human review for high-stakes decisions.",
      "source": "Rule-based toxicity heuristics on the supplied text"
    },
    "parameterLocation": "query",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "text": "you are a stupid idiot and I will find you"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "score": 97,
              "label": "severe",
              "flagged": true,
              "categories": {
                "insult": 2,
                "threat": 1
              },
              "matches": [
                {
                  "category": "insult",
                  "term": "stupid",
                  "weight": 1
                },
                {
                  "category": "insult",
                  "term": "idiot",
                  "weight": 1
                },
                {
                  "category": "threat",
                  "term": "i will find you",
                  "weight": 3
                }
              ],
              "match_count": 3,
              "shouting": false,
              "characters": 42,
              "limitations": "Lexicon and pattern based for English. It does not catch coded language, sarcasm or identity-based slurs, and it can flag quoted or reclaimed language; use a moderation model plus human review for high-stakes decisions.",
              "source": "Rule-based toxicity heuristics on the supplied text"
            }
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "input": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "GET"
                  ]
                },
                "queryParams": {
                  "type": "object",
                  "properties": {
                    "text": {
                      "type": "string",
                      "description": "English text to screen, 2-3000 characters"
                    }
                  },
                  "required": [
                    "text"
                  ]
                }
              },
              "required": [
                "type",
                "method"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "properties": {
                    "score": {
                      "type": "number",
                      "description": "Score from 0 (worst) to 100 (best)"
                    },
                    "label": {
                      "type": "string",
                      "description": "Human-readable label"
                    },
                    "flagged": {
                      "type": "boolean",
                      "description": "True when the label is not clean"
                    },
                    "categories": {
                      "type": "object",
                      "properties": {
                        "insult": {
                          "description": "Number of insult matches",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "threat": {
                          "description": "Number of threat matches",
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      },
                      "description": "Categories"
                    },
                    "matches": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "term": {
                            "description": "Matched term",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "weight": {
                            "description": "Severity weight",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "category": {
                            "description": "Category"
                          }
                        }
                      },
                      "description": "Matching items"
                    },
                    "match_count": {
                      "type": "number",
                      "description": "Number of match"
                    },
                    "shouting": {
                      "type": "boolean",
                      "description": "True when most letters are upper case"
                    },
                    "limitations": {
                      "type": "string",
                      "description": "Known limits of this result"
                    },
                    "source": {
                      "type": "string",
                      "description": "Data source the values come from"
                    },
                    "characters": {
                      "description": "Characters analysed",
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "score",
                    "label",
                    "flagged"
                  ]
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/text/toxicity?text=you%20are%20a%20stupid%20idiot%20and%20I%20will%20find%20you",
        "expectedStatus": 402
      }
    ],
    "cacheTtlSeconds": 0,
    "capabilities": [],
    "noAccountRequired": true,
    "noApiKeyRequired": true,
    "sideEffects": "Paid calls settle the advertised payment; see the provider contract for execution behavior.",
    "payment": {
      "protocol": "x402",
      "settlement": "direct-to-provider"
    },
    "provider": {
      "name": "Saylor Innovations",
      "host": "saylorinnovations.com",
      "manifestUrl": "https://saylorinnovations.com/.well-known/x402.json"
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "saylorinnovations.com",
    "manifest_name": "Saylor Innovations Knowledge Base",
    "source": "submitted",
    "source_manifest_url": "https://saylorinnovations.com/.well-known/x402.json",
    "submitted_at": "2026-10-26T05:52:02.113Z"
  },
  "exampleResponse": {
    "score": 0,
    "label": "string",
    "flagged": true,
    "categories": {
      "insult": 0,
      "threat": 0
    },
    "matches": [
      {
        "term": "string",
        "weight": 0,
        "category": null
      }
    ],
    "match_count": 0,
    "shouting": true,
    "limitations": "string",
    "source": "string",
    "characters": 0
  }
}