π‘Live Analysis
Return data in a single HTTP request
Please note: Analyzing an URL is still in beta and could lead to inaccurate content extraction that could corrupt your analysis.
Analyze a text or an URL
Analyze a text or URL
POST https://gptradar.com/api/analysis/live/
This endpoint will tell you if an AI wrote your input or not.
The endpoint takes in input a text or, alternatively, an url.
If an url is passed, GPTRadar will try to visit the page and extract the main content of the page.
Headers
Authorization
String
Api-KeyYOUR-API-KEY
Request Body
text*
string
The text you want to analyze
url*
string
A valid URL
{
"id": "78905c72-bd93-43d0-9d3f-67a7e2639450",
"results": {
"is_ai": true,
"is_human": false,
"outcome": "Likely AI Generated - Large (ChatGPT/Davinci/Curie)",
"burstiness": {
"burst_mean": 4.392312690119366,
"burst_var": 8.762827450180968,
"burst": 11.12
},
"avg_perplexity": 5.341281249388172,
"accuracy": 74.41,
"language": "en"
},
"tokens": 266
}This endpoint requires authentication. You have to include your API key in the header of this request.
{
"detail": "Invalid payload. You have to send a text OR an URL."
}There are various reasons this could happen:
You don't have enough credits to perform this action
Number of allowed tokens exceeded
The endpoint takes text with tokens greater than 100 and smaller than 4,000.
URL is not valid
Extraction service returned no content
Last updated
Was this helpful?