> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Get Facebook event

> Returns a Facebook event. Provide `eventId` or `url`.

> **请求示例待验证。** 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式，请替换为自己的参数。正式调用前，可用免费的报价模式（`X-AISA-Cost-Mode: quote`）查看预估费用。

## 请求规范

* **方法与路径:** GET /apis/v1/facebook/events/details
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/facebook/events/details`
* **eventId:** query; 可选
* **url:** query; 可选

[完整 OpenAPI 定义](https://aisa.one/docs/openapi-public/zh/facebook.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "facebook.events.details",
  "method": "GET",
  "path": "/apis/v1/facebook/events/details",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "in": "query",
      "name": "eventId",
      "required": false,
      "schema": {
        "description": "Facebook event id when you have it instead of a full URL.",
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "url",
      "required": false,
      "schema": {
        "description": "Public Facebook event URL.",
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 已观察到的响应结构

以下结构来自探针或抽样请求的成功结果，只反映已观察到的部分：字段和类型可能变化，不保证每次都有。已有正式响应定义优先；这里不发布真实响应值。

* **HTTP 状态 / 最近观察日期:** 200 / 2026-11-14

```json theme={null}
{
  "additionalProperties": true,
  "properties": {
    "data": {
      "additionalProperties": true,
      "properties": {
        "attendance": {
          "additionalProperties": true,
          "properties": {
            "attendanceCount": {
              "type": "integer"
            },
            "canViewMembers": {
              "type": "boolean"
            },
            "goingCount": {
              "type": "integer"
            },
            "interestedCount": {
              "type": "integer"
            }
          },
          "type": "object"
        },
        "creator": {
          "additionalProperties": true,
          "properties": {
            "id": {
              "type": "string"
            },
            "isVerified": {
              "type": "null"
            },
            "name": {
              "type": "string"
            },
            "profilePictureUrl": {
              "type": "null"
            },
            "type": {
              "type": "string"
            },
            "url": {
              "type": "null"
            }
          },
          "type": "object"
        },
        "event": {
          "additionalProperties": true,
          "properties": {
            "categories": {
              "items": {},
              "type": "array"
            },
            "category": {
              "type": "null"
            },
            "coverPhotoUrl": {
              "type": "string"
            },
            "dayTimeSentence": {
              "type": "string"
            },
            "description": {
              "type": "string"
            },
            "eventId": {
              "type": "string"
            },
            "hostContextText": {
              "type": "string"
            },
            "isCanceled": {
              "type": "boolean"
            },
            "isOnline": {
              "type": "boolean"
            },
            "isPast": {
              "type": "boolean"
            },
            "kind": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "platform": {
              "type": "string"
            },
            "privacy": {
              "type": "string"
            },
            "rsvpStyle": {
              "type": "string"
            },
            "startAt": {
              "type": "string"
            },
            "url": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "hosts": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "id": {
                "type": "string"
              },
              "isVerified": {
                "type": "boolean"
              },
              "name": {
                "type": "string"
              },
              "profilePictureUrl": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "location": {
          "additionalProperties": true,
          "properties": {
            "address": {
              "type": "string"
            },
            "city": {
              "type": "string"
            },
            "cityId": {
              "type": "string"
            },
            "latitude": {
              "type": "number"
            },
            "longitude": {
              "type": "number"
            },
            "name": {
              "type": "string"
            },
            "place": {
              "additionalProperties": true,
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          },
          "type": "object"
        },
        "lookupStatus": {
          "type": "string"
        },
        "schedule": {
          "additionalProperties": true,
          "properties": {
            "dayTimeSentence": {
              "type": "string"
            },
            "duration": {
              "type": "string"
            },
            "endAt": {
              "type": "null"
            },
            "startAt": {
              "type": "string"
            },
            "startTimeFormatted": {
              "type": "string"
            },
            "timeText": {
              "type": "null"
            }
          },
          "type": "object"
        },
        "tickets": {
          "type": "null"
        }
      },
      "type": "object"
    },
    "meta": {
      "additionalProperties": true,
      "properties": {
        "version": {
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}
```

## 费用与请求规则

按实际用量收费。 默认请求预估费用：\$0.014 USD。 最终费用以实际用量为准。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。

## 响应时间

* 通常 10 秒内返回。


## OpenAPI

````yaml openapi-public/zh/facebook.json GET /apis/v1/facebook/events/details
openapi: 3.1.0
info:
  description: ''
  title: Facebook公开数据
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    facebook:
      description: ''
      title: Facebook公开数据
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 23c4518fe0e0b2521c80af5979c6da9baa3750647312250fa85879a638b281e5
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/facebook/ad-library/ads
    - /apis/v1/facebook/ad-library/ads/search
    - /apis/v1/facebook/ad-library/companies/ads
    - /apis/v1/facebook/ad-library/companies/search
    - /apis/v1/facebook/events
    - /apis/v1/facebook/events/details
    - /apis/v1/facebook/events/search
    - /apis/v1/facebook/get-comment-replies
    - /apis/v1/facebook/get-post-comments
    - /apis/v1/facebook/get-post-comments-v1
    - /apis/v1/facebook/get-profile-id
    - /apis/v1/facebook/get-profile-posts
    - /apis/v1/facebook/get-profile-posts-v1
    - /apis/v1/facebook/groups
    - /apis/v1/facebook/groups/posts
    - /apis/v1/facebook/marketplace/items
    - /apis/v1/facebook/marketplace/locations/search
    - /apis/v1/facebook/marketplace/search
    - /apis/v1/facebook/posts
    - /apis/v1/facebook/posts/comments
    - /apis/v1/facebook/posts/comments/replies
    - /apis/v1/facebook/posts/transcript
    - /apis/v1/facebook/profiles
    - /apis/v1/facebook/profiles/events
    - /apis/v1/facebook/profiles/photos
    - /apis/v1/facebook/profiles/posts
    - /apis/v1/facebook/profiles/reels
    - /apis/v1/facebook/search-post
    - /apis/v1/facebook/search-post-v1
  x-aisa-document:
    composer_version: '31'
    facts_hash: 23c4518fe0e0b2521c80af5979c6da9baa3750647312250fa85879a638b281e5
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    public_projection:
      version: '4'
      source_document_hash: sha256:adf4d33a1b2fa6ef0487005567fb2933bd5878d87599dca5ff15f1d6ef4261ce
    document_hash: sha256:cb834c22c823b5806007ca04dff3d916d2c68d1e4f6fa85362c241bdb784b855
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: facebook
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/facebook/events/details:
    get:
      tags:
        - Facebook
      summary: Get Facebook event
      description: >-
        Returns a Facebook event. Provide `eventId` or `url`.


        > **请求示例待验证。**
        此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式，请替换为自己的参数。正式调用前，可用免费的报价模式（`X-AISA-Cost-Mode:
        quote`）查看预估费用。
      operationId: facebook.events.details
      parameters:
        - in: query
          name: eventId
          required: false
          schema:
            description: Facebook event id when you have it instead of a full URL.
            maxLength: 4096
            minLength: 1
            type: string
        - in: query
          name: url
          required: false
          schema:
            description: Public Facebook event URL.
            maxLength: 4096
            minLength: 1
            type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                found:
                  value:
                    data:
                      attendance:
                        attendanceCount: 3
                        canViewMembers: true
                        goingCount: 1
                        interestedCount: 2
                      creator:
                        id: '100066445784622'
                        isVerified: null
                        name: >-
                          D4DOG Professional Dog walking, Training and Behaviour
                          Services
                        profilePictureUrl: null
                        type: user
                        url: null
                      event:
                        categories: []
                        category: null
                        coverPhotoUrl: >-
                          https://scontent-sjc3-1.xx.fbcdn.net/v/t39.30808-6/720342260_1328491916042322_5406238829933287513_n.jpg?stp=cp6_dst-jpg_tt6&_nc_cat=105&ccb=1-7&_nc_sid=75d36f&_nc_ohc=U1n38Au3XRMQ7kNvwG04Rjo&_nc_oc=Adpa06u8RyUTup3A2B6JjDAG_4P9qFksOGkIr7zztSWrD_XvKn1B4PBkoylthF7o7F8&_nc_zt=23&_nc_ht=scontent-sjc3-1.xx&_nc_gid=KjzSwWsv4QpJXNje9UrO7A&_nc_ss=7f289&oh=00_AQG87jnE4xTUa62nglS9tZvNKNFMQ-bx_PYfO0hxinZG1A&oe=6A91F71C
                        dayTimeSentence: Tuesday, September 8, 2026 at 7:00 PM BST
                        description: |-
                          Understanding Dogs Course

                          New course begins Tuesday 8th September 2026.
                        eventId: '2219404332228026'
                        hostContextText: >-
                          Event by D4DOG Professional Dog walking, Training and
                          Behaviour Services
                        isCanceled: false
                        isOnline: false
                        isPast: false
                        kind: public
                        name: Understanding Dogs - 6 weeks to better know your dog
                        platform: facebook
                        privacy: public
                        rsvpStyle: public
                        startAt: '2026-09-08T18:00:00.000Z'
                        url: https://www.facebook.com/events/2219404332228026/
                      hosts:
                        - id: '100066445784622'
                          isVerified: false
                          name: >-
                            D4DOG Professional Dog walking, Training and
                            Behaviour Services
                          profilePictureUrl: >-
                            https://scontent-phl2-1.xx.fbcdn.net/v/t39.30808-1/336709719_166445986208228_6684580945432994941_n.jpg?stp=cp0_dst-jpg_s74x74_tt6&_nc_cat=107&ccb=1-7&_nc_sid=2d3e12&_nc_ohc=8lbGHujBA4oQ7kNvwE76dcA&_nc_oc=Adr9Im6m-1THoyb4rY0iPM1hFBcCcUpA7EY80gNfWE_YbR8V1o2JP9s8KoXEhrpZppM&_nc_zt=24&_nc_ht=scontent-phl2-1.xx&_nc_gid=0S8FU0WyeynpgiYUuj341g&_nc_ss=7f289&oh=00_AQFdrgtFrv52oHTD8AnyhZSSQwlRq7jZlN0EUm0z414poA&oe=6A91C609
                          type: user
                          url: >-
                            https://www.facebook.com/people/D4DOG-Professional-Dog-walking-Training-and-Behaviour-Services/100066445784622/
                      location:
                        address: Kingswerswell, UK
                        city: Newton Abbot
                        cityId: '103143073059704'
                        latitude: 50.495241241371
                        longitude: -3.5847187010915
                        name: Newton Abbot, United Kingdom
                        place:
                          id: '2004675446504200'
                          name: Kingswerswell, Teignbridge
                      lookupStatus: found
                      schedule:
                        dayTimeSentence: Tuesday, September 8, 2026 at 7:00 PM BST
                        duration: null
                        endAt: null
                        startAt: '2026-09-08T18:00:00.000Z'
                        startTimeFormatted: Tue, Sep 8 at 7:00 PM BST
                        timeText: null
                      tickets: null
                    meta:
                      creditsCharged: 1
                      requestId: req_01example
                      version: v1
                unavailable:
                  value:
                    data:
                      attendance: null
                      creator: null
                      event: null
                      hosts: []
                      location: null
                      lookupStatus: unavailable
                      schedule: null
                      tickets: null
                    meta:
                      creditsCharged: 1
                      requestId: req_01example
                      version: v1
              schema:
                description: Standard success response envelope.
                properties:
                  data:
                    description: Endpoint-specific response payload.
                    properties:
                      attendance:
                        description: Attendance details when found.
                        properties:
                          attendanceCount:
                            description: Combined attendance count when available.
                            minimum: 0
                            type:
                              - integer
                              - 'null'
                          canViewMembers:
                            description: Whether guest lists are publicly viewable.
                            type:
                              - boolean
                              - 'null'
                          goingCount:
                            description: Going count when available.
                            minimum: 0
                            type:
                              - integer
                              - 'null'
                          interestedCount:
                            description: Interested count when available.
                            minimum: 0
                            type:
                              - integer
                              - 'null'
                        required:
                          - interestedCount
                          - goingCount
                          - attendanceCount
                          - canViewMembers
                        type:
                          - object
                          - 'null'
                      creator:
                        description: Event creator when available.
                        properties:
                          id:
                            description: Host profile or Page identifier.
                            type:
                              - string
                              - 'null'
                          isVerified:
                            description: Whether the host is verified.
                            type:
                              - boolean
                              - 'null'
                          name:
                            description: Host display name.
                            type:
                              - string
                              - 'null'
                          profilePictureUrl:
                            description: Host profile picture URL when available.
                            type:
                              - string
                              - 'null'
                          type:
                            description: >-
                              Host type when available (for example user or
                              page).
                            type:
                              - string
                              - 'null'
                          url:
                            description: Host profile URL when available.
                            type:
                              - string
                              - 'null'
                        required:
                          - id
                          - name
                          - type
                          - url
                          - isVerified
                          - profilePictureUrl
                        type:
                          - object
                          - 'null'
                      event:
                        description: Event details when found.
                        properties:
                          categories:
                            description: Additional event categories when available.
                            items:
                              minLength: 1
                              type: string
                            type: array
                          category:
                            description: Primary event category when available.
                            type:
                              - string
                              - 'null'
                          coverPhotoUrl:
                            description: Cover image URL when available.
                            type:
                              - string
                              - 'null'
                          dayTimeSentence:
                            description: >-
                              Human-readable date and time sentence when
                              available.
                            type:
                              - string
                              - 'null'
                          description:
                            description: Event description when available.
                            type:
                              - string
                              - 'null'
                          eventId:
                            description: Facebook event identifier.
                            minLength: 1
                            type: string
                          hostContextText:
                            description: Host attribution text when available.
                            type:
                              - string
                              - 'null'
                          isCanceled:
                            description: Whether the event is canceled.
                            type: boolean
                          isOnline:
                            description: Whether the event is online.
                            type: boolean
                          isPast:
                            description: Whether the event has already ended.
                            type: boolean
                          kind:
                            description: >-
                              Event visibility kind when available (for example
                              public or private).
                            type:
                              - string
                              - 'null'
                          name:
                            description: Event title.
                            minLength: 1
                            type: string
                          platform:
                            description: Social platform for this event.
                            enum:
                              - facebook
                            type: string
                          privacy:
                            description: Privacy label when available.
                            type:
                              - string
                              - 'null'
                          rsvpStyle:
                            description: RSVP style when available (for example public).
                            type:
                              - string
                              - 'null'
                          startAt:
                            description: Event start time in ISO 8601 when available.
                            type:
                              - string
                              - 'null'
                          url:
                            description: Canonical public URL for this event.
                            minLength: 1
                            type: string
                        required:
                          - platform
                          - eventId
                          - url
                          - name
                          - coverPhotoUrl
                          - isOnline
                          - isPast
                          - kind
                          - dayTimeSentence
                          - startAt
                          - description
                          - category
                          - categories
                          - privacy
                          - isCanceled
                          - hostContextText
                          - rsvpStyle
                        type:
                          - object
                          - 'null'
                      hosts:
                        description: Event hosts.
                        items:
                          description: A host of the event.
                          properties:
                            id:
                              description: Host profile or Page identifier.
                              type:
                                - string
                                - 'null'
                            isVerified:
                              description: Whether the host is verified.
                              type:
                                - boolean
                                - 'null'
                            name:
                              description: Host display name.
                              type:
                                - string
                                - 'null'
                            profilePictureUrl:
                              description: Host profile picture URL when available.
                              type:
                                - string
                                - 'null'
                            type:
                              description: >-
                                Host type when available (for example user or
                                page).
                              type:
                                - string
                                - 'null'
                            url:
                              description: Host profile URL when available.
                              type:
                                - string
                                - 'null'
                          required:
                            - id
                            - name
                            - type
                            - url
                            - isVerified
                            - profilePictureUrl
                          type: object
                        type: array
                      location:
                        description: Location details when found.
                        properties:
                          address:
                            description: Street or locality address when available.
                            type:
                              - string
                              - 'null'
                          city:
                            description: City label when available.
                            type:
                              - string
                              - 'null'
                          cityId:
                            description: City identifier when available.
                            type:
                              - string
                              - 'null'
                          latitude:
                            description: Latitude when available.
                            type:
                              - number
                              - 'null'
                          longitude:
                            description: Longitude when available.
                            type:
                              - number
                              - 'null'
                          name:
                            description: Location name when available.
                            type:
                              - string
                              - 'null'
                          place:
                            description: Structured place when available.
                            properties:
                              id:
                                description: Place identifier when available.
                                type:
                                  - string
                                  - 'null'
                              name:
                                description: Place display name when available.
                                type:
                                  - string
                                  - 'null'
                            required:
                              - id
                              - name
                            type:
                              - object
                              - 'null'
                        required:
                          - name
                          - address
                          - city
                          - cityId
                          - latitude
                          - longitude
                          - place
                        type:
                          - object
                          - 'null'
                      lookupStatus:
                        description: Whether the event could be resolved for this request.
                        enum:
                          - found
                          - unavailable
                          - not_found
                        type: string
                      schedule:
                        description: Schedule details when found.
                        properties:
                          dayTimeSentence:
                            description: >-
                              Human-readable date and time sentence when
                              available.
                            type:
                              - string
                              - 'null'
                          duration:
                            description: Duration label when available.
                            type:
                              - string
                              - 'null'
                          endAt:
                            description: Event end time in ISO 8601 when available.
                            type:
                              - string
                              - 'null'
                          startAt:
                            description: Event start time in ISO 8601 when available.
                            type:
                              - string
                              - 'null'
                          startTimeFormatted:
                            description: Short formatted start date when available.
                            type:
                              - string
                              - 'null'
                          timeText:
                            description: Raw time text when available.
                            type:
                              - string
                              - 'null'
                        required:
                          - startAt
                          - endAt
                          - timeText
                          - duration
                          - dayTimeSentence
                          - startTimeFormatted
                        type:
                          - object
                          - 'null'
                      tickets:
                        description: Ticketing details when available.
                        properties:
                          price:
                            description: Ticket price label when available.
                            type:
                              - string
                              - 'null'
                          provider:
                            description: Ticket provider when available.
                            type:
                              - string
                              - 'null'
                          source:
                            description: Ticket source when available.
                            type:
                              - string
                              - 'null'
                          url:
                            description: Ticket purchase URL when available.
                            type:
                              - string
                              - 'null'
                        required:
                          - price
                          - url
                          - source
                          - provider
                        type:
                          - object
                          - 'null'
                    required:
                      - lookupStatus
                      - event
                      - schedule
                      - location
                      - attendance
                      - tickets
                      - hosts
                      - creator
                    type: object
                  meta:
                    description: Metadata describing the request and billing outcome.
                    properties:
                      creditsCharged:
                        description: Credits charged for this request.
                        minimum: 0
                        type: integer
                      requestId:
                        description: Unique request identifier for tracing this API call.
                        minLength: 1
                        type: string
                      version:
                        description: Public API version that served the response.
                        enum:
                          - v1
                        type: string
                    required:
                      - requestId
                      - creditsCharged
                      - version
                    type: object
                required:
                  - data
                  - meta
                type: object
          description: Event details.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.