logo
Premium Feature Endpoint
Multi Claim Detection
POST

/custom/api/detect/claims

Headers

Authorizationrequired
string

Input the Authorization Bearer Token to authorize your API request.

Body

blog
string

This input field requires the user to input the blog for detecting the claims.

url
url

This input field requires the user to input the blog for detecting the claims.

Example: ”https://www.capitalism.com/nerdwallet/”

Response

status
string

Indicates whether the call was successful. It prompts success if working, otherwise not.

copies
object

The detected claims.

message
string

This information is attached to the call and offers meaningful details when errors occur.

credits_used
number

This field informs you about the credits consumed for this particular request. It varies on the generated content.

curl --location --request POST 'https://api-az.longshot.ai/custom/api/detect/claims'       
--header 'Content-Type: application/json'       
--header 'Authorization: Bearer <token>' 
--data-raw '{
  "blog": "",
  "url": ""
}'                                   
{
  "copies": [
    {
      "content": "<Detected Claims>"
    }
  ],
  "status": "success",
  "message": "Generated successfully",
  "credits_used": "<Credits>"
}