Pangram API

AI Content Detector API

How It Works

The Pangram API provides an instant result for any text input, classifying it as human or AI-generated. We provide Python SDK and Inference API options for seamless integration into your platform.

1

Request

Your platform sends raw text via a secure HTTPS POST request to your regional Pangram endpoint.

2

Detection

Pangram analyzes the input text and calculates its likelihood of being AI-generated based on trained patterns.

3

Response

The API instantly returns a structured JSON response including a prediction score and a confidence level. This allows for real-time content scoring and immediate action.

Trusted by
Global Brands
CanvasGoogle ClassroomQuoraTremauThe Transparency CompanyNewsguardChatPDFFeaturedHaroHorizonQwotedThe InvigilatorVarsity TutorsVerified My WritingVibegradeWHEWikiEduCanvasGoogle ClassroomQuoraTremauThe Transparency CompanyNewsguardChatPDFFeaturedHaroHorizonQwotedThe InvigilatorVarsity TutorsVerified My WritingVibegradeWHEWikiEdu

Integration options

Python SDK

Download our easy-to-use Python package:

 pip install pangram-sdk
from pangram import Pangram
pangram_client = Pangram()
text = "The quick brown fox jumps over the lazy dog."
result = pangram_client.predict(text)
print(result)

Inference API

Use our inference API directly:

curl 'https://text.api.pangramlabs.com/v3' \
-X POST \
-H 'Content-Type: application/json' \
-H 'x-api-key: my-api-key' \
-d '{
    "text": "The quick brown fox jumps over the lazy dog."
}'

Ensure integrity on your platform

01
Fast Setup

Pangram is quick and easy to implement into your existing tech stack. Sign up and build the same day.

02
Secure

Pangram is SOC 2 certified. Your data is encrypted at rest and in transit with enterprise-grade security.

03
Pro Support

Our team is here to help. Reach out to successfully implement AI detection into your existing workflows.

04
Reliable

Pangram policy-grade accuracy and low false positive rate are third-party verified by leading AI experts.

Get Started

Find my API Key

  • Create an account or log in to the dashboard.

  • Click API in the header bar.

  • Find your API key on the left hand side of the page.

  • Case Studies

    How Quora uses Pangram to handle AI-written answers

    Pangram Labs partners with Quora to take on spammers using AI-generated content to respond to posts with inauthentic, AI-generated answers.

    How Gradpilot uses Pangram to help students.

    Gradpilot uses Pangram to spot inauthentic writing and provide students feedback when they are overreliant on AI for their writing.

    High-volume projects

    If you plan on using more queries than supported in the Pro plan, please reach out. Use our expertise to support your large-scale AI detection projects.

    Research API access

    We grant API credits for noncommercial research projects. Get in touch.

    Flexible pricing options
    depending on your AIdetection needs.

    Pangram is available with different pricing plans to suit your AI detection needs.

    Choose from our tailored plans designed for individuals, professionals, educational institutions, developers, and enterprises.

    Each plan is designed to support the volume of AI scans, features, and integrations you need.