Scraper APITumblr
tumblr.posts
The latest posts of a public Tumblr blog: text, images, videos, links, tags, notes, likes and reblogs.
- Id
tumblr.posts- Version
- 1
- Billed per
- request — 1 unit for a charged run
- Runs
- within one request
Start it with POST /v1/scrapers/tumblr.posts/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 |
|---|---|---|
blogrequired | string | The blog's name (nasa) or its address (https://www.tumblr.com/nasa, https://nasa.tumblr.com/).Limit: at most 200 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.posts/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"blog":"nasa"}}'
# 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.posts", {"blog": "nasa"})
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.posts", { blog: "nasa" });
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.posts", map[string]any{"blog": "nasa"})
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.posts", Map.of("blog", "nasa"));
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.posts --input blog=nasaInstall 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": {
"blog": "nasa"
}
}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.posts",
"scraper_version": 1,
"status": "ok",
"reason": null,
"input": {
"blog": "nasa"
},
"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": "832921041785536512",
"url": "https://nasa.tumblr.com/post/832921041785536512/shine-bright-for-voyager-1s-light-day",
"blog": "nasa",
"blog_title": "NASA",
"published_at": "2026-11-10T18:30:05Z",
"title": "Shine Bright for Voyager 1's Light-Day",
"summary": "Shine Bright for Voyager 1's Light-Day",
"text": "Shine Bright for Voyager 1's Light-Day\nOn Sept. 5, 1977, our Voyager 1 spacecraft lifted off on its journey into space.\nVoyager 1 carried the essence of Earth with it on the Golden Record, a disk including nature sounds, greetings in 55 … [truncated]",
"images": [
"https://64.media.tumblr.com/690ad8b3bf8329da79360c08453b3a5d/94fb857672df169a-d4/s2048x3072/361f34399d89f5e0bdab9285bab529e4035ac7c0.jpg"
],
"videos": [],
"links": [
"https://science.nasa.gov/mission/voyager/voyager-1/",
"https://science.nasa.gov/mission/voyager/voyager-golden-record-overview/",
"https://science.nasa.gov/mission/voyager/voyager-1/shine-bright-for-voyagers-light-day/"
],
"tags": [
"NASA",
"Voyager 1",
"light-day"
],
"note_count": 11132,
"like_count": 6595,
"reblog_count": 4504,
"reply_count": 33,
"is_reblog": false,
"reblogged_from": null,
"trail_text": null,
"fetched_at": "2026-11-19T20:24:29.905402Z"
}
],
"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: 812 characters, the first 236 shown. - Shortened:
links: 4 items, the first 3 shown. - Shortened:
tags: 5 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.