Scraper APITumblr
tumblr.post
One post of a public Tumblr blog: text, images, videos, links, tags, notes, likes, reblogs and what it reblogs.
- Id
tumblr.post- Version
- 1
- Billed per
- request — 1 unit for a charged run
- Runs
- within one request
Start it with POST /v1/scrapers/tumblr.post/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.
Inputs
The fields of input. A field that is not listed here is refused.
| Field | Type | Description |
|---|---|---|
urlrequired | string | The post's address, e.g. https://www.tumblr.com/nasa/799342520911708160 or https://nasa.tumblr.com/post/799342520911708160/....Limit: at most 600 characters. |
Record fields
Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.
| Field | Type | Notes |
|---|---|---|
position | integer | The post's place on the page, from 1. |
post_id | string | Tumblr's id of the post. |
url | string | The post's address on its blog. |
blog | string | The blog's name, e.g. nasa. |
blog_title | string or null | The blog's title, e.g. NASA. |
published_at | string (date-time) or null | When the post was published, in UTC. |
title | string or null | The post's first heading, when it starts with one. |
summary | string or null | Tumblr's short summary of the post. |
text | string or null | The text of the post's own blocks, a paragraph a line. |
images | array of string | The post's own images, largest size. |
videos | array of string | The post's own videos or their pages, e.g. a YouTube address. |
links | array of string | The addresses the post's text links to. |
tags | array of string | The post's tags, without #. |
note_count | integer or null | Notes: likes, reblogs and replies together. |
like_count | integer or null | Likes. |
reblog_count | integer or null | Reblogs. |
reply_count | integer or null | Replies. |
is_reblog | boolean | True when the post reblogs another post. |
reblogged_from | string or null | For a reblog, the blog name of the first post in its trail. |
trail_text | string or null | For a reblog, the text of the posts it reblogs, each beginning <blog>:. |
fetched_at | string (date-time) | When the page was read, in UTC. |
Example request
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/tumblr.post/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"url":"https://www.tumblr.com/staff/828009069026721792"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("tumblr.post", {
"url": "https://www.tumblr.com/staff/828009069026721792",
})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("tumblr.post", {
url: "https://www.tumblr.com/staff/828009069026721792",
});
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "tumblr.post", map[string]any{"url": "https://www.tumblr.com/staff/828009069026721792"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("tumblr.post", Map.of("url", "https://www.tumblr.com/staff/828009069026721792"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run tumblr.post --input url=https://www.tumblr.com/staff/828009069026721792Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.
The body on its own:
{
"input": {
"url": "https://www.tumblr.com/staff/828009069026721792"
}
}Example response
The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.
{
"id": "run_841742f37553189ff9c27ba1",
"scraper_id": "tumblr.post",
"scraper_version": 1,
"status": "ok",
"reason": null,
"input": {
"url": "https://www.tumblr.com/staff/828009069026721792"
},
"record_count": 1,
"units": 1,
"units_per_request": 1,
"units_per_record": null,
"units_per_page": null,
"diagnostics": {
"requests": 1,
"bytes": 259214,
"wall_ms": 885,
"facts": {}
},
"created_at": "2026-11-16T22:37:50.170950Z",
"started_at": "2026-11-16T22:37:50.178331Z",
"finished_at": "2026-11-16T22:37:51.066313Z"
}Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.
{
"records": [
{
"position": 1,
"post_id": "828009069026721792",
"url": "https://staff.tumblr.com/post/828009069026721792/premium-just-got-better",
"blog": "staff",
"blog_title": "Tumblr Staff",
"published_at": "2026-09-17T13:16:22Z",
"title": "Premium just got better",
"summary": "Premium just got better",
"text": "Premium just got better\nYour feedback matters. Tumblr Premium now includes a few brand new, top-requested features.\nSaved Posts & Collections\nNever lose a post again. Use the bookmark icon to save any post you want to come back to, and sort … [truncated]",
"images": [
"https://64.media.tumblr.com/8b352dd852517abad49b7b3aeae47ac1/0401186cfa311dc5-8b/s1280x1920/dbfb5aa1f846151c2aa25da0f7041829a01f2af3.pnj",
"https://64.media.tumblr.com/0cbcad38ff8141c6aabf32d9442648ec/0401186cfa311dc5-b0/s1280x1920/f6921cd84eb290a95e17d7500c859c3d7fbdd89b.gifv",
"https://64.media.tumblr.com/419975ae50a0cb928a94f0d33ecce9d9/0401186cfa311dc5-dd/s1280x1920/a6363773b973a30df1b993013c2de09861dbf5a1.gifv"
],
"videos": [],
"links": [
"https://www.tumblr.com/premium"
],
"tags": [
"tumblr premium",
"new features"
],
"note_count": 6717,
"like_count": 5298,
"reblog_count": 647,
"reply_count": 772,
"is_reblog": false,
"reblogged_from": null,
"trail_text": null,
"fetched_at": "2026-11-19T20:24:29.903871Z"
}
],
"next_cursor": null
}What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].
- Shortened:
text: 879 characters, the first 240 shown. - Shortened:
images: 4 items, the first 3 shown.
A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Tumblr scrapers are in their own section there.