# List Profile Posts

List bounded public posts from the active social-feed apps embedded on a Linktree profile.

- Platform: [Linktree](https://docs.upscrape.com/docs/platforms/linktree)
- Capability ID: `linktree.profile.posts`
- 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": {
    "limit": 12,
    "username": "whatislinked"
  },
  "capability": "linktree.profile.posts"
}'
```

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | `integer` | No | Maximum public social-feed posts to return across active feeds (default 50). |
| `username` | `string` | Yes | Linktree handle or full profile URL. |

### Example input

```json
{
  "limit": 12,
  "username": "whatislinked"
}
```

## 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
{
  "feed_count": 1,
  "feeds": [
    {
      "active": true,
      "id": "9679ac21-2601-41b9-af86-29555e27504a",
      "layout": "SQUARE",
      "source": "LINKTREE",
      "title": "Follow me on Instagram",
      "type": "INSTAGRAM"
    }
  ],
  "posts": [
    {
      "caption": "New season, new bags! 🍂👜 I found these gorgeous handbags at Target that can also be worn as crossbody bags — perfect for fall and winter looks! The colors are cozy, neutral, and totally on-trend. Would you go for? 😍.\n.\n#TargetFinds #WinterFashion #FallStyle #CrossbodyBag #TargetStyle #HandbagLover #TargetDeals #AffordableFashion #FashionFinds #LookChique #BrasileirasNosEUA #ModaDeInverno #EstiloOu…",
      "external_id": "18088566758495582",
      "feed_id": "9679ac21-2601-41b9-af86-29555e27504a",
      "feed_title": "Follow me on Instagram",
      "id": "93b35da4-143d-4fd4-ac8a-3f725a754b48",
      "media_url": "https://scontent-sea5-1.cdninstagram.com/o1/v/t2/f2/m86/[redacted:token].mp4?_nc_cat=105&_nc_sid=5e9851&_nc_ht=scontent-sea5-1.cdninstagram.com&_nc_ohc=qL5vvbFKpjAQ7kNvwF3Ru93&efg=[redacted:token]&ccb=17-1&vs=c3e3bc147141f2b9&_nc_vs=[redacted:token]&_nc_gid=Gv15nGhscwV7QDOuOJJV7g&edm=ANo9K5cEAAAA&_nc_zt=28&_nc_tpa=[redacted:token]&oh=[redacted:token]&oe=690C364E",
      "pinned": false,
      "post_type": "VIDEO",
      "thumbnail_url": "https://scontent-sea5-1.cdninstagram.com/v/t51.71878-15/[redacted:token].jpg?stp=dst-jpg_e35_tt6&_nc_cat=103&ccb=1-7&_nc_sid=18de74&efg=[redacted:token]%3D%3D&_nc_ohc=c4e8TCaMBgwQ7kNvwEZDQoX&_nc_oc=[redacted:token]&_nc_zt=23&_nc_ht=scontent-sea5-1.cdninstagram.com&edm=ANo9K5cEAAAA&_nc_gid=Gv15nGhscwV7QDOuOJJV7g&oh=[redacted:token]&oe=69100C41",
      "timestamp": "2025-11-04T18:20:49+00:00",
      "url": "https://www.instagram.com/reel/DQpPLVFgDqc/",
      "visible": true
    }
  ],
  "posts_count": 12,
  "profile_url": "https://linktr.ee/whatislinked",
  "username": "whatislinked"
}
```
### Illustrative output fields

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

| Path | Observed type | Example |
| --- | --- | --- |
| `feed_count` | `integer` | 1 |
| `feeds` | `array` | 1 items |
| `feeds` | `array` | 1 items |
| `posts` | `array` | 1 items |
| `posts` | `array` | 1 items |
| `posts_count` | `integer` | 12 |
| `profile_url` | `string` | https://linktr.ee/whatislinked |
| `username` | `string` | whatislinked |

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