# Get Tag

Fetch public Tumblr tag hub metadata and aggregate counts

- Platform: [Tumblr](https://docs.upscrape.com/docs/platforms/tumblr)
- Capability ID: `tumblr.tag.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": {
    "tag": "photography"
  },
  "capability": "tumblr.tag.get"
}'
```

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `tag` | `string` | Yes | Tumblr tag |

### Example input

```json
{
  "tag": "photography"
}
```

## 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
{
  "allowsSearchIndexing": true,
  "backgroundColor": "#7d8413",
  "description": "For those who prefer to show rather than tell, photography takes precedence over words",
  "followerCount": 42448197,
  "headerImage": "https://64.media.tumblr.com/76dcca08cc3ab0adec33d48f47892dd9/294fe77d9a1ad8f5-99/s1280x1920/[redacted:token].jpg",
  "headerLink": "https://xanaxfarts.tumblr.com/post/756343077223972864/initiation-well",
  "isTrending": false,
  "name": "photography",
  "newPostCount": 2343,
  "postCount": 11035968
}
```
### Illustrative output fields

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

| Path | Observed type | Example |
| --- | --- | --- |
| `allowsSearchIndexing` | `boolean` | true |
| `backgroundColor` | `string` | #7d8413 |
| `description` | `string` | For those who prefer to show rather than tell, photography takes preced… |
| `followerCount` | `integer` | 42448197 |
| `headerImage` | `string` | https://64.media.tumblr.com/76dcca08cc3ab0adec33d48f47892dd9/294fe77d9a… |
| `headerLink` | `string` | https://xanaxfarts.tumblr.com/post/756343077223972864/initiation-well |
| `isTrending` | `boolean` | false |
| `name` | `string` | photography |
| `newPostCount` | `integer` | 2343 |
| `postCount` | `integer` | 11035968 |

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