The rides the rider's friends are going to, night by night
const url = 'https://biiikes.com/api/me/friends?metro=pdx&from=2026-10-01&to=2026-10-07&close_friends_only=false';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://biiikes.com/api/me/friends?metro=pdx&from=2026-10-01&to=2026-10-07&close_friends_only=false' \ --header 'Authorization: Bearer <token>'Night by night from from to to (at most 31 days) in one metro, the nights the rider’s friends are going to: the riders they follow and the riders they marked close. Asked with close_friends_only, the nights a close friend is going to. Riders the rider has only ridden with are not friends.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Example
pdxExample
2026-10-01Example
2026-10-07Example
falseResponses
Section titled “Responses”Night by night
The nights the rider’s friends are going to, nights with a close friend first, and the riders the rider flagged on those nights.
object
One night and the rider’s friends going to it, close friends first.
object
One date of one ride, as anybody may read it. Names no rider.
object
The ride’s public id.
Local wall-clock time in the metro’s zone.
The metro’s IANA zone.
Where a night meets, exactly as the signed-out page shows it.
object
The leader marked the meeting point secret; nothing about where it is is published (decision 465).
Where the ride meets, as the page names it. Null when withheld.
The district. For a withheld point, only when the leader chose to show it.
The district’s slug, which search’s where takes (decision 1196). Null where the neighbourhood is not shown or is a city rather than a district; names repeat across cities, slugs do not.
The night’s page.
A friend going: somebody the rider follows or marked a close friend.
object
The rider marked them a close friend.
The rider follows them.
The rider flagged them.
One night with riders the reader flagged going to it or confirmed. Only ever answered to the rider who made the flags; a flag shows even when the flagged rider blocked the reader.
object
A rider the reader flagged: their display name and handle, and nothing else.
object
Example
{ "nights": [ { "night": { "ride": "zdh5pnp", "title": "Forest Park Gravel", "day": "2026-10-03", "meet_time": "09:00", "time_zone": "America/Los_Angeles", "status": "on", "cancellation_reason": null, "past": false, "going_count": 8, "meeting": { "withheld": false, "place_name": "Jamison Square", "neighbourhood": "Pearl District", "neighbourhood_slug": "portland-pearl-district" }, "url": "https://biiikes.com/pdx/forest-park-gravel-zdh5pnp/2026-10-03" }, "friends": [ { "handle": "samrides", "name": "Sam", "close": true, "following": true, "flagged": false } ] } ], "flagged": [ { "ride": "zdh5pnp", "day": "2026-10-03", "riders": [ { "handle": "samrides", "name": "Sam" } ] } ]}An input its schema refuses
object
Example
{ "error": "invalid_request", "input": "day", "detail": "is not a date, YYYY-MM-DD"}No live token for this resource. WWW-Authenticate names the resource’s metadata.
No such metro
object
Example
{ "error": "invalid_request", "input": "day", "detail": "is not a date, YYYY-MM-DD"}