# Tumblr API

Search Tumblr posts, tags and user blogs to retrieve text, media items, note counts and author details.

Pass the blog short name or tumblr.com domain without https. Profile details do not always include follower counts.

- Request: POST https://api.everyinfra.com/api/v1/social with `{"platform": "tumblr", "action": "<action>", "params": {...}}`
- Canonical page: [https://everyinfra.com/en/tumblr-api](https://everyinfra.com/en/tumblr-api?utm_medium=ai_doc&utm_campaign=page_md)
- Each capability uses the price recorded in the public catalog. The response includes the amount charged. Authentication failures, invalid parameters, failed calls, and empty results are not charged.

## Actions

### search — Search
Search Tumblr posts by keyword. Get text, post type, tags, note count and the blog that posted each one. Pick one `post_type` at a time. Private blogs are excluded, and not every match is guaranteed.
- Sync delivery · Price: $36 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=200. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `keyword` (required): Public post search term for `search`. The compatibility keyword input for `tag` actually queries by tag and cannot be treated as an identical search entry point.
  - `post_type` (optional): Single post type for `search`, `tag`, or `user_posts`: `any` for unrestricted, `text`, `photo`, `video`, `quote`, `link`, or `audio`. This is not an array, and `profile` does not use this filter.
- Returns fields: id, url, text, post_type, author_username, author_name, author_url, note_count, posted_at, platform, tags
- Capability page: [https://everyinfra.com/en/tumblr-api/search](https://everyinfra.com/en/tumblr-api/search?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/tumblr-api/search.md)

### tag — Tag
Browse the posts filed under a Tumblr tag, with text, post type, tags, note count and blog details. Notes merge likes and reblogs into one total, and a tag does not prove what the post is really about.
- Sync delivery · Price: $12.79 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=200. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `tag` (required): Topic name for `tag`, optionally prefixed with #. Returns public tag content.
  - `hashtag` (optional): Alternative parameter for `tag`, with lower precedence than `tag`.
  - `post_type` (optional): Single post type for `search`, `tag`, or `user_posts`: `any` for unrestricted, `text`, `photo`, `video`, `quote`, `link`, or `audio`. This is not an array, and `profile` does not use this filter.
- Returns fields: id, url, text, post_type, author_username, author_name, author_url, note_count, posted_at, platform, tags
- Capability page: [https://everyinfra.com/en/tumblr-api/tag](https://everyinfra.com/en/tumblr-api/tag?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/tumblr-api/tag.md)

### user_posts — Posts by user
Pull posts from one Tumblr blog with text, post type, tags, note count and publish time. Give the blog's short name or name.tumblr.com, not an https link. One batch may not cover the whole archive.
- Sync delivery · Price: $12.79 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=50. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `username` (required): Blog short name or name.tumblr.com domain. Do not pass a full link containing https:// in this field; complete addresses belong in `url`. `profile` queries aggregate public blog data only.
  - `post_type` (optional): Single post type for `search`, `tag`, or `user_posts`: `any` for unrestricted, `text`, `photo`, `video`, `quote`, `link`, or `audio`. This is not an array, and `profile` does not use this filter.
- Returns fields: id, url, text, post_type, author_username, author_name, author_url, note_count, posted_at, platform, tags
- Capability page: [https://everyinfra.com/en/tumblr-api/user_posts](https://everyinfra.com/en/tumblr-api/user_posts?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/tumblr-api/user_posts.md)

### profile — Profiles
Look up a Tumblr blog's name, description, address and the date of its most recent post. Pass the short name or name.tumblr.com. Messages, drafts and protected blogs are out of reach.
- Sync delivery · Price: $1.39 per 1,000 requests
- Parameters:
  - `username` (required): Blog short name or name.tumblr.com domain. Do not pass a full link containing https:// in this field; complete addresses belong in `url`. `profile` queries aggregate public blog data only.
- Returns fields: username, display_name, bio, url, latest_post_at, platform
- Capability page: [https://everyinfra.com/en/tumblr-api/profile](https://everyinfra.com/en/tumblr-api/profile?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/tumblr-api/profile.md)

## Tumblr API questions

### What can I retrieve with the Tumblr API?

Set `platform` to `tumblr`. The current catalog lists search, tag, posts by user, and profiles. These action names identify different Tumblr objects or views; they are not interchangeable search modes.

### Which input starts the Tumblr `search` request?

Public post search term for `search`. The compatibility keyword input for `tag` actually queries by tag and cannot be treated as an identical search entry point. Send it as `keyword` inside `params`.

### Which fields can Tumblr `search` return?

Its declared schema includes `text`, `post_type`, `author_username`, and `author_name`. A declared field can still be absent from an individual record, and every other action has its own field list.

### Does every Tumblr action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add `"mode": "async"` to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

## Also

- Machine catalog (no key): https://everyinfra.com/openapi.json · GET /api/v1/social/catalog?platform=tumblr
- API guide for AI clients: https://everyinfra.com/llms.txt · agents guide: https://everyinfra.com/agents.md
