Public Library Events API

Upcoming programs at public libraries that run on BiblioCommons: title, start and end time, branch, audiences, event types, registration and cancellation flags, link and description.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usEvents, 12 fieldsv1.0

Data from gateway.bibliocommons.com/v2/libraries/chipublib/events?limit=3

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Libraries
BiblioCommons library codes, such as chipublib. One per line, or separated by commas.
Example: chipublib
Keywordoptional
Optional keyword to narrow the events.
Example: story time

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/public-library-events/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/public-library-events/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"libraries":["chipublib"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

librarieslistrequired
BiblioCommons library codes, such as chipublib.
example: chipublib
keywordtext
Optional keyword to narrow the events.
example: story time

What's in each record

12 fields: 11 here, 1 technical one under Technical details.

Basics

  • Library

    Library code the event belongs to.

    Example chipublib

  • Event title

    Example Let's Play Magic: The Gathering

  • Start

    Local start time at the library (no time zone), as published.

    Example Jan 2, 2027

  • End

    Local end time at the library (no time zone), as published.

    Example Jan 2, 2027

  • Branch

    Branch name, when the event is at one.

    Example Humboldt Park

  • Audiences

    Audience groups such as Teens or Adults.

    Example Teens: 13 to 19 years, Tweens: 10 to 13 years

  • Types

    Event types such as Crafts, Games and Play.

    Example Crafts, Games and Play

  • Registration required

    Whether registration is required.

    Example No

  • Cancelled

    Whether the event is cancelled.

    Example No

  • Description

    Event description in plain text.

    Example Join us to learn to play Magic: The Gathering! Magic is an exciting, strategic fantasy trading card game. We have lots…

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • ID idThe source's own event id.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
librarytextLibrary3 of 3
idtextID (hidden)3 of 3
titletextEvent title3 of 3
starttextStart3 of 3
endtextEnd3 of 3
branchtextBranch3 of 3
audienceslistAudiences3 of 3
typeslistTypes3 of 3
is_registration_requiredyes or noRegistration required3 of 3
is_cancelledyes or noCancelled3 of 3
urllinkLink3 of 3
descriptiontextDescription3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordEvent titleLibraryStartEndBranchAudiencesTypesRegistration requiredCancelledDescriptionLink
1Let's Play Magic: The GatheringchipublibJan 2, 2027Jan 2, 2027Humboldt ParkTeens: 13 to 19 years, Tweens: 10 to 13 yearsCrafts, Games and PlayNoNoJoin us to learn to play Magic: The Gathering! Magic is an exciting, strategic fantasy trading card game. We have lots of Magic cards to give away, thanks to donations from Magikids and generous patrons. Participants will make (and keep!) a Magic deck, and then we will go over…chipublib.bibliocommons.com/events/6ac5640d686221156abb73b3
2Let's Play Magic: The GatheringchipublibDec 19, 2026Dec 19, 2026Humboldt ParkTeens: 13 to 19 years, Tweens: 10 to 13 yearsCrafts, Games and PlayNoNoJoin us to learn to play Magic: The Gathering! Magic is an exciting, strategic fantasy trading card game. We have lots of Magic cards to give away, thanks to donations from Magikids and generous patrons. Participants will make (and keep!) a Magic deck, and then we will go over…chipublib.bibliocommons.com/events/6ac5640d686221156abb73b2
3Festive Holiday GatheringchipublibDec 17, 2026Dec 17, 2026Wrightwood-AshburnKids: 6 to 13 years, Teens: 13 to 19 years, Tweens: 10 to 13 yearsCrafts, Games and PlayNoNoCelebrate the holidays with us at the branch! Wear your cozy holiday pajamas and enjoy making cardboard candy canes, creating snowflakes and designing holiday mugs to take home. Snacks and supplies will be provided. Space may be limited. For ages 6 to 19.chipublib.bibliocommons.com/events/6b1307096aa6bd003a329d0d

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Only libraries that publish their events on BiblioCommons work; pass the library code from its web address (for example chipublib for chipublib.bibliocommons.com).
  • Lists upcoming events only, ordered by start time; recurring programs appear as one record per date.
  • Event pages are found at the library's BiblioCommons site; the branch name is null for virtual or off-site events.
  • Descriptions are the library's own text, converted to plain text and cut to 1,000 characters.
  • A library code that does not exist is reported as invalid input; the source has no published request limit, so requests are spaced about half a second apart.

Version history

A run uses the live version unless the request names another one with version.