{
  "openapi": "3.0.1",
  "info": {
    "title": "URL to Markdown — Bulk Page Text, Headings & Links for RAG",
    "description": "Turn a list of page URLs into clean Markdown and text with title, headings, links and a content hash, ready for LLM, RAG or content audits. Fetches only the URLs you list (no runaway crawl). $3 per 1,000 pages + $0.001 per startup unit, usage included.",
    "version": "0.2",
    "x-build-id": "ryvNM6XJdnN5M0dHq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/peerless_columbine~independent-bulk-content-crawler/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-peerless_columbine-independent-bulk-content-crawler",
        "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/peerless_columbine~independent-bulk-content-crawler/runs": {
      "post": {
        "operationId": "runs-sync-peerless_columbine-independent-bulk-content-crawler",
        "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/peerless_columbine~independent-bulk-content-crawler/run-sync": {
      "post": {
        "operationId": "run-sync-peerless_columbine-independent-bulk-content-crawler",
        "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",
        "required": [
          "startUrls"
        ],
        "properties": {
          "startUrls": {
            "title": "Start URLs",
            "minItems": 0,
            "maxItems": 100000,
            "type": "array",
            "description": "List of pages to fetch, one URL per item: full public http(s) URLs, bare domains (fetched as the https home page) or internationalized domains. Only these exact pages are fetched - links are not followed, so list every page you need. Duplicates are skipped; robots.txt is respected; non-standard ports and private/local hosts are rejected. Example: `[\"https://docs.python.org/3/library/urllib.error.html\", \"example.com\"]`.",
            "items": {
              "type": "string"
            },
            "default": null
          },
          "maxConcurrency": {
            "title": "maxConcurrency",
            "minimum": 1,
            "maximum": 64,
            "type": "integer",
            "description": "Leave at default unless tuning: number of pages fetched in parallel. Allowed range: 1–64.",
            "default": 16
          },
          "maxRequests": {
            "title": "maxRequests",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Leave at default unless tuning: maximum HTTP requests for the whole run, counting robots.txt fetches and redirects. When reached, remaining pages are reported as not fetched. Allowed range: 1–1,000,000.",
            "default": 30000
          },
          "maxPages": {
            "title": "maxPages",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of unique start URLs to process; extra URLs beyond this cap are skipped (and not billed). Allowed range: 1–100,000.",
            "default": 10000
          },
          "maxBodyBytes": {
            "title": "maxBodyBytes",
            "minimum": 1024,
            "maximum": 10000000,
            "type": "integer",
            "description": "Leave at default unless tuning: maximum HTML size downloaded per page, in bytes; larger pages are cut and marked partial. Allowed range: 1024–10,000,000.",
            "default": 2000000
          },
          "maxTextChars": {
            "title": "maxTextChars",
            "minimum": 100,
            "maximum": 2000000,
            "type": "integer",
            "description": "Maximum characters of extracted text (and Markdown) kept per page; longer content is truncated and the row is marked partial with the limit listed in `caps`. Allowed range: 100–2,000,000.",
            "default": 500000
          },
          "maxRedirects": {
            "title": "maxRedirects",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Leave at default unless tuning: maximum HTTP redirects followed per page (and per robots.txt). Allowed range: 0–10.",
            "default": 5
          },
          "pageTimeoutSecs": {
            "title": "pageTimeoutSecs",
            "minimum": 1,
            "maximum": 120,
            "type": "integer",
            "description": "Leave at default unless tuning: time budget per page in seconds, including its robots.txt check and redirects. Allowed range: 1–120.",
            "default": 40
          },
          "runTimeoutSecs": {
            "title": "runTimeoutSecs",
            "minimum": 1,
            "maximum": 3600,
            "type": "integer",
            "description": "Total time budget for fetching in seconds; pages not finished by then are reported as not fetched. Raise it for large URL lists. Allowed range: 1–3600.",
            "default": 240
          },
          "fakeIpDohFallback": {
            "title": "Clash fakeIP DoH fallback",
            "type": "boolean",
            "description": "Advanced, leave as is: only matters when the machine's DNS returns fake proxy IPs (e.g. a local Clash \"fakeIP\" setup); then hostnames are resolved via Cloudflare DNS-over-HTTPS instead. No effect on normal Apify runs.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}