Summarize webpage

This endpoint generates a summary of any webpage content from a given URL.

Endpoint

POST /api/v1/summarize-webpage

Parameters

Parameter Type Required Description
url string Yes The webpage URL to summarize
level string No Summary detail level: "short", "balanced" (default), or "extensive"

Response

A successful response will return a JSON object with the following properties:

{
    "data": {
        "url": "https://example.com/article",
        "title": "Article Title",
        "summary": "Detailed summary of the webpage content..."
    }
}

Example

curl https://nobinge.com/api/v1/summarize-webpage \
    -X POST \
    -H "Authorization: Bearer your_token_here" \
    -H "Accept: application/json" \
    -H "Content-Type: application/json" \
    -d '{
    "url": "https://example.com/article",
    "level": "short"
}'
© Nobinge 2024. All rights reserved.