# Teachers Pay Teachers & TES Tracker — Prices, Ranks, Monitor (`yugenox/teachers-pay-teachers-tracker`) Actor

Track Teachers Pay Teachers and TES Resources: prices, sales, ratings, rating counts, grades, subjects, standards and search positions. Monitor mode returns only new or changed resources; keyword-rank mode tracks your store's positions and competitors' share of voice. No login.

- **URL**: https://apify.com/yugenox/teachers-pay-teachers-tracker.md
- **Developed by:** [Yugenox Corp](https://apify.com/yugenox) (community)
- **Categories:** Education, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 resources

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Teachers Pay Teachers & TES Tracker — Prices, Ranks, Monitor

Track teaching resources on **Teachers Pay Teachers (TPT)** and **TES Resources (UK)** in one clean table: price, list price, sale price, rating, **rating count**, grades, subjects, resource types, formats, standards, store and **search position**. Three modes:

- **Resources** — one row per resource from keyword searches, TPT category pages, TPT store front pages and TES shops.
- **Monitor** — returns only **new or changed** resources since your last run: price changes (before/after), sales starting or ending, new ratings (`ratingCountDelta`, a sales-velocity signal because ratings come from buyers), rating and title changes, and new listings in the keywords, categories and stores you watch.
- **Keyword rank tracker** — one row per keyword: the top 24–960 positions, **your store's positions and rank change since last run**, competitors' **share of voice**, and competition stats (median rating count, price spread, free / bundle / on-sale share, distinct stores).

No login, no cookies, no browser.

> **Status, 21 November 2026:** since early November 2026, Teachers Pay Teachers' Cloudflare has answered most runs from Apify's datacenter proxy IPs with a bot check (a "Just a moment…" challenge page) on the first request. This actor never gets around bot checks, so such a run stops at once with 0 resources and only the $0.002 start fee is charged. Some runs still get through and work normally, so try again later.

### Who uses it

- TPT and TES sellers benchmarking rivals' prices, sales, launches and ratings.
- Sellers tracking where their resources rank for their keywords, every day or week.
- Curriculum publishers and agencies running several stores.
- Researchers studying the teacher-created resource market.

### Input

| Field | What it does |
|---|---|
| Mode | Resources, Monitor or Keyword rank |
| Keywords | e.g. `fractions`, `4th grade reading comprehension` (site's default relevance order — what buyers see) |
| Sites | `tpt`, `tes` or both |
| TPT browse categories | e.g. `math/fractions` or a full category link |
| TPT stores | store name or link — front page (~20 resources) + followers + store rating |
| TES shops | shop name or link — newest first |
| Pages per source | 24 resources per TPT page (2 pages = top 48) |
| Max resources | cap for the run |
| Your store(s) | flags your resources in keyword-rank rows |
| Watch name | monitor and rank modes remember the last run under this name |

Example (keyword rank, scheduled daily):

```json
{ "mode": "keywordRank", "keywords": ["fractions", "sight words"], "markets": ["tpt", "tes"], "ownStores": ["your-store-name"], "watchName": "my-keywords" }
```

### Output (one resource row, trimmed)

```json
{
  "market": "tpt",
  "resourceId": "6773034",
  "title": "Beginning fraction worksheets | Identifying Fractions Worksheets",
  "url": "https://www.teacherspayteachers.com/Product/Beginning-fraction-worksheets-Identifying-Fractions-Worksheets-6773034",
  "storeName": "Erin's Classroom Creations",
  "price": 2.75, "listPrice": 2.75, "salePrice": null, "currency": "USD", "onSale": false,
  "isBundle": false, "rating": 4.92, "ratingCount": 49,
  "grades": ["2nd-grade", "3rd-grade", "4th-grade"],
  "subjects": ["fractions", "math"], "resourceTypes": ["homework", "printables", "worksheets"], "formats": ["easel-activities", "pdf"],
  "standards": ["3.NF.A.1", "..."],
  "source": "keyword", "sourceValue": "fractions", "page": 1, "position": 1, "totalResults": 260868
}
```

Keyword-rank rows carry `bestOwnPosition`, `previousBestOwnPosition`, `ownPositions` (with `change`), `newInTop`, `shareOfVoice`, `competition` and `top` (the ranked list).

### Price

Pay only for what you get:

- **$2.50 per 1,000 resources** (resources mode, and each new/changed resource in monitor mode)
- **$0.50 per 1,000 resources checked** in monitor mode (so a quiet day costs pennies)
- **$10 per 1,000 search pages** in keyword-rank mode — one TPT page = 24 positions. 50 keywords × 2 pages = **$1 per run**.
- $0.002 per run start.

Pages the sites refuse are never charged.

### Tips

- Schedule Monitor or Keyword rank daily with a fixed **Watch name**; the first run saves the baseline.
- TPT shows about 1,000 results per keyword at most (≈42 pages).
- TES ratings are shown to the half star; TES keyword search reads its first page (~20 results).
- TPT stores: only the front page is read, so use keywords or categories plus Monitor to catch a rival's new listings.

### FAQ

**Is it legal to scrape Teachers Pay Teachers and TES?** The actor reads only public pages anyone can open without an account, respects each site's robots.txt, and goes slowly. You are responsible for how you use the data; consult a lawyer for your situation.

**Does it access any private data?** No. Only public resource listings and public store names. No logins, buyer data, reviews' authors or personal details.

**Why did a run stop with "bot check"?** When a site answers with a bot check (a Cloudflare challenge page or a CAPTCHA), the actor stops that site at once and never tries to get around it: nothing is retried from another IP. A plain refusal with nothing to solve (for example Cloudflare error 1020) is retried on up to 4 fresh IPs first. Refused pages are never charged, and a run that saved nothing pays only the $0.002 start fee. Try again later.

**Can I track my own store's ranks?** Yes — put your store name in "Your store(s)" and use Keyword rank mode.

# Actor input Schema

## `mode` (type: `string`):

Resources: one row per teaching resource. Monitor: only new or changed resources since your last run with the same watch name (price, sale, rating count, rating, title). Keyword rank: one row per keyword with positions, your store's ranks, rank change, share of voice and competition stats.

## `keywords` (type: `array`):

Search keywords, e.g. "fractions" or "4th grade reading comprehension". Results in the site's default relevance order (the order buyers see).

## `markets` (type: `array`):

tpt = Teachers Pay Teachers (US, prices in USD). tes = TES Resources (UK, prices as listed, usually GBP). Keywords run on every selected site.

## `browsePaths` (type: `array`):

TPT category pages, e.g. "math/fractions" or a full link like https://www.teacherspayteachers.com/browse/math/fractions. Grade filters that are part of the path work too. Not used in keyword-rank mode.

## `storeSlugs` (type: `array`):

TPT store names from the store link (teacherspayteachers.com/store/<name>) or the full link. Reads the store's front page (about 20 resources) plus follower count and store rating.

## `tesShops` (type: `array`):

TES shop names (tes.com/teaching-resources/shop/<name>) or full links. Newest resources first; pages per source applies.

## `pagesPerKeyword` (type: `integer`):

How many result pages to read per keyword, category or TES shop. A TPT page holds 24 resources (2 pages = top 48 positions). TES keyword search reads its first page only; TPT stores only have their front page.

## `maxResources` (type: `integer`):

Maximum resource rows for the whole run (monitor mode: maximum resources checked). Not used in keyword-rank mode.

## `ownStores` (type: `array`):

Your TPT store / TES shop name or link. In keyword-rank mode your resources are flagged with their positions and rank change.

## `watchName` (type: `string`):

Monitor and keyword-rank modes remember the last run under this name. Use a different name per list you track.

## `proxyConfiguration` (type: `object`):

Apify datacenter proxy (included with every plan) is used by default.

## `_noResidential` (type: `boolean`):

Test switch. This actor never uses residential proxies anyway.

## Actor input object example

```json
{
  "mode": "resources",
  "keywords": [
    "fractions"
  ],
  "markets": [
    "tpt"
  ],
  "pagesPerKeyword": 1,
  "maxResources": 20,
  "watchName": "default",
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "_noResidential": true
}
```

# Actor output Schema

## `results` (type: `string`):

All saved rows.

## `run` (type: `string`):

Status and statistics for this run.

## `report` (type: `string`):

RUN_REPORT: how the run ended, counts, pages and charges.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keywords": [
        "fractions"
    ],
    "pagesPerKeyword": 1,
    "maxResources": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("yugenox/teachers-pay-teachers-tracker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "keywords": ["fractions"],
    "pagesPerKeyword": 1,
    "maxResources": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("yugenox/teachers-pay-teachers-tracker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": [
    "fractions"
  ],
  "pagesPerKeyword": 1,
  "maxResources": 20
}' |
apify call yugenox/teachers-pay-teachers-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,yugenox/teachers-pay-teachers-tracker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/61CYYCHaaCjwBJVLa/builds/rWRur08rcl33HBkPU/openapi.json
