{
  "openapi": "3.0.1",
  "info": {
    "title": "Article Summarizer & Web Page Summarizer - AI Text Summarizer",
    "description": "AI summarizer for URLs, articles or your own text: TL;DR, bullets or executive summary, plus key points, topics, sentiment and keywords. Any language, JavaScript sites. No API key. $6/1,000.",
    "version": "0.1",
    "x-build-id": "bejdXyZokWdldDwuk"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tidytools~web-page-summarizer/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tidytools-web-page-summarizer",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/tidytools~web-page-summarizer/runs": {
      "post": {
        "operationId": "runs-sync-tidytools-web-page-summarizer",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/tidytools~web-page-summarizer/run-sync": {
      "post": {
        "operationId": "run-sync-tidytools-web-page-summarizer",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "urlsText": {
            "title": "URLs or domains",
            "type": "string",
            "description": "Main input (fill this, or `urls` / `texts` / `datasetId`). Articles, blog posts, product pages, documentation or any web page. One per line (bare domains such as stripe.com work too). A line that is not a URL becomes one free error row; the rest of the run continues."
          },
          "urls": {
            "title": "URLs (request list, optional)",
            "type": "array",
            "description": "Same as \"URLs or domains\", in Apify's request list format (also accepts a link to a text file with URLs). Kept for existing integrations; new integrations should use \"urlsText\".",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "texts": {
            "title": "Texts to summarize (optional)",
            "type": "array",
            "description": "Your own texts instead of (or besides) URLs: articles, reviews, transcripts, emails. Each text is one item, charged like one page.",
            "items": {
              "type": "string"
            }
          },
          "style": {
            "title": "Summary style",
            "enum": [
              "one-line",
              "paragraph",
              "bullets",
              "tldr",
              "executive"
            ],
            "type": "string",
            "description": "One sentence, a short paragraph, 4–7 bullet points, a TL;DR (1–2 sentences) or an executive summary (bottom line + key facts). Values: one-line = One line; paragraph = Paragraph; bullets = Bullet points; tldr = TL;DR; executive = Executive summary.",
            "default": "paragraph"
          },
          "maxWords": {
            "title": "Max words",
            "minimum": 10,
            "maximum": 500,
            "type": "integer",
            "description": "Upper limit for the summary length (one-line summaries are capped at 40 words, TL;DR at 50).",
            "default": 80
          },
          "extras": {
            "title": "Insights (included in the price)",
            "type": "array",
            "description": "Extra fields returned with the summary in the same AI call: key points (list), topic tags, sentiment (positive / neutral / negative / mixed) and keywords.",
            "items": {
              "type": "string",
              "enum": [
                "keyPoints",
                "topics",
                "sentiment",
                "keywords"
              ],
              "enumTitles": [
                "Key points",
                "Topic tags",
                "Sentiment",
                "Keywords"
              ]
            }
          },
          "evidence": {
            "title": "Supporting quotes (included in the price)",
            "type": "boolean",
            "description": "Also return 1–3 short quotes from the page that support the summary, in the same AI call. Every quote is checked against the page text; quotes that are not really on the page are removed (counted in `evidenceDropped`). Not available for long pages summarized in deep mode.",
            "default": false
          },
          "outputLanguage": {
            "title": "Output language (optional)",
            "type": "string",
            "description": "Write the summary in this language, e.g. English, Spanish, Japanese, Traditional Chinese. Empty = same language as the page."
          },
          "focus": {
            "title": "Focus (optional)",
            "type": "string",
            "description": "What the summary should concentrate on, e.g. \"pricing and plans\" or \"key findings\"."
          },
          "analysisDepth": {
            "title": "Long pages",
            "enum": [
              "standard",
              "deep"
            ],
            "type": "string",
            "description": "Standard reads the first 32,000 characters of each page (about 5,000 words). Deep summarizes longer pages in full: section by section, then combined (up to about 240,000 characters). Deep costs $12 / 1,000 only for pages that are actually longer than one pass; shorter pages keep the standard price.",
            "default": "standard"
          },
          "datasetId": {
            "title": "Dataset ID (optional)",
            "type": "string",
            "description": "Summarize the output of another Actor run: URLs are read as pages, other values (e.g. article bodies, reviews) are summarized as text."
          },
          "datasetField": {
            "title": "Dataset field",
            "type": "string",
            "description": "Field to use, e.g. \"url\" or \"text\" (dot paths work). Empty = the first URL field found, else the first long text field."
          },
          "mode": {
            "title": "Page fetching (HTTP or browser)",
            "enum": [
              "auto",
              "fast",
              "browser"
            ],
            "type": "string",
            "description": "\"Auto\" reads pages over plain HTTP and switches to a real browser for sites that block it or need JavaScript. Values: auto = Auto (recommended); fast = Fast (HTTP only); browser = Browser (JavaScript rendering).",
            "default": "auto"
          },
          "maxConcurrency": {
            "title": "Parallel pages",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many pages are summarized at the same time.",
            "default": 5
          },
          "httpVia": {
            "title": "Plain HTTP requests from",
            "enum": [
              "auto",
              "backend",
              "direct",
              "vm"
            ],
            "type": "string",
            "description": "Some sites block requests from data centers. Auto retries from a second network before falling back to a real browser. If both are refused, Auto also tries our second server (Oracle, different IP) before a real browser.",
            "default": "auto"
          },
          "itemTimeoutSecs": {
            "title": "Time limit per item (seconds)",
            "minimum": 0,
            "maximum": 900,
            "type": "integer",
            "description": "A page or text that takes longer (reading + AI) is stopped and returned as a free error row with errorType \"timeout\". Empty = 180 s (600 s with deep analysis); 0 = no limit."
          },
          "proxyConfiguration": {
            "title": "Proxy (optional)",
            "type": "object",
            "description": "Only used for requests sent from Apify's network. Apify proxy usage is billed to your Apify account."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}