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

# Search Events

> Search for events by name. You can take a look at the page from Facebook we are getting the data from [here](https://www.facebook.com/events/search/?q=dogs)

### Query Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `query` | `string` | Yes | The query to search for |
| `cursor` | `string` | No | The cursor to paginate to the next page |

### Response Example

```json theme={null}
{
  "success": true,
  "data": {
  "success": true,
  "events": [
    {
      "id": "24659081027102562",
      "name": "DockDogs® at Frankenmuth Dog Bowl",
      "type": "Event",
      "url": "https://www.facebook.com/events/24659081027102562/",
      "day_time_sentence": "Fri, May 22 - May 24",
      "event_place": {
        "__typename": "FreeformPlace",
        "contextual_name": "Frankenmuth River Place Shops",
        "__isNode": "FreeformPlace",
        "id": "1455187729296539"
      },
      "ticketing_context_row": {
        "price_range_text": null
      },
      "is_online": false,
      "is_past": false,
      "event_url": "https://www.facebook.com/events/24659081027102562/",
      "event_kind": "PUBLIC_TYPE",
      "start_timestamp": 1779480000,
      "cover_photo": {
        "accessibility_caption": "No photo description available.",
        "eventImage": {
          "uri": "https://scontent-bos5-1.xx.fbcdn.net/v/t39.30808-6/593531570_1415564506592195_6877452715877012878_n.jpg?stp=dst-jpg_p75x225_tt6&_nc_cat=108&ccb=1-7&_nc_sid=7e0d18&_nc_ohc=lfZDvDmA5TgQ7kNvwGAJ9kC&_nc_oc=AdpiWd2PvIAUMK-DqCWA4v5iUaC2q5pKzs1BCjIS2OfxuyITVAF4rXXCFbes2A7jTTI&_nc_zt=23&_nc_ht=scontent-bos5-1.xx&_nc_gid=Bc1EYqxenHsF96t4Z7ZTbQ&_nc_ss=7e289&oh=00_Af7QI7ClZW5fpMopR2xSaj3wB0Md9w9Hw1dVS5jLWhSbTw&oe=69FCA6B5"
        },
        "id": "1415564503258862"
      },
      "social_context": {
        "text": "21 interested · 10 going",
        "interested_count": 21,
        "going_count": 10,
        "went_count": null
      }
    }
  ],
  "cursor": "Abr1gHMU6H...."
}
}
```


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