{"id":13553119,"url":"https://github.com/drewthoennes/Bored-API","last_synced_at":"2025-04-03T04:32:29.338Z","repository":{"id":41314910,"uuid":"142824085","full_name":"drewthoennes/Bored-API","owner":"drewthoennes","description":"A simple and free API to find things to do when you're bored","archived":false,"fork":false,"pushed_at":"2024-05-06T20:08:09.000Z","size":1924,"stargazers_count":232,"open_issues_count":42,"forks_count":49,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-04T00:32:56.349Z","etag":null,"topics":["api","bored","expressjs","heroku","mongodb","nodejs","public-api"],"latest_commit_sha":null,"homepage":"https://www.boredapi.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drewthoennes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-30T04:17:26.000Z","updated_at":"2024-10-22T00:59:29.000Z","dependencies_parsed_at":"2024-08-01T12:22:12.754Z","dependency_job_id":"f0979485-aeab-4475-933c-70497d83fe14","html_url":"https://github.com/drewthoennes/Bored-API","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewthoennes%2FBored-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewthoennes%2FBored-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewthoennes%2FBored-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewthoennes%2FBored-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drewthoennes","download_url":"https://codeload.github.com/drewthoennes/Bored-API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246939195,"owners_count":20857916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","bored","expressjs","heroku","mongodb","nodejs","public-api"],"created_at":"2024-08-01T12:02:17.697Z","updated_at":"2025-04-03T04:32:24.328Z","avatar_url":"https://github.com/drewthoennes.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Bored API\nA free and simple API to help you find something better to do\n\n![Bored API Website](./.docs/website.png)\n\n## About\nThis project is an MEVN (MongoDB, Express.js, Vue.js, and Node.js) web app that has a goal of creating a simple way to find things to do. You \u003cu\u003edo not need an API key\u003c/u\u003e to use this API, just query the endpoint to get data. All activities served by the API can be found [here](./activities.json).\n\n---\n## Endpoints\nThe full documentation can be found [here](https://www.boredapi.com/documentation), but listed below are a few of the endpoints.\n\n#### Random event\nGets a random event\n```\n/api/activity/\n```\nResponse:\n```\n{\n  \"activity\": \"Learn Express.js\",\n  \"accessibility\": 0.25,\n  \"type\": \"education\",\n  \"participants\": 1,\n  \"price\": 0.1,\n  \"link\": \"https://expressjs.com/\",\n  \"key\": \"3943506\"\n}\n```\n\n#### Get by type\nQuery for events by a certain type\n```\n/api/activity?type=:type\n```\nResponse:\n```\n{\n  \"activity\": \"Learn how to play a new sport\",\n  \"accessibility\": 0.2,\n  \"type\": \"sports\",\n  \"participants\": 1,\n  \"price\": 0.1,\n  \"key\": \"5808228\"\n}\n```\n\n---\n## Using\nTo set up your own Bored API, clone the app, start your MongoDB instance, and run:\n```bash\nnpm install\nnpm start\n# Started on port 8080\n```\n\n---\n## Contributing\nAll help is welcome! A pull request or a new issue would be very appreciated. If you want to add more activities, I've created a UI on the [website](https://www.boredapi.com/contributing) to make suggesting easy.\n\n---\n## Usage\nThe Bored API has been used in many other applications and projects:\n\n* [I'm Bored Alexa skill](https://www.amazon.com/gp/product/B07GDL9MP4?ie=UTF8\u0026ref-suffix=ss_rw)\n* [Python wrapper](https://pypi.org/project/bored/)\n* [Kotlin wrapper](https://gitlab.com/CMDR_Tvis/bored-api)\n* [React app](https://github.com/CDAracena/Im-Bored)\n* [Vue app](https://github.com/emilsgulbis/BoredApp)\n* [iOS app](https://apps.apple.com/us/app/bored-find-what-to-do/id1475656469)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewthoennes%2FBored-API","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrewthoennes%2FBored-API","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewthoennes%2FBored-API/lists"}