Summarizer Pro

This endpoint leverages advanced AI to analyze long articles, reports, or text blocks and generate concise, accurate summaries. It helps users quickly grasp key points without reading the full content.

Endpoint

POST https://api.zapifyapi.com/v1/{api_token}

Path Parameters

Parameter Type Description
api_token string Required. Your unique API access token for the Summarizer Pro service.

Request Body

The request expects a JSON object.

Key Type Description
text string Required. The long text or article content you want to summarize.

Example Request

cURL

curl -X POST "https://api.zapifyapi.com/v1/YOUR_API_TOKEN" 
     -H "Content-Type: application/json" 
     -d '{
           "text": "Artificial intelligence (AI) is intelligence demonstrated by machines, as opposed to the natural intelligence displayed by humans or animals. Leading AI textbooks define the field as the study of "intelligent agents": any system that perceives its environment and takes actions that maximize its chance of achieving its goals..."
         }'

Node.js

const axios = require("axios");

const payload = {
    text: "Artificial intelligence (AI) is intelligence demonstrated by machines..."
};

axios.post("https://api.zapifyapi.com/v1/YOUR_API_TOKEN", payload)
.then(response => {
    console.log(response.data);
})
.catch(error => {
    console.error(error);
});

Response

Returns a JSON object containing the generated summary and metadata.

{
    "summary": "AI is machine-demonstrated intelligence focused on creating intelligent agents that maximize success in achieving goals, distinct from natural human or animal intelligence.",
    "original_length": 245,
    "summary_length": 142
}