{
  "data": {
    "id": "lfZzHYUqRdxO1yn37",
    "actId": "zos0exOVEp3s2nQVm",
    "userId": "IYgBDiXtHOijAaUel",
    "startedAt": "2026-11-27T04:12:35.339Z",
    "finishedAt": "2026-11-27T04:12:48.771Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI"
    },
    "inputSchema": "{\n  \"title\": \"Teachers Pay Teachers Store & Product Scraper Input\",\n  \"description\": \"Search TpT resources by keyword, browse by grade or subject, fetch product details, or scrape an entire teacher store.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"What to scrape.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"search\",\n        \"byGrade\",\n        \"bySubject\",\n        \"getProduct\",\n        \"getStore\"\n      ],\n      \"enumTitles\": [\n        \"Search resources by keyword\",\n        \"Browse resources by grade level\",\n        \"Browse resources by subject area\",\n        \"Get product details by URL(s)\",\n        \"Get all products from a teacher's store\"\n      ],\n      \"default\": \"search\",\n      \"prefill\": \"search\"\n    },\n    \"searchQuery\": {\n      \"title\": \"Search query\",\n      \"type\": \"string\",\n      \"description\": \"Keyword(s) to search for resources (mode=search).\",\n      \"editor\": \"textfield\",\n      \"default\": \"multiplication worksheets\",\n      \"prefill\": \"multiplication worksheets\"\n    },\n    \"startUrls\": {\n      \"title\": \"Start URLs\",\n      \"type\": \"array\",\n      \"description\": \"TpT product or store URLs (modes: getProduct, getStore). Example: https://www.teacherspayteachers.com/Product/Multiplication-Worksheets-4061393\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"grade\": {\n      \"title\": \"Grade level\",\n      \"type\": \"string\",\n      \"description\": \"Filter by grade level. Required for mode=byGrade.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"\",\n        \"PreK\",\n        \"Kindergarten\",\n        \"1st\",\n        \"2nd\",\n        \"3rd\",\n        \"4th\",\n        \"5th\",\n        \"6th\",\n        \"7th\",\n        \"8th\",\n        \"9th\",\n        \"10th\",\n        \"11th\",\n        \"12th\",\n        \"Higher Education\",\n        \"Adult Education\",\n        \"Homeschool\",\n        \"Not Grade Specific\"\n      ],\n      \"enumTitles\": [\n        \"Any grade\",\n        \"Pre-K\",\n        \"Kindergarten\",\n        \"1st Grade\",\n        \"2nd Grade\",\n        \"3rd Grade\",\n        \"4th Grade\",\n        \"5th Grade\",\n        \"6th Grade\",\n        \"7th Grade\",\n        \"8th Grade\",\n        \"9th Grade\",\n        \"10th Grade\",\n        \"11th Grade\",\n        \"12th Grade\",\n        \"Higher Education\",\n        \"Adult Education\",\n        \"Homeschool\",\n        \"Not Grade Specific\"\n      ],\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"subject\": {\n      \"title\": \"Subject area\",\n      \"type\": \"string\",\n      \"description\": \"Filter by subject area. Required for mode=bySubject.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"\",\n        \"Arts & Music\",\n        \"English Language Arts\",\n        \"Foreign Language\",\n        \"Math\",\n        \"Science\",\n        \"Social Studies - History\",\n        \"Special Education\",\n        \"Holidays/Seasonal\"\n      ],\n      \"enumTitles\": [\n        \"Any subject\",\n        \"Arts & Music\",\n        \"English Language Arts\",\n        \"Foreign Language / World Languages\",\n        \"Math\",\n        \"Science\",\n        \"Social Studies / History\",\n        \"Special Education\",\n        \"Holidays & Seasonal\"\n      ],\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"format\": {\n      \"title\": \"Resource format\",\n      \"type\": \"string\",\n      \"description\": \"Filter by resource format/file type.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"\",\n        \"PDF\",\n        \"Google Apps\",\n        \"PowerPoint\",\n        \"Word Document\",\n        \"Excel Spreadsheets\",\n        \"Easel Activity\",\n        \"Interactive Notebooks\",\n        \"Lesson Plans\",\n        \"Task Cards\",\n        \"Tests\",\n        \"Worksheets\",\n        \"Workbooks\"\n      ],\n      \"enumTitles\": [\n        \"Any format\",\n        \"PDF / Printables\",\n        \"Google Apps\",\n        \"PowerPoint Presentations\",\n        \"Microsoft Word Document\",\n        \"Microsoft Excel Spreadsheets\",\n        \"Easel Activity\",\n        \"Interactive Notebooks\",\n        \"Lesson Plans\",\n        \"Task Cards\",\n        \"Tests / Assessments\",\n        \"Worksheets\",\n        \"Workbooks\"\n      ],\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"isFree\": {\n      \"title\": \"Free resources only\",\n      \"type\": \"boolean\",\n      \"description\": \"When enabled, only return free resources.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"minRating\": {\n      \"title\": \"Min rating\",\n      \"type\": \"number\",\n      \"description\": \"Minimum average rating (TpT uses 1–5 star scale).\",\n      \"minimum\": 0,\n      \"maximum\": 5\n    },\n    \"minReviews\": {\n      \"title\": \"Min reviews\",\n      \"type\": \"integer\",\n      \"description\": \"Minimum number of reviews/ratings.\",\n      \"minimum\": 0,\n      \"maximum\": 1000000\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Maximum number of product records to return.\",\n      \"minimum\": 1,\n      \"maximum\": 5000,\n      \"default\": 24,\n      \"prefill\": 24\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# Teachers Pay Teachers Resource & Store Catalog Extractor\n\nTeachers Pay Teachers is a marketplace where teachers list lesson plans, worksheets and classroom materials for sale or free download. This actor pulls structured product data by keyword search, by grade level or subject browse, by direct product URL, or by crawling an entire seller's store.\n\n## What this actor does\n\n- Searches TpT resources by keyword, with optional grade, subject, format, price and rating filters\n- Browses the catalog by grade level (Pre-K through 12th, Higher Education, Homeschool, etc.)\n- Browses the catalog by subject area (Math, English Language Arts, Science, and more)\n- Fetches full product details for one or more specific product URLs\n- Crawls every product listed in a teacher's store given the store URL\n- Empty fields are omitted from records\n\n## Output per product\n\n- `productId` — TpT numeric product ID\n- `title` — resource title\n- `description` — product description (available on product detail pages)\n- `price` — price in USD (`0` for free resources)\n- `isFree` — whether the resource is free\n- `currency` — currency code\n- `rating` — average rating on TpT's 1–5 star scale\n- `ratingCount` — number of ratings\n- `seller` — teacher/seller display name\n- `sellerUrl` — seller's TpT store URL\n- `thumbnailUrl` — product preview image URL\n- `url` — product page URL\n- `releaseDate` — date the product was listed\n- `grades` — grade levels the resource targets (when available)\n- `subjects` — subject areas the resource covers (when available)\n- `formats` — file formats included (when available)\n- `recordType` — always `product`\n- `scrapedAt` — timestamp of extraction\n\n`byGrade`, `bySubject`, `getProduct` and `getStore`, and `search` whenever `isFree` is off, all fetch the product's own detail page and can populate every field above. `search` with `isFree` enabled skips the detail-page fetch for speed and only returns `productId`, `title`, `url` and `isFree` per product.\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `search` | `search`, `byGrade`, `bySubject`, `getProduct` or `getStore` |\n| `searchQuery` | string | `multiplication worksheets` | Keyword(s) to search (mode=search) |\n| `startUrls` | array | `[]` | TpT product or store URLs (modes=getProduct, getStore) |\n| `grade` | string | – (any) | Grade level filter; required for `byGrade` |\n| `subject` | string | – (any) | Subject area filter; required for `bySubject` |\n| `format` | string | – (any) | Resource format/file type filter |\n| `isFree` | boolean | `false` | Only return free resources |\n| `minRating` | number | – | Minimum average rating (0–5) |\n| `minReviews` | integer | – | Minimum number of ratings/reviews |\n| `maxItems` | integer | `24` | Maximum product records to return (1–5000) |\n\n### Example: keyword search with grade filter\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchQuery\": \"multiplication worksheets\",\n  \"grade\": \"3rd\",\n  \"maxItems\": 24\n}\n```\n\n### Example: browse a subject area\n\n```json\n{\n  \"mode\": \"bySubject\",\n  \"subject\": \"Math\",\n  \"minRating\": 4.5,\n  \"maxItems\": 50\n}\n```\n\n### Example: fetch specific products\n\n```json\n{\n  \"mode\": \"getProduct\",\n  \"startUrls\": [\n    \"https://www.teacherspayteachers.com/Product/Multiplication-Color-By-Number-Worksheets-Fact-Fluency-4061393\"\n  ]\n}\n```\n\n### Example: crawl a teacher's store\n\n```json\n{\n  \"mode\": \"getStore\",\n  \"startUrls\": [\"https://www.teacherspayteachers.com/Store/Games-4-Learning\"],\n  \"maxItems\": 100\n}\n```\n\n## Use cases\n\n- **Curriculum research** — find the best-rated worksheets or lesson plans for a specific grade and topic\n- **Pricing benchmarks** — compare prices and ratings for similar resources before publishing your own\n- **Seller monitoring** — track a competing or favorite teacher's full catalog via `getStore`\n- **Free-resource roundups** — filter with `isFree` to build lists of no-cost classroom materials\n- **Format-specific sourcing** — pull only PDFs, Google Apps or PowerPoint resources for a given subject\n\n## FAQ\n\n**Is this affiliated with Teachers Pay Teachers?** No. This is an independent catalog extraction tool, not affiliated with or endorsed by Teachers Pay Teachers.\n\n**Do I need a TpT account?** No. Every mode reads publicly visible product and store pages.\n\n**Why do some products have `grades`, `subjects` or `formats` and others don't?** Those fields are populated from the product's own detail page metadata, when the page exposes them. The one exception is `search` with `isFree` enabled, which skips the detail-page fetch entirely and only returns `productId`, `title`, `url` and `isFree`.\n\n**What rating scale does TpT use?** A 1–5 star scale; `rating` and `ratingCount` come directly from each product's published rating.\n\n**What's the difference between `byGrade`/`bySubject` and `search`?** `byGrade` and `bySubject` browse TpT's catalog pages for a single grade or subject with no keyword required; `search` runs a keyword query and accepts grade/subject as additional filters.\n\n**Can I combine multiple filters at once?** `isFree`, `minRating` and `minReviews` apply together in every mode. `grade` narrows results in `search` and `byGrade`; `subject` narrows results in `search` and `bySubject`; `format` only narrows results in `search`. Setting `grade` in `bySubject` mode (or `subject` in `byGrade` mode) has no effect.\n\n**How many products can one run return?** Up to `maxItems`, capped at 5000 per run.\n\n**Does `getStore` return every product in a store?** It pages through the store's full catalog until it runs out of products or hits `maxItems`, whichever comes first.\n\n**Why is `price` sometimes `0`?** TpT lists many free resources alongside paid ones; a `0` price means the resource is free, and `isFree` is set to `true`.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "teachers-pay-teachers-resource-and-store-catalog",
      "title": "Teachers Pay Teachers Resource & Store Catalog Extractor",
      "description": "Search Teachers Pay Teachers resources by keyword, grade or subject, fetch product pricing and ratings, or pull every listing from a teacher's store.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# Teachers Pay Teachers Resource & Store Catalog Extractor\n\nTeachers Pay Teachers is a marketplace where teachers list lesson plans, worksheets and classroom materials for sale or free download. This actor pulls structured product data by keyword search, by grade level or subject browse, by direct product URL, or by crawling an entire seller's store.\n\n## What this actor does\n\n- Searches TpT resources by keyword, with optional grade, subject, format, price and rating filters\n- Browses the catalog by grade level (Pre-K through 12th, Higher Education, Homeschool, etc.)\n- Browses the catalog by subject area (Math, English Language Arts, Science, and more)\n- Fetches full product details for one or more specific product URLs\n- Crawls every product listed in a teacher's store given the store URL\n- Empty fields are omitted from records\n\n## Output per product\n\n- `productId` — TpT numeric product ID\n- `title` — resource title\n- `description` — product description (available on product detail pages)\n- `price` — price in USD (`0` for free resources)\n- `isFree` — whether the resource is free\n- `currency` — currency code\n- `rating` — average rating on TpT's 1–5 star scale\n- `ratingCount` — number of ratings\n- `seller` — teacher/seller display name\n- `sellerUrl` — seller's TpT store URL\n- `thumbnailUrl` — product preview image URL\n- `url` — product page URL\n- `releaseDate` — date the product was listed\n- `grades` — grade levels the resource targets (when available)\n- `subjects` — subject areas the resource covers (when available)\n- `formats` — file formats included (when available)\n- `recordType` — always `product`\n- `scrapedAt` — timestamp of extraction\n\n`byGrade`, `bySubject`, `getProduct` and `getStore`, and `search` whenever `isFree` is off, all fetch the product's own detail page and can populate every field above. `search` with `isFree` enabled skips the detail-page fetch for speed and only returns `productId`, `title`, `url` and `isFree` per product.\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `search` | `search`, `byGrade`, `bySubject`, `getProduct` or `getStore` |\n| `searchQuery` | string | `multiplication worksheets` | Keyword(s) to search (mode=search) |\n| `startUrls` | array | `[]` | TpT product or store URLs (modes=getProduct, getStore) |\n| `grade` | string | – (any) | Grade level filter; required for `byGrade` |\n| `subject` | string | – (any) | Subject area filter; required for `bySubject` |\n| `format` | string | – (any) | Resource format/file type filter |\n| `isFree` | boolean | `false` | Only return free resources |\n| `minRating` | number | – | Minimum average rating (0–5) |\n| `minReviews` | integer | – | Minimum number of ratings/reviews |\n| `maxItems` | integer | `24` | Maximum product records to return (1–5000) |\n\n### Example: keyword search with grade filter\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchQuery\": \"multiplication worksheets\",\n  \"grade\": \"3rd\",\n  \"maxItems\": 24\n}\n```\n\n### Example: browse a subject area\n\n```json\n{\n  \"mode\": \"bySubject\",\n  \"subject\": \"Math\",\n  \"minRating\": 4.5,\n  \"maxItems\": 50\n}\n```\n\n### Example: fetch specific products\n\n```json\n{\n  \"mode\": \"getProduct\",\n  \"startUrls\": [\n    \"https://www.teacherspayteachers.com/Product/Multiplication-Color-By-Number-Worksheets-Fact-Fluency-4061393\"\n  ]\n}\n```\n\n### Example: crawl a teacher's store\n\n```json\n{\n  \"mode\": \"getStore\",\n  \"startUrls\": [\"https://www.teacherspayteachers.com/Store/Games-4-Learning\"],\n  \"maxItems\": 100\n}\n```\n\n## Use cases\n\n- **Curriculum research** — find the best-rated worksheets or lesson plans for a specific grade and topic\n- **Pricing benchmarks** — compare prices and ratings for similar resources before publishing your own\n- **Seller monitoring** — track a competing or favorite teacher's full catalog via `getStore`\n- **Free-resource roundups** — filter with `isFree` to build lists of no-cost classroom materials\n- **Format-specific sourcing** — pull only PDFs, Google Apps or PowerPoint resources for a given subject\n\n## FAQ\n\n**Is this affiliated with Teachers Pay Teachers?** No. This is an independent catalog extraction tool, not affiliated with or endorsed by Teachers Pay Teachers.\n\n**Do I need a TpT account?** No. Every mode reads publicly visible product and store pages.\n\n**Why do some products have `grades`, `subjects` or `formats` and others don't?** Those fields are populated from the product's own detail page metadata, when the page exposes them. The one exception is `search` with `isFree` enabled, which skips the detail-page fetch entirely and only returns `productId`, `title`, `url` and `isFree`.\n\n**What rating scale does TpT use?** A 1–5 star scale; `rating` and `ratingCount` come directly from each product's published rating.\n\n**What's the difference between `byGrade`/`bySubject` and `search`?** `byGrade` and `bySubject` browse TpT's catalog pages for a single grade or subject with no keyword required; `search` runs a keyword query and accepts grade/subject as additional filters.\n\n**Can I combine multiple filters at once?** `isFree`, `minRating` and `minReviews` apply together in every mode. `grade` narrows results in `search` and `byGrade`; `subject` narrows results in `search` and `bySubject`; `format` only narrows results in `search`. Setting `grade` in `bySubject` mode (or `subject` in `byGrade` mode) has no effect.\n\n**How many products can one run return?** Up to `maxItems`, capped at 5000 per run.\n\n**Does `getStore` return every product in a store?** It pages through the store's full catalog until it runs out of products or hits `maxItems`, whichever comes first.\n\n**Why is `price` sometimes `0`?** TpT lists many free resources alongside paid ones; a `0` price means the resource is free, and `isFree` is set to `true`.\n",
      "input": {
        "title": "Teachers Pay Teachers Store & Product Scraper Input",
        "description": "Search TpT resources by keyword, browse by grade or subject, fetch product details, or scrape an entire teacher store.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "What to scrape.",
            "editor": "select",
            "enum": [
              "search",
              "byGrade",
              "bySubject",
              "getProduct",
              "getStore"
            ],
            "enumTitles": [
              "Search resources by keyword",
              "Browse resources by grade level",
              "Browse resources by subject area",
              "Get product details by URL(s)",
              "Get all products from a teacher's store"
            ],
            "default": "search",
            "prefill": "search"
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Keyword(s) to search for resources (mode=search).",
            "editor": "textfield",
            "default": "multiplication worksheets",
            "prefill": "multiplication worksheets"
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "TpT product or store URLs (modes: getProduct, getStore). Example: https://www.teacherspayteachers.com/Product/Multiplication-Worksheets-4061393",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "grade": {
            "title": "Grade level",
            "type": "string",
            "description": "Filter by grade level. Required for mode=byGrade.",
            "editor": "select",
            "enum": [
              "",
              "PreK",
              "Kindergarten",
              "1st",
              "2nd",
              "3rd",
              "4th",
              "5th",
              "6th",
              "7th",
              "8th",
              "9th",
              "10th",
              "11th",
              "12th",
              "Higher Education",
              "Adult Education",
              "Homeschool",
              "Not Grade Specific"
            ],
            "enumTitles": [
              "Any grade",
              "Pre-K",
              "Kindergarten",
              "1st Grade",
              "2nd Grade",
              "3rd Grade",
              "4th Grade",
              "5th Grade",
              "6th Grade",
              "7th Grade",
              "8th Grade",
              "9th Grade",
              "10th Grade",
              "11th Grade",
              "12th Grade",
              "Higher Education",
              "Adult Education",
              "Homeschool",
              "Not Grade Specific"
            ],
            "default": "",
            "prefill": ""
          },
          "subject": {
            "title": "Subject area",
            "type": "string",
            "description": "Filter by subject area. Required for mode=bySubject.",
            "editor": "select",
            "enum": [
              "",
              "Arts & Music",
              "English Language Arts",
              "Foreign Language",
              "Math",
              "Science",
              "Social Studies - History",
              "Special Education",
              "Holidays/Seasonal"
            ],
            "enumTitles": [
              "Any subject",
              "Arts & Music",
              "English Language Arts",
              "Foreign Language / World Languages",
              "Math",
              "Science",
              "Social Studies / History",
              "Special Education",
              "Holidays & Seasonal"
            ],
            "default": "",
            "prefill": ""
          },
          "format": {
            "title": "Resource format",
            "type": "string",
            "description": "Filter by resource format/file type.",
            "editor": "select",
            "enum": [
              "",
              "PDF",
              "Google Apps",
              "PowerPoint",
              "Word Document",
              "Excel Spreadsheets",
              "Easel Activity",
              "Interactive Notebooks",
              "Lesson Plans",
              "Task Cards",
              "Tests",
              "Worksheets",
              "Workbooks"
            ],
            "enumTitles": [
              "Any format",
              "PDF / Printables",
              "Google Apps",
              "PowerPoint Presentations",
              "Microsoft Word Document",
              "Microsoft Excel Spreadsheets",
              "Easel Activity",
              "Interactive Notebooks",
              "Lesson Plans",
              "Task Cards",
              "Tests / Assessments",
              "Worksheets",
              "Workbooks"
            ],
            "default": "",
            "prefill": ""
          },
          "isFree": {
            "title": "Free resources only",
            "type": "boolean",
            "description": "When enabled, only return free resources.",
            "default": false,
            "prefill": false
          },
          "minRating": {
            "title": "Min rating",
            "type": "number",
            "description": "Minimum average rating (TpT uses 1–5 star scale).",
            "minimum": 0,
            "maximum": 5
          },
          "minReviews": {
            "title": "Min reviews",
            "type": "integer",
            "description": "Minimum number of reviews/ratings.",
            "minimum": 0,
            "maximum": 1000000
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Maximum number of product records to return.",
            "minimum": 1,
            "maximum": 5000,
            "default": 24,
            "prefill": 24
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Teachers Pay Teachers Resource & Store Catalog Extractor Output",
        "description": "Product records from Teachers Pay Teachers with price, rating, seller, grade, subject and format details.",
        "properties": {
          "results": {
            "type": "string",
            "title": "TpT products",
            "description": "Dataset containing all scraped TpT product records.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Products",
              "transformation": {
                "fields": [
                  "title",
                  "seller",
                  "price",
                  "isFree",
                  "rating",
                  "ratingCount",
                  "url"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.1",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    }
  }
}