# List posts

Fetch a bounded list of public posts from a Tumblr blog

- Platform: [Tumblr](https://docs.upscrape.com/docs/platforms/tumblr)
- Capability ID: `tumblr.posts.list`
- 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 $UPSCRAPE_API_KEY" \
  --header "Content-Type: application/json" \
  --header "Prefer: wait=30" \
  --data '{
  "input": {
    "username": "ashishbishnoi-blog"
  },
  "capability": "tumblr.posts.list"
}'
```

## Input


| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | `integer` | No | Maximum number of posts to return From 1 to 100. Default: `20`. |
| `username` | `string` | Yes | Tumblr username |

### Example input

```json
{
  "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 example shows one response. Values and optional fields vary with the data available.

```json
{
  "posts": [
    {
      "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"
    }
  ],
  "totalCount": 1
}
```
### Illustrative output fields

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

| Path | Observed type | Example |
| --- | --- | --- |
| `posts` | `array` | 1 items |
| `posts` | `array` | 1 items |
| `totalCount` | `integer` | 1 |

## 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)
