# Get Post

Fetch a normalized public Tumblr post by blog name and post ID

- Platform: [Tumblr](https://docs.upscrape.com/docs/platforms/tumblr)
- Capability ID: `tumblr.post.get`
- Cost: 1 credit per request
- Maximum runtime: 30 seconds
- Execute endpoint: `POST https://data.upscrape.com/execute`

## Request

Use the exact public capability ID in the shared execute envelope.

```bash
curl --request POST \
  --url https://data.upscrape.com/execute \
  --header "Authorization: Bearer YOUR_API_KEY" \
  --header "Content-Type: application/json" \
  --header "Prefer: wait=30" \
  --data '{
  "input": {
    "post_id": "802275442449170432",
    "username": "ashishbishnoi-blog"
  },
  "capability": "tumblr.post.get"
}'
```

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `post_id` | `string` | Yes | Numeric post ID |
| `username` | `string` | Yes | Tumblr username |

### Example input

```json
{
  "post_id": "802275442449170432",
  "username": "ashishbishnoi-blog"
}
```

## Response

Successful output is returned in `results[0].data`. Raw platform output is intentionally open-ended and may evolve with the upstream source.

### Illustrative sample output

This redacted fixture is an example, not a fixed response schema.

```json
{
  "blogName": "ashishbishnoi-blog",
  "content": [
    {
      "media": [
        {
          "hasOriginalDimensions": true,
          "height": 2340,
          "mediaKey": "63f8873182d3dbe71e1fc44f68ee7092:0a6507105c92078e-9c",
          "type": "image/jpeg",
          "url": "https://64.media.tumblr.com/63f8873182d3dbe71e1fc44f68ee7092/0a6507105c92078e-9c/s2048x3072/[redacted:token].jpg",
          "width": 1080
        },
        {
          "hasOriginalDimensions": false,
          "height": 1920,
          "mediaKey": "63f8873182d3dbe71e1fc44f68ee7092:0a6507105c92078e-9c",
          "type": "image/jpeg",
          "url": "https://64.media.tumblr.com/63f8873182d3dbe71e1fc44f68ee7092/0a6507105c92078e-9c/s1280x1920/[redacted:token].jpg",
          "width": 886
        },
        {
          "hasOriginalDimensions": false,
          "height": 960,
          "mediaKey": "63f8873182d3dbe71e1fc44f68ee7092:0a6507105c92078e-9c",
          "type": "image/jpeg",
          "url": "https://64.media.tumblr.com/63f8873182d3dbe71e1fc44f68ee7092/0a6507105c92078e-9c/s640x960/[redacted:token].jpg",
          "width": 443
        }
      ],
      "type": "image"
    },
    {
      "media": [
        {
          "hasOriginalDimensions": true,
          "height": 1632,
          "mediaKey": "f796ecf59658c395a0e30d743a7f8f5e:0a6507105c92078e-88",
          "type": "image/jpeg",
          "url": "https://64.media.tumblr.com/f796ecf59658c395a0e30d743a7f8f5e/0a6507105c92078e-88/s1280x1920/[redacted:token].jpg",
          "width": 1224
        },
        {
          "hasOriginalDimensions": false,
          "height": 853,
          "mediaKey": "f796ecf59658c395a0e30d743a7f8f5e:0a6507105c92078e-88",
          "type": "image/jpeg",
          "url": "https://64.media.tumblr.com/f796ecf59658c395a0e30d743a7f8f5e/0a6507105c92078e-88/s640x960/[redacted:token].jpg",
          "width": 640
        },
        {
          "hasOriginalDimensions": false,
          "height": 720,
          "mediaKey": "f796ecf59658c395a0e30d743a7f8f5e:0a6507105c92078e-88",
          "type": "image/jpeg",
          "url": "https://64.media.tumblr.com/f796ecf59658c395a0e30d743a7f8f5e/0a6507105c92078e-88/s540x810/[redacted:token].jpg",
          "width": 540
        }
      ],
      "type": "image"
    },
    {
      "media": [
        {
          "hasOriginalDimensions": true,
          "height": 1475,
          "mediaKey": "f4f564af10009c1a89b116071fd50ae9:0a6507105c92078e-5e",
          "type": "image/jpeg",
          "url": "https://64.media.tumblr.com/f4f564af10009c1a89b116071fd50ae9/0a6507105c92078e-5e/s1280x1920/[redacted:token].jpg",
          "width": 1179
        },
        {
          "hasOriginalDimensions": false,
          "height": 801,
          "mediaKey": "f4f564af10009c1a89b116071fd50ae9:0a6507105c92078e-5e",
          "type": "image/jpeg",
          "url": "https://64.media.tumblr.com/f4f564af10009c1a89b116071fd50ae9/0a6507105c92078e-5e/s640x960/[redacted:token].jpg",
          "width": 640
        },
        {
          "hasOriginalDimensions": false,
          "height": 676,
          "mediaKey": "f4f564af10009c1a89b116071fd50ae9:0a6507105c92078e-5e",
          "type": "image/jpeg",
          "url": "https://64.media.tumblr.com/f4f564af10009c1a89b116071fd50ae9/0a6507105c92078e-5e/s540x810/[redacted:token].jpg",
          "width": 540
        }
      ],
      "type": "image"
    }
  ],
  "id": "802275442449170432",
  "noteCount": 1,
  "postUrl": "https://www.tumblr.com/ashishbishnoi-blog/802275442449170432",
  "timestamp": 1765109484,
  "type": "blocks"
}
```
### Illustrative output fields

Derived from the sample above for orientation only. These fields are not a fixed response schema.

| Path | Observed type | Example |
| --- | --- | --- |
| `blogName` | `string` | ashishbishnoi-blog |
| `content` | `array` | 3 items |
| `content` | `array` | 3 items |
| `id` | `string` | 802275442449170432 |
| `noteCount` | `integer` | 1 |
| `postUrl` | `string` | https://www.tumblr.com/ashishbishnoi-blog/802275442449170432 |
| `timestamp` | `integer` | 1765109484 |
| `type` | `string` | blocks |

## Execution behavior

A `200` response completed inline. A `202` response was queued; poll `GET /jobs/{id}` until the job reaches `completed` or `failed`. Use an `Idempotency-Key` when retrying must not create a duplicate logical job.

## Related documentation

- [Authentication](https://docs.upscrape.com/docs/api/authentication)
- [Jobs and results](https://docs.upscrape.com/docs/api/jobs)
- [Errors and retries](https://docs.upscrape.com/docs/api/errors)
- [Idempotency](https://docs.upscrape.com/docs/api/idempotency)
