# Eventbrite 关键词搜索 API (eventbrite.search)

- Canonical page: [https://everyinfra.com/eventbrite-api/search](https://everyinfra.com/eventbrite-api/search?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "eventbrite", "action": "search", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 20, max 100 per call
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=eventbrite&action=search

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | Eventbrite 城市目录标识，例如 ny--new-york，而非活动名称全文关键词。search 按城市查活动，不含线上活动；提供 city 或 location 时会覆盖该城市输入，但 keyword 仍是必填。 |
| city | not declared | no | not declared | Eventbrite 城市路径短名，例如 ny--new-york；优先于 location 和 keyword。不是任意中文城市名，不含 https:// 或 /d/ 路径前缀。 |
| location | not declared | no | not declared | city 的兼容城市输入，格式相同；仅在 city 未提供时使用，并优先于 keyword。它不是会场街道地址或经纬度。 |
| limit | integer (1–100) | no | 20 | 这次调用最多返回的条数，整数，1–100；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| url | 该记录在原平台上的可访问链接。 |
| title | 标题。平台无标题概念时（如纯文本帖）为 null。 |
| text | 正文内容，已去除 HTML 标签，全文返回、不截断（个别平台的列表结果本身只有摘要，以该平台的字段说明为准）。 |
| category | 分类名称，取值为原平台的分类体系，未做跨平台归一。 |
| format | 活动形式（讲座/工作坊/演出等）。 |
| start_at | 活动开始时间。 |
| end_at | 活动结束时间。 |
| is_online | 是否为线上活动。 |
| capacity | 活动容量上限。 |
| attendee_count | 已报名人数。 |
| is_sold_out | 是否已售罄。 |
| price | 价格数值，不含货币符号；币种见 currency。 |
| organizer_name | 主办方名称。 |
| image_url | 图片链接。多图能力可能返回 image_urls 数组。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "eventbrite",
  "action": "search",
  "params": {
    "keyword": "ny--new-york"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "eventbrite",
        "action": "search",
        "params": {
            "keyword": "ny--new-york",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 20. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "eventbrite",
  "action": "search",
  "results": [
    {
      "id": "•••",
      "title": "Friday Night Lights at Mama Taco Everyone FREE B4 12am w/RSVP",
      "start_at": "2026-10-02T00:00:00+00:00",
      "end_at": "2026-10-03T00:00:00+00:00",
      "is_online": false,
      "is_sold_out": false,
      "image_url": "https://img.evbuc.com/https%3A%2F%2Fcdn.evbuc.com%2Fimages%2F1194057622%2F48251508672%2F1%2Foriginal.20260921-231231?crop=focalpoint&fit=crop&w=512&auto=format%2Ccompress&q=75&sharp=10&fp-x=0.476&fp-y=0.091&s=2f869dec1429d0ca0f194ba648706fb0",
      "platform": "eventbrite"
    },
    {
      "id": "•••",
      "title": "DJ_Dave, Arushi Jain, Char Stiles, autumnatic, Computer Art, LLC, Jewelssea",
      "start_at": "2026-10-16T00:00:00+00:00",
      "end_at": "2026-10-16T00:00:00+00:00",
      "is_online": false,
      "is_sold_out": false,
      "image_url": "https://img.evbuc.com/https%3A%2F%2Fcdn.evbuc.com%2Fimages%2F1194369562%2F2569518370411%2F1%2Foriginal.20260925-160638?crop=focalpoint&fit=crop&w=512&auto=format%2Ccompress&q=75&sharp=10&fp-x=0.5&fp-y=0.5&s=1b8d938b550ba2aa58e54608cdb5eea9",
      "platform": "eventbrite"
    }
  ],
  "count": 20,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=eventbrite
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
