Getting Started
Welcome to the moder8r API! This guide will help you get up and running with content moderation in minutes.
Quick Start
Here's a quick example to get you started. Replace m8r_sk_your_key_here with your actual API key.
curl -X POST https://api.moder8r.app/v1/moderate/text \
-H "Authorization: Bearer m8r_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"text": "This is some text to moderate"
}'✅ Expected Response: You'll receive a JSON object with a flagged verdict, per-category scores, a recommended action (allow, review, or block), and your current usage.
Base URL
All API requests should be made to:
https://api.moder8r.app/v1The same endpoints are also served at https://moder8r.app/api/v1. The Perspective-compatible API lives at https://perspective.moder8r.app/v1alpha1.
Authentication
All requests require authentication using an API key in the Authorization header:
Authorization: Bearer m8r_sk_your_key_hereLearn more about authentication in the Authentication guide.