Tes API endpoint
Use Crawlora's Search Tes teaching resources API to extract supported public Tes data as structured JSON. This page includes request parameters, cURL examples, response schema, error behavior, credit cost, and a Playground link for testing before integration.
/tes/resources/searchSearches Tes's (tes.com) teaching-resources marketplace. Returns normalized listing facts (title, author, price, rating, downloads) -- not full listing descriptions -- out of respect for Tes's general reproduction/republication restriction. query is optional: omit it (alone, or combined with key_stage/subject/on_sale) for pure filter-driven or fully unfiltered browsing, matching Tes's own search API. sort mirrors the real search page's own Sort by dropdown; key_stage and subject mirror its left-hand Refine by filters (both closed, validated enums taken from Tes's own facet taxonomy, and always resolved against Tes's own single GB-taxonomy regardless of country). country controls result currency/localisation only (confirmed live for all seven values); it does not change which key_stage/subject values are valid. Developers commonly use this endpoint for data enrichment, monitoring, research dashboards, internal automation, and agent-native workflows that need repeatable structured public web data. Authentication uses the documented Crawlora headers, and usage is metered with the credit cost shown on this page.
Request parameters are generated from the active endpoint catalog. Required values must be sent before Crawlora can call the upstream public web data source.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| query | string | No | Search keywords -- omit for filter-driven or unfiltered browsing | ||
| country | string | No | Storefront market Allowed values: GB, US, AU, IE, CA, NZ, UN | ||
| page | integer | No | One-based page Minimum: 1. Maximum: 500. | ||
| page_size | integer | No | Results per page Minimum: 1. Maximum: 50. | ||
| sort | string | No | Sort order Allowed values: relevance, newest, highest_rated, lowest_price | ||
| key_stage | string | No | Filter by age range Allowed values: 3-5, 5-7, 7-11, 11-14, 14-16, 16+, age_not_applicable | ||
| subject | string | No | Filter by subject -- one of Tes's own top-level subject facet labels; see the endpoint markdown for the full list (two of the 29 values contain a comma, which is why this parameter is not expressed as a Swagger Enums() list) Allowed values: | ||
| on_sale | boolean | No | Filter to discounted resources only | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/tes/resources/search?query=coffee&country=us&page=1&sort=relevance&key_stage=3-5&subject=&on_sale=true" \ -H "x-api-key: $CRAWLORA_API_KEY"
Send your scraping API key in the x-api-key header. Use the console API Keys page to rotate or select the active key.
Endpoint usage is metered in credits. The plan prices, included credits, limits, and overage rates below match the active backend billing configuration.
| Plan | Price | Included credits | Daily cap | Rate limit | Overage |
|---|---|---|---|---|---|
| Free | $0/mo | 2,000 | 500 daily credits | 5/min | No overage |
| Starter | $9/mo | 20,000 | 5,000 daily credits | 15/min | $0.75/1,000 overage credits when enabled |
| Growth | $29/mo | 100,000 | 25,000 daily credits | 45/min | $0.45/1,000 overage credits when enabled |
| Pro | $79/mo | 400,000 | No daily cap | 120/min | $0.30/1,000 overage credits |
| Business | $199/mo | 1,200,000 | No daily cap | 300/min | $0.20/1,000 overage credits |
| Enterprise | $499/mo | 5,000,000 | No daily cap | 1,000/min | $0.12/1,000 overage credits |
This endpoint is executed through Crawlora's managed scraping infrastructure.
- `total` is the upstream's true result count across all pages, not just the current page's length. - `price` is `0` and `free` is `true` for free resources. - `resource_types` and `file_types` reflect Tes's own resource-type/file-type taxonomy and may be empty. - `is_bundle` marks a listing that packages multiple resources under one price (Tes's own "Bundle" badge); `bundle_resource_count` and `bundle_original_price` are only meaningful when `is_bundle` is `true`. - `license` is Tes's own short licence code: one of `Paid`, `CC-BY-SA`, `CC-BY-ND`, `CC-BY`. Example response: ```json { "code": 200, "msg": "OK", "data": { "query": "phonics", "country": "GB", "page": 1, "page_size": 20, "total": 38150, "resources": [ { "id": "13463100", "title": "Phonics Bunting", "url": "https://www.tes.com/teaching-resource/phonics-bunting-13463100", "author": "joannecrozierharbottle", "price": 1, "currency": "GBP", "free": false, "on_sale": false, "rating": 0, "rating_count": 0, "downloads": 143, "resource_types": ["Visual aid/Display"], "file_types": ["Image"], "thumbnail_url": "https://d1e4pidl3fu268.cloudfront.net/example/preview.png", "first_published": "2026-05-03T21:00:33.987Z", "last_published": "2026-05-03T21:00:33.987Z", "is_bundle": false, "license": "Paid" } ] } } ```
Crawlora does not silently return bad data when the upstream page cannot be used.
| Status | Common failure case |
|---|---|
| 400 | Invalid input or missing required parameter |
| 429 | Plan or endpoint rate limit exceeded |
| 500 | Internal execution error |
| 502 | Upstream platform failed, returned unusable HTML, or served a challenge page that could not be resolved |
When possible, Crawlora returns structured error context so your integration can retry, back off, or inspect the request.
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
{
"code": 200,
"msg": "OK",
"data": {
"query": "phonics",
"country": "GB",
"page": 1,
"page_size": 20,
"total": 38150,
"resources": [
{
"id": "13463100",
"title": "Phonics Bunting",
"url": "https://www.tes.com/teaching-resource/phonics-bunting-13463100",
"author": "joannecrozierharbottle",
"price": 1,
"currency": "GBP",
"free": false,
"on_sale": false,
"rating": 0,
"rating_count": 0,
"downloads": 143,
"resource_types": [
"Visual aid/Display"
],
"file_types": [
"Image"
],
"thumbnail_url": "https://d1e4pidl3fu268.cloudfront.net/example/preview.png",
"first_published": "2026-05-03T21:00:33.987Z",
"last_published": "2026-05-03T21:00:33.987Z",
"is_bundle": false,
"license": "Paid"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/tes.resourceSearchResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | tes.ResourceSearchResponse | No | ||||
| data.country | string | No | ||||
| data.page | integer | No | ||||
| data.page_size | integer | No | ||||
| data.query | string | No | ||||
| data.resources | array | No | ||||
| data.resources[].author | string | No | ||||
| data.resources[].bundle_original_price | number | No | ||||
| data.resources[].bundle_resource_count | integer | No | ||||
| data.resources[].currency | string | No | ||||
| data.resources[].downloads | integer | No | ||||
| data.resources[].file_types | array | No | ||||
| data.resources[].first_published | string | No | ||||
| data.resources[].free | boolean | No | ||||
| data.resources[].id | string | No | ||||
| data.resources[].is_bundle | boolean | No | IsBundle marks a listing that packages multiple resources under one price, tes.com's own "Bundle" badge. BundleResourceCount and BundleOriginalPrice are only meaningful when IsBundle is true. | |||
| data.resources[].last_published | string | No | ||||
| data.resources[].license | string | No | License is Tes's own short licence code -- one of "Paid", "CC-BY-SA", "CC-BY-ND", "CC-BY" (its licence facet's own values, confirmed live 2026-09-04). | |||
| data.resources[].on_sale | boolean | No | ||||
| data.resources[].price | number | No | ||||
| data.resources[].rating | number | No | ||||
| data.resources[].rating_count | integer | No | ||||
| data.resources[].resource_types | array | No | ||||
| data.resources[].thumbnail_url | string | No | ||||
| data.resources[].title | string | No | ||||
| data.resources[].url | string | No | ||||
| data.total | integer | No | ||||
| msg | string | No | OK |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/tes/resources/search?query=coffee&country=us&page=1&sort=relevance&key_stage=3-5&subject=&on_sale=true" \
-H "x-api-key: $CRAWLORA_API_KEY"Crawlora is designed for responsible structured public web data workflows. Customers are responsible for using Crawlora in compliance with applicable laws, third-party rights, target-platform rules, and Crawlora terms.
Read Crawlora terms