Events

The NC State University Library Events API provides a list of events hosted at NC State University Libraries, including details about categories, locations, instructors, and times.

Endpoint

GET /api/events/everything.json

Base URL: https://www.lib.ncsu.edu/api/events/everything.json

Query Parameters

Parameter Type Description
categorystringFilter events by category (e.g., "Wellness") Full list (must be logged in)
seriesstringFilter events by series name (e.g., "Amazing Alumni") Full list (must be logged in)
user_activitystringFilter by associated user activity (e.g., "Analyzing Data") Full list (must be logged in)
libstringFilter by library building (e.g., "hill | hunt | design | vetmed | natural-resources")
spacestringFilter by event space (e.g., "iPearl Immersion Theater") Full list (must be logged in)
nidnumberFilter by node id (e.g., "76886")

Response Format

The API returns an array of objects, where each object represents an event hosted at the library.

Example Response

[{
  "node_title": "Engineering Connections",
  "title": "Engineering Connections",
  "body": "

Join us for group counseling as we work on maintaining well-being and managing stressors specific to Engineering...

", "nid": "64783", "library_space": ["The Landing"], "non_library_space": [], "photo": "https://www.lib.ncsu.edu/sites/default/files/...png", "thumbnail": "https://www.lib.ncsu.edu/sites/default/files/...png", "category": ["Pop-Up", "Wellness"], "series":["Wellness"], "user_activity": [], "building": ["James B. Hunt Jr. Library"], "contact": {"name": "Alex Valencia", "email": "aavalenc@ncsu.edu"}, "when": [{ "value": "2025-03-07T13:30:00", "start": "2025-03-07T13:30:00", "start_timestamp": 1741372200, "value2": "2025-03-07T15:00:00", "end": "2025-03-07T15:00:00", "end_timestamp": 1741377600 }], "start_timestamp": 1741372200, "end_timestamp": 1741377600 }]

Response Fields

Field Type Description
node_titlestringTitle of the event.
titlestringEvent title (duplicate of node_title).
bodystringHTML-formatted description of the event.
nidstringUnique identifier for the event.
library_spacearray[string]Library spaces where the event takes place.
non_library_spacearray[string]Non-library spaces where the event takes place.
photostringURL to a photo of the event.
thumbnailstringURL to a thumbnail image.
categoryarray[string]Categories associated with the event.
user_activityarray[string]Associated user activities.
buildingarray[string]Library buildings where the event is hosted.
contactobjectContact details including name and email.
whenarray[object]Start and end times for the event.
start_timestampintegerUnix timestamp for the start time.
end_timestampintegerUnix timestamp for the end time.

Usage Example

curl -X GET "https://www.lib.ncsu.edu/api/events/everything.json?category=Wellness&lib=James B. Hunt Jr. Library" -H "Accept: application/json"

Support

For questions or issues related to this API, visit the Web Team.

Updated

Website feedback

What is the issue with this page?