# List Profile Blocks

Fetch one bounded page of public blocks created or added by an Are.na profile.

- Platform: [Are.na](https://docs.upscrape.com/docs/platforms/arena)
- Capability ID: `arena.profile.blocks-list`
- Cost: 1 credit per request
- Maximum runtime: 15 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": 3,
    "page": 1,
    "username": "laurel-schwulst"
  },
  "capability": "arena.profile.blocks-list"
}'
```

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | `integer` | No | Maximum contents inspected in the requested page |
| `page` | `integer` | No | Profile-content page number |
| `username` | `string` | Yes | Are.na username or profile URL |

### Example input

```json
{
  "limit": 3,
  "page": 1,
  "username": "laurel-schwulst"
}
```

## 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
{
  "blocks": [
    {
      "class": "Image",
      "created_at": "2026-08-16T00:24:03Z",
      "description": "https://www.vos.noaa.gov/MWL/apr_09/cdmp.shtml",
      "description_html": "<p><a href=\"https://www.vos.noaa.gov/MWL/apr_09/cdmp.shtml\" target=\"_blank\" rel=\"nofollow noopener\">https://www.vos.noaa.gov/MWL/apr_09/cdmp.shtml</a></p>",
      "href": "/block/49554107",
      "id": 49554107,
      "state": "available",
      "title": "Logbook",
      "updated_at": "2026-08-16T00:24:24Z",
      "user": {
        "avatar": "https://static.avatars.are.na/449/large_394b882d8af9c3ac0ae82d50d2ca27e6.png?1372882632",
        "href": "/laurel-schwulst",
        "id": 449,
        "name": "Laurel Schwulst",
        "slug": "laurel-schwulst"
      }
    }
  ],
  "content_total": 9970,
  "has_more": true,
  "page": 1,
  "per": 3,
  "total": 3,
  "total_pages": 3324
}
```
### Illustrative output fields

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

| Path | Observed type | Example |
| --- | --- | --- |
| `blocks` | `array` | 1 items |
| `blocks` | `array` | 1 items |
| `content_total` | `integer` | 9970 |
| `has_more` | `boolean` | true |
| `page` | `integer` | 1 |
| `per` | `integer` | 3 |
| `total` | `integer` | 3 |
| `total_pages` | `integer` | 3324 |

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