# Search Are.na

Search public Are.na channels, blocks, and users by keyword with bounded pagination.

- Platform: [Are.na](https://docs.upscrape.com/docs/platforms/arena)
- Capability ID: `arena.search`
- 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,
    "query": "architecture",
    "type": "channels"
  },
  "capability": "arena.search"
}'
```

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | `integer` | No | Maximum results in the requested page |
| `page` | `integer` | No | Page number |
| `query` | `string` | Yes | Keyword query to search across public Are.na content |
| `type` | `string` | No | Result family to return |

### Example input

```json
{
  "limit": 3,
  "page": 1,
  "query": "architecture",
  "type": "channels"
}
```

## 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": [],
  "channels": [
    {
      "added_to_at": "2026-07-01T18:17:55.104Z",
      "counts": {
        "contents": 114,
        "followers": 507
      },
      "created_at": "2017-05-02T21:44:11.759Z",
      "href": "/christina-badal/club-architecture",
      "id": 74104,
      "owner": {
        "avatar": "https://static.avatars.are.na/4840/small_664a9f3ba4a7fe0b84b2be5f161b8567.gif?1454175708",
        "class": "User",
        "href": "/christina-badal",
        "id": 4840,
        "name": "Christina Badal",
        "slug": "christina-badal"
      },
      "slug": "club-architecture",
      "status": "public",
      "title": "Club Architecture",
      "updated_at": "2026-08-16T06:41:09.435Z"
    }
  ],
  "page": 1,
  "per": 3,
  "profiles": [],
  "query": "architecture",
  "total": 3,
  "total_pages": 2518,
  "type": "channels"
}
```
### 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` | 0 items |
| `channels` | `array` | 1 items |
| `channels` | `array` | 1 items |
| `page` | `integer` | 1 |
| `per` | `integer` | 3 |
| `profiles` | `array` | 0 items |
| `query` | `string` | architecture |
| `total` | `integer` | 3 |
| `total_pages` | `integer` | 2518 |
| `type` | `string` | channels |

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