Bored API
App · Misc References · 7 actions
Find something to do with the keyless Bored API. Draw a random activity, browse them by type and group size, pull a shortlist for four people or a mix of ideas across different kinds of afternoon, find more like one that landed well, and look any of them up again by key. Every activity says how many people it takes, roughly what it costs, how long it lasts and whether it suits children. No account or API key is required.
Actions
| Action | What it does |
|---|---|
| Find activities | Browse the activities that match a type and a number of participants, narrowed further by kid friendly, a price ceiling, how long they take or how accessible they are, ordered how you like and cut to a limit. |
| Find activities for a group | Find everything a group of a given size can do: the activities for exactly that many people and, unless you turn it off, the ones a smaller group could do together. |
| Find similar activities | Find more activities like one you already have: give it an activity's key and it fetches that activity, then returns the others of the same type (and, unless you turn it off, for the same number of people). |
| Get a random activity | Get one thing to do, chosen at random: the answer to 'I'm bored'. |
| Get an activity | Look up one activity by its key: the identifier every other action returns beside each activity it finds. |
| List activity types | See what the catalog holds, type by type: how many activities there are of each kind, how many are free, how many suit children, the range of group sizes they take and an example with its key. |
| Suggest a mix of activities | Get several ideas at once, deliberately spread across different kinds of activity, so a menu of three is a lesson, a game and something to cook rather than three variations of the same afternoon. |
Find activities
Browse the activities that match a type and a number of participants, narrowed further by kid friendly, a price ceiling, how long they take or how accessible they are, ordered how you like and cut to a limit. Use it to put a shortlist in front of someone rather than a single suggestion. The answer says how many matched in total, so a limited list never reads as a complete one.
Inputs
- Activity type
typetext - Only activities of this kind. Leave empty to draw from every type.One of:
education(Education: learn something),recreational(Recreational: play or make something),social(Social: with other people),charity(Charity: help someone out),cooking(Cooking: make something to eat),relaxation(Relaxation: wind down),busywork(Busywork: a job worth getting done),diy(DIY: fix or build something),music(Music: listen, play or sing). - Participants
participantstext - Only activities for exactly this many people. Leave empty for any number. The catalog has nothing for exactly seven people, so seven is not offered.One of:
1(1 person),2(2 people),3(3 people),4(4 people),5(5 people),6(6 people),8(8 people). - Kid friendly only
kid_friendlytrue/false - Turn on to keep only the activities the API marks as kid friendly. Left off, everything is considered.
- Maximum price
max_pricenumber - Only activities at or below this price, as an index from 0 (free) to 1 (expensive): the API rates cost relatively rather than in money. Set 0 for free activities only. Leave empty for any price.From 0 to 1.
- How long it takes
durationtext - Only activities that take about this long: minutes, hours, days or weeks. Choose minutes for a quick break. Leave empty for any length.One of:
minutes(Minutes: a quick break),hours(Hours: an afternoon),days(Days: a project),weeks(Weeks: a longer commitment). - Accessibility
accessibilitytext - Only activities the API rates at this level of challenge to take part in. Choose Few to no challenges for something almost anyone can do. Leave empty for any level.One of:
Few to no challenges,Minor challenges,Major challenges. - Sort by
sorttext - How to order the activities that come back.One of:
default(The order the API returns them in (default)),name(Activity name, A to Z),price(Cheapest first),participants(Fewest people first),availability(Most available first). Default:default. - Limit
limitnumber - How many activities to return, from 1 to 200. The answer always says how many matched in total, so a limited list never reads as a complete one. Defaults to 25.From 1 to 200. Default:
25.
Outputs
activitieslist- The activities that matched, in the order asked for, up to the limit.
countnumber- How many activities are in this answer.
filtersobject- The filters the activities were matched against.
sorttext- The order the activities are in: default, name, price, participants or availability.
total_countnumber- How many activities matched in all, before the limit.
truncatedtrue/false- True when more activities matched than the limit let through.
Example output
{
"activities": [
{
"accessibility": "Few to no challenges",
"activity": "Learn Express.js",
"availability": 0.25,
"duration": "hours",
"has_link": true,
"is_free": false,
"key": "3943506",
"kidFriendly": true,
"kid_friendly": true,
"link": "https://expressjs.com/",
"participants": 1,
"price": 0.1,
"price_level": "low",
"type": "education"
},
{
"accessibility": "Few to no challenges",
"activity": "Learn a new programming language",
"availability": 0.25,
"duration": "hours",
"has_link": false,
"is_free": false,
"key": "5881028",
"kidFriendly": true,
"kid_friendly": true,
"link": "",
"participants": 1,
"price": 0.1,
"price_level": "low",
"type": "education"
}
],
"count": 2,
"filters": {
"accessibility": null,
"duration": null,
"kid_friendly": null,
"max_price": null,
"participants": 1,
"type": "education"
},
"sort": "default",
"total_count": 2,
"truncated": false
}Find activities for a group
Find everything a group of a given size can do: the activities for exactly that many people and, unless you turn it off, the ones a smaller group could do together. The API matches a participant count exactly, so this is the action that answers 'there are four of us, what's on?' in one step. The answer breaks the matches down by how many people each one takes.
Inputs
- Group size
participantsnumberRequired - How many people there are, from 1 to 8. Nothing in the catalog is for exactly seven people, so a group of seven is offered the activities for six or fewer.From 1 to 8.
- Include smaller activities
include_smallertrue/false - On by default: also return the activities a smaller group could do, since four people can play a game meant for two. Turn it off to see only the activities for exactly this many people.Default:
true. - Activity type
typetext - Only activities of this kind. Leave empty to draw from every type.One of:
education(Education: learn something),recreational(Recreational: play or make something),social(Social: with other people),charity(Charity: help someone out),cooking(Cooking: make something to eat),relaxation(Relaxation: wind down),busywork(Busywork: a job worth getting done),diy(DIY: fix or build something),music(Music: listen, play or sing). - Kid friendly only
kid_friendlytrue/false - Turn on to keep only the activities the API marks as kid friendly. Left off, everything is considered.
- Maximum price
max_pricenumber - Only activities at or below this price, as an index from 0 (free) to 1 (expensive): the API rates cost relatively rather than in money. Set 0 for free activities only. Leave empty for any price.From 0 to 1.
- How long it takes
durationtext - Only activities that take about this long: minutes, hours, days or weeks. Choose minutes for a quick break. Leave empty for any length.One of:
minutes(Minutes: a quick break),hours(Hours: an afternoon),days(Days: a project),weeks(Weeks: a longer commitment). - Accessibility
accessibilitytext - Only activities the API rates at this level of challenge to take part in. Choose Few to no challenges for something almost anyone can do. Leave empty for any level.One of:
Few to no challenges,Minor challenges,Major challenges. - Sort by
sorttext - How to order the activities that come back.One of:
default(The order the API returns them in (default)),name(Activity name, A to Z),price(Cheapest first),participants(Fewest people first),availability(Most available first). Default:default. - Limit
limitnumber - How many activities to return, from 1 to 200. The answer always says how many matched in total, so a limited list never reads as a complete one. Defaults to 25.From 1 to 200. Default:
25.
Outputs
activitieslist- The activities that matched, in the order asked for, up to the limit.
countnumber- How many activities are in this answer.
filtersobject- The filters the activities were matched against.
group_sizes_searchedlist- The numbers of people looked at.
include_smallertrue/false- True when activities for fewer people were included.
participant_countslist- How many of the matches there are for each size looked at.
participantsnumber- The group size asked for.
requests_madenumber- How many requests this step made to the Bored API, which allows 100 every 15 minutes.
sorttext- The order the activities are in: default, name, price, participants or availability.
total_countnumber- How many activities matched in all, before the limit.
truncatedtrue/false- True when more activities matched than the limit let through.
Example output
{
"activities": [
{
"accessibility": "Few to no challenges",
"activity": "Fill out a basketball bracket",
"availability": 0.1,
"duration": "minutes",
"has_link": false,
"is_free": true,
"key": "7806284",
"kidFriendly": true,
"kid_friendly": true,
"link": "",
"participants": 1,
"price": 0,
"price_level": "free",
"type": "recreational"
},
{
"accessibility": "Few to no challenges",
"activity": "Cook something together with someone",
"availability": 0.8,
"duration": "hours",
"has_link": false,
"is_free": false,
"key": "1799120",
"kidFriendly": true,
"kid_friendly": true,
"link": "",
"participants": 2,
"price": 0.3,
"price_level": "low",
"type": "cooking"
}
],
"count": 2,
"filters": {
"accessibility": null,
"duration": null,
"kid_friendly": null,
"max_price": null,
"type": null
},
"group_sizes_searched": [
1,
2
],
"include_smaller": true,
"participant_counts": [
{
"count": 1,
"participants": 1
},
{
"count": 1,
"participants": 2
}
],
"participants": 2,
"requests_made": 1,
"sort": "default",
"total_count": 2,
"truncated": false
}Find similar activities
Find more activities like one you already have: give it an activity's key and it fetches that activity, then returns the others of the same type (and, unless you turn it off, for the same number of people). The original is never in the answer, so this is the 'something else, then' step to run when a suggestion doesn't land.
Inputs
- Activity key
keytextRequired - The key of the activity, which is the short identifier the API gives each one. Every action here returns the key of each activity it found, and every step summary prints it.
- Same number of people
same_participantstrue/false - On by default: only activities for the same number of people as the one you named. Turn it off to see everything of that type whatever the group size.Default:
true. - Kid friendly only
kid_friendlytrue/false - Turn on to keep only the activities the API marks as kid friendly. Left off, everything is considered.
- Maximum price
max_pricenumber - Only activities at or below this price, as an index from 0 (free) to 1 (expensive): the API rates cost relatively rather than in money. Set 0 for free activities only. Leave empty for any price.From 0 to 1.
- How long it takes
durationtext - Only activities that take about this long: minutes, hours, days or weeks. Choose minutes for a quick break. Leave empty for any length.One of:
minutes(Minutes: a quick break),hours(Hours: an afternoon),days(Days: a project),weeks(Weeks: a longer commitment). - Accessibility
accessibilitytext - Only activities the API rates at this level of challenge to take part in. Choose Few to no challenges for something almost anyone can do. Leave empty for any level.One of:
Few to no challenges,Minor challenges,Major challenges. - Sort by
sorttext - How to order the activities that come back.One of:
default(The order the API returns them in (default)),name(Activity name, A to Z),price(Cheapest first),participants(Fewest people first),availability(Most available first). Default:default. - Limit
limitnumber - How many activities to return, from 1 to 200. The answer always says how many matched in total, so a limited list never reads as a complete one. Defaults to 25.From 1 to 200. Default:
25.
Outputs
activitieslist- The activities that matched, in the order asked for, up to the limit.
based_onobject- The activity whose key was given.
countnumber- How many activities are in this answer.
matched_onobject- What the matches have in common with it.
sorttext- The order the activities are in: default, name, price, participants or availability.
total_countnumber- How many activities matched in all, before the limit.
truncatedtrue/false- True when more activities matched than the limit let through.
Example output
{
"activities": [
{
"accessibility": "Few to no challenges",
"activity": "Learn a new programming language",
"availability": 0.25,
"duration": "hours",
"has_link": false,
"is_free": false,
"key": "5881028",
"kidFriendly": true,
"kid_friendly": true,
"link": "",
"participants": 1,
"price": 0.1,
"price_level": "low",
"type": "education"
}
],
"based_on": {
"accessibility": "Few to no challenges",
"activity": "Learn Express.js",
"availability": 0.25,
"duration": "hours",
"has_link": true,
"is_free": false,
"key": "3943506",
"kidFriendly": true,
"kid_friendly": true,
"link": "https://expressjs.com/",
"participants": 1,
"price": 0.1,
"price_level": "low",
"type": "education"
},
"count": 1,
"matched_on": {
"participants": 1,
"type": "education"
},
"sort": "default",
"total_count": 1,
"truncated": false
}Get a random activity
Get one thing to do, chosen at random: the answer to 'I'm bored'. Comes back with what it is, what kind of activity it is, how many people it takes, roughly what it costs, how long it lasts, whether it suits children and a link to get started where there is one. Narrow it with a type, a number of participants, kid friendly, a price ceiling, how long it takes or how accessible it is, and the pick is made from the activities that match.
Inputs
- Activity type
typetext - Only activities of this kind. Leave empty to draw from every type.One of:
education(Education: learn something),recreational(Recreational: play or make something),social(Social: with other people),charity(Charity: help someone out),cooking(Cooking: make something to eat),relaxation(Relaxation: wind down),busywork(Busywork: a job worth getting done),diy(DIY: fix or build something),music(Music: listen, play or sing). - Participants
participantstext - Only activities for exactly this many people. Leave empty for any number. The catalog has nothing for exactly seven people, so seven is not offered.One of:
1(1 person),2(2 people),3(3 people),4(4 people),5(5 people),6(6 people),8(8 people). - Kid friendly only
kid_friendlytrue/false - Turn on to keep only the activities the API marks as kid friendly. Left off, everything is considered.
- Maximum price
max_pricenumber - Only activities at or below this price, as an index from 0 (free) to 1 (expensive): the API rates cost relatively rather than in money. Set 0 for free activities only. Leave empty for any price.From 0 to 1.
- How long it takes
durationtext - Only activities that take about this long: minutes, hours, days or weeks. Choose minutes for a quick break. Leave empty for any length.One of:
minutes(Minutes: a quick break),hours(Hours: an afternoon),days(Days: a project),weeks(Weeks: a longer commitment). - Accessibility
accessibilitytext - Only activities the API rates at this level of challenge to take part in. Choose Few to no challenges for something almost anyone can do. Leave empty for any level.One of:
Few to no challenges,Minor challenges,Major challenges.
Outputs
accessibilitytext- How much of a challenge it is to take part: Few to no challenges, Minor challenges or Major challenges.
activitytext- What to do, in a sentence.
availabilitynumber- How easy it is to fit in, as an index from 0 (easiest) to 1.
durationtext- Roughly how long it takes: minutes, hours, days or weeks.
has_linktrue/false- True when the activity comes with a link.
is_freetrue/false- True when the price is 0.
keytext- The activity's identifier, which Get an activity and Find similar activities take.
kidFriendlytrue/false- Whether the API marks it as suitable for children.
kid_friendlytrue/false- The same as kidFriendly, named like the other fields.
linktext- A web page to get started with, or empty when there is none.
matched_countnumber- How many activities matched and it was drawn from, or empty when nothing narrowed the pick.
participantsnumber- How many people it is for.
pricenumber- Roughly what it costs, as an index from 0 (free) to 1 (expensive) rather than an amount of money.
price_leveltext- The price in a word: free, low (up to 0.3), moderate (up to 0.6) or high. Empty when the activity has no price.
sourcetext- How it was chosen: random when nothing narrowed the pick, filtered when it was drawn from the activities that matched.
typetext- The kind of activity: education, recreational, social, charity, cooking, relaxation, busywork, diy or music.
Example output
{
"accessibility": "Few to no challenges",
"activity": "Learn Express.js",
"availability": 0.25,
"duration": "hours",
"has_link": true,
"is_free": false,
"key": "3943506",
"kidFriendly": true,
"kid_friendly": true,
"link": "https://expressjs.com/",
"matched_count": null,
"participants": 1,
"price": 0.1,
"price_level": "low",
"source": "random",
"type": "education"
}Get an activity
Look up one activity by its key: the identifier every other action returns beside each activity it finds. Use it to read a suggestion back later: store the key when you offer someone an activity, and fetch the details again when they say yes.
Inputs
- Activity key
keytextRequired - The key of the activity, which is the short identifier the API gives each one. Every action here returns the key of each activity it found, and every step summary prints it.
Outputs
accessibilitytext- How much of a challenge it is to take part: Few to no challenges, Minor challenges or Major challenges.
activitytext- What to do, in a sentence.
availabilitynumber- How easy it is to fit in, as an index from 0 (easiest) to 1.
durationtext- Roughly how long it takes: minutes, hours, days or weeks.
has_linktrue/false- True when the activity comes with a link.
is_freetrue/false- True when the price is 0.
keytext- The activity's identifier, which Get an activity and Find similar activities take.
kidFriendlytrue/false- Whether the API marks it as suitable for children.
kid_friendlytrue/false- The same as kidFriendly, named like the other fields.
linktext- A web page to get started with, or empty when there is none.
participantsnumber- How many people it is for.
pricenumber- Roughly what it costs, as an index from 0 (free) to 1 (expensive) rather than an amount of money.
price_leveltext- The price in a word: free, low (up to 0.3), moderate (up to 0.6) or high. Empty when the activity has no price.
typetext- The kind of activity: education, recreational, social, charity, cooking, relaxation, busywork, diy or music.
Example output
{
"accessibility": "Few to no challenges",
"activity": "Learn Express.js",
"availability": 0.25,
"duration": "hours",
"has_link": true,
"is_free": false,
"key": "3943506",
"kidFriendly": true,
"kid_friendly": true,
"link": "https://expressjs.com/",
"participants": 1,
"price": 0.1,
"price_level": "low",
"type": "education"
}List activity types
See what the catalog holds, type by type: how many activities there are of each kind, how many are free, how many suit children, the range of group sizes they take and an example with its key. Run it once to see what is worth filtering for.
Inputs
- Participants
participantstext - Only activities for exactly this many people. Leave empty for any number. The catalog has nothing for exactly seven people, so seven is not offered.One of:
1(1 person),2(2 people),3(3 people),4(4 people),5(5 people),6(6 people),8(8 people).
Outputs
activity_countnumber- How many activities there are in all.
participantsnumber- The number of people the count was kept to, or empty for any number.
requests_madenumber- How many requests this step made to the Bored API, which allows 100 every 15 minutes.
type_countnumber- How many types are listed.
typeslist- A row for each activity type.
Example output
{
"activity_count": 196,
"participants": null,
"requests_made": 1,
"type_count": 9,
"types": [
{
"count": 30,
"example_activity": "Learn Express.js",
"example_key": "3943506",
"free_count": 20,
"kid_friendly_count": 30,
"max_participants": 1,
"min_participants": 1,
"type": "education"
},
{
"count": 41,
"example_activity": "Learn how to play a new sport",
"example_key": "5808228",
"free_count": 20,
"kid_friendly_count": 40,
"max_participants": 4,
"min_participants": 1,
"type": "recreational"
},
{
"count": 35,
"example_activity": "Text a friend you haven't talked to in a long time",
"example_key": "6081071",
"free_count": 14,
"kid_friendly_count": 34,
"max_participants": 8,
"min_participants": 1,
"type": "social"
},
{
"count": 11,
"example_activity": "Volunteer at a local animal shelter",
"example_key": "1382389",
"free_count": 7,
"kid_friendly_count": 9,
"max_participants": 1,
"min_participants": 1,
"type": "charity"
},
{
"count": 10,
"example_activity": "Bake pastries for you and your neighbor",
"example_key": "8125168",
"free_count": 3,
"kid_friendly_count": 10,
"max_participants": 3,
"min_participants": 1,
"type": "cooking"
},
{
"count": 26,
"example_activity": "Take your dog on a walk",
"example_key": "9318514",
"free_count": 11,
"kid_friendly_count": 24,
"max_participants": 1,
"min_participants": 1,
"type": "relaxation"
},
{
"count": 28,
"example_activity": "Make a to-do list for your week",
"example_key": "5920481",
"free_count": 24,
"kid_friendly_count": 24,
"max_participants": 1,
"min_participants": 1,
"type": "busywork"
},
{
"count": 6,
"example_activity": "Find a DIY to do",
"example_key": "4981819",
"free_count": 1,
"kid_friendly_count": 6,
"max_participants": 1,
"min_participants": 1,
"type": "diy"
},
{
"count": 9,
"example_activity": "Listen to your favorite album",
"example_key": "3136729",
"free_count": 2,
"kid_friendly_count": 9,
"max_participants": 5,
"min_participants": 1,
"type": "music"
}
]
}Suggest a mix of activities
Get several ideas at once, deliberately spread across different kinds of activity, so a menu of three is a lesson, a game and something to cook rather than three variations of the same afternoon. Each type is drawn from at random, so the same request twice gives a different menu.
Inputs
- How many ideas
countnumber - How many activities to suggest, from 1 to 10. Each comes from a different type until every type has been used once. Defaults to 3.From 1 to 10. Default:
3. - Activity types
typeslist - Which kinds of activity to draw from. Choose none to consider all nine.One or more of:
education(Education: learn something),recreational(Recreational: play or make something),social(Social: with other people),charity(Charity: help someone out),cooking(Cooking: make something to eat),relaxation(Relaxation: wind down),busywork(Busywork: a job worth getting done),diy(DIY: fix or build something),music(Music: listen, play or sing). - Participants
participantstext - Only activities for exactly this many people. Leave empty for any number. The catalog has nothing for exactly seven people, so seven is not offered.One of:
1(1 person),2(2 people),3(3 people),4(4 people),5(5 people),6(6 people),8(8 people). - Kid friendly only
kid_friendlytrue/false - Turn on to keep only the activities the API marks as kid friendly. Left off, everything is considered.
- Maximum price
max_pricenumber - Only activities at or below this price, as an index from 0 (free) to 1 (expensive): the API rates cost relatively rather than in money. Set 0 for free activities only. Leave empty for any price.From 0 to 1.
- How long it takes
durationtext - Only activities that take about this long: minutes, hours, days or weeks. Choose minutes for a quick break. Leave empty for any length.One of:
minutes(Minutes: a quick break),hours(Hours: an afternoon),days(Days: a project),weeks(Weeks: a longer commitment). - Accessibility
accessibilitytext - Only activities the API rates at this level of challenge to take part in. Choose Few to no challenges for something almost anyone can do. Leave empty for any level.One of:
Few to no challenges,Minor challenges,Major challenges.
Outputs
activitieslist- The ideas, taking each type in turn.
countnumber- How many ideas came back, which is fewer than asked for when too few activities match.
filtersobject- The filters the activities were matched against.
requested_countnumber- How many ideas were asked for.
requests_madenumber- How many requests this step made to the Bored API, which allows 100 every 15 minutes.
types_searchedlist- The types the ideas were drawn from.
types_usedlist- The types the ideas came from, A to Z.
Example output
{
"activities": [
{
"accessibility": "Few to no challenges",
"activity": "Learn Express.js",
"availability": 0.25,
"duration": "hours",
"has_link": true,
"is_free": false,
"key": "3943506",
"kidFriendly": true,
"kid_friendly": true,
"link": "https://expressjs.com/",
"participants": 1,
"price": 0.1,
"price_level": "low",
"type": "education"
},
{
"accessibility": "Few to no challenges",
"activity": "Fill out a basketball bracket",
"availability": 0.1,
"duration": "minutes",
"has_link": false,
"is_free": true,
"key": "7806284",
"kidFriendly": true,
"kid_friendly": true,
"link": "",
"participants": 1,
"price": 0,
"price_level": "free",
"type": "recreational"
},
{
"accessibility": "Major challenges",
"activity": "Have a football scrimmage with some friends",
"availability": 0.2,
"duration": "minutes",
"has_link": false,
"is_free": true,
"key": "1638604",
"kidFriendly": true,
"kid_friendly": true,
"link": "",
"participants": 8,
"price": 0,
"price_level": "free",
"type": "social"
}
],
"count": 3,
"filters": {
"accessibility": null,
"duration": null,
"kid_friendly": null,
"max_price": null,
"participants": null
},
"requested_count": 3,
"requests_made": 1,
"types_searched": [
"education",
"recreational",
"social",
"charity",
"cooking",
"relaxation",
"busywork",
"diy",
"music"
],
"types_used": [
"education",
"recreational",
"social"
]
}