Loading…
Loading…
Free, public, no API key required. All responses are JSON. Rate-limited to 1,000 requests/hour. Base URL: https://crossingthefloor.ca
/api/crossingsList all crossings with optional filtering and pagination.
level(string)Filter by level: "federal" or "provincial"province(string)Filter by province namecategory(string)Filter by categoryyearFrom(number)Minimum year (inclusive)yearTo(number)Maximum year (inclusive)search(string)Search name, why, whatHappened fieldspage(number)Page number (default: 1)perPage(number)Results per page (default: 50){ rows: Crossing[], total: number, page: number, perPage: number }/api/crossings/:slugGet a single crossing by its URL slug, including sources, events, quotes, and annotations.
CrossingFullDetail | { error: "Not found" }/api/erasList all historical eras with their date ranges and descriptions.
Era[]/api/glossaryList all glossary terms with bilingual definitions.
GlossaryTerm[]/api/searchFull-text search across all crossing fields.
q(string)Search query (required)Crossing[]/api/statisticsAggregate statistics across all crossings.
{ total, federal, provincial, gotCabinet, reelected, notable }/api/persons/:slugGet a person with their crossings, cabinet and senate appointment counts.
{ person, crossings, cabinetCount, senateCount }Rate-limited to 1,000 requests per hour per IP address. If you need higher limits for research purposes, get in touch.
All data is released under CC BY 4.0. Use it freely with attribution.