{"id":22861533,"url":"https://github.com/br-g/openf1","last_synced_at":"2026-01-11T23:01:38.758Z","repository":{"id":196982075,"uuid":"697362239","full_name":"br-g/openf1","owner":"br-g","description":"OpenF1 API - Real-time and historical Formula 1 data","archived":false,"fork":false,"pushed_at":"2026-01-10T20:56:42.000Z","size":592,"stargazers_count":1090,"open_issues_count":22,"forks_count":86,"subscribers_count":28,"default_branch":"main","last_synced_at":"2026-01-11T05:08:25.241Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/br-g.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["br-g"],"custom":["https://www.buymeacoffee.com/openf1"]}},"created_at":"2023-09-27T15:16:14.000Z","updated_at":"2026-01-10T20:56:21.000Z","dependencies_parsed_at":"2023-10-04T21:44:31.878Z","dependency_job_id":"6d1d4574-c71a-4acf-9388-d4dc6f39fc72","html_url":"https://github.com/br-g/openf1","commit_stats":null,"previous_names":["br-g/openf1"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/br-g/openf1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/br-g%2Fopenf1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/br-g%2Fopenf1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/br-g%2Fopenf1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/br-g%2Fopenf1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/br-g","download_url":"https://codeload.github.com/br-g/openf1/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/br-g%2Fopenf1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28326166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T22:11:01.104Z","status":"ssl_error","status_checked_at":"2026-01-11T22:10:58.990Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-12-13T10:01:42.957Z","updated_at":"2026-01-11T23:01:38.750Z","avatar_url":"https://github.com/br-g.png","language":"Python","funding_links":["https://github.com/sponsors/br-g","https://www.buymeacoffee.com/openf1"],"categories":["Python","Formula 1"],"sub_categories":["APIs and Libraries"],"readme":"# OpenF1 API\n\n**OpenF1** is a free and open-source API that offers real-time and historical Formula 1 data.\u003cbr /\u003e\nWhether you're a developer, data analyst, or F1 enthusiast, OpenF1 provides comprehensive\naccess to lap timings, car telemetry, driver information, race control messages, and more.\n\nExplore the data through JSON or CSV formats to build dashboards, analyze races, or\nintegrate F1 data into your projects.\n\nFor full API documentation, visit [openf1.org](https://openf1.org).\n\n## Key Features\n\n- **Real-Time Data**: Stay updated with live lap times, speeds, and driver positioning.\n- **Historical Data**: Analyze past races, compare performance over seasons, and dive deep into race strategy.\n- **Car Telemetry**: Access in-depth car data, including throttle, brake, DRS, and gear information.\n- **Driver Information**: Get details on F1 drivers, including team affiliations and performance metrics.\n\n## Example Usage\n\nHere’s a quick example of how to fetch lap data for a specific driver using the API:\n\n```bash\ncurl \"https://api.openf1.org/v1/laps?session_key=9161\u0026driver_number=63\u0026lap_number=8\"\n```\n\nFor more detailed examples and documentation, visit the [API Documentation](https://openf1.org).\n\n## Running the project locally\n\n1. Install and start [MongoDB Community Server](https://www.mongodb.com/try/download/community) v7 or v8\n\n2. Install pip\u003e=23 and python\u003e=3.10\n\n3. Install the OpenF1 python package\n\n```bash\ngit clone git@github.com:br-g/openf1.git\npip install -e openf1\n```\n\n4. Configure the MongoDB connection\n\nSet the **MONGO_CONNECTION_STRING** environment variable to connect to your local MongoDB instance:\n\n```bash\nexport MONGO_CONNECTION_STRING=\"mongodb://localhost:27017\"\n```\n\n5. Run the project\n\n- Fetch and ingest scraped data: [services/f1_scraping/](src/openf1/services/f1_scraping/README.md)\n- Fetch and ingest live timing data: [services/ingestor_livetiming/](src/openf1/services/ingestor_livetiming/README.md)\n- Start and query the API: [services/query_api/](src/openf1/services/query_api/README.md)\n\n## Supporting OpenF1\n\nIf you find this project useful, consider supporting its long-term sustainability:\n\n\u003cdiv\u003e\n  \u003ca href=\"https://www.buymeacoffee.com/openf1\" target=\"_blank\" style=\"text-decoration:none; border:none;\"\u003e\n    \u003cimg src=\"https://storage.googleapis.com/openf1-public/images/bmec_button.png\" alt=\"Buy Me A Coffee\" height=\"32\" style=\"border:none; vertical-align:middle;\"\u003e\n  \u003c/a\u003e\n  \u0026nbsp;\n  \u003ca href=\"https://github.com/sponsors/br-g\" style=\"text-decoration:none; border:none;\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Sponsor-%E2%9D%A4-brightgreen\" alt=\"Sponsor me\" height=\"32\" style=\"border:none; vertical-align:middle;\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n## Disclaimer\n\nOpenF1 is an unofficial project and is not affiliated with Formula 1 companies.\nAll F1-related trademarks are owned by Formula One Licensing B.V.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbr-g%2Fopenf1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbr-g%2Fopenf1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbr-g%2Fopenf1/lists"}