{"id":13725752,"url":"https://github.com/dank/tarkov","last_synced_at":"2025-05-07T20:34:52.686Z","repository":{"id":57669282,"uuid":"233510904","full_name":"dank/tarkov","owner":"dank","description":"A Rust library for the Escape from Tarkov API","archived":false,"fork":false,"pushed_at":"2020-10-02T23:57:59.000Z","size":365,"stargazers_count":133,"open_issues_count":4,"forks_count":19,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-05-07T00:34:19.215Z","etag":null,"topics":["api","bot","eft","escape-from-tarkov","escapefromtarkov","sdk","tarkov"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/dank.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":"buymeacoff.ee/ddd"}},"created_at":"2020-01-13T04:27:13.000Z","updated_at":"2024-10-14T10:09:07.000Z","dependencies_parsed_at":"2022-09-26T20:40:50.248Z","dependency_job_id":null,"html_url":"https://github.com/dank/tarkov","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dank%2Ftarkov","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dank%2Ftarkov/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dank%2Ftarkov/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dank%2Ftarkov/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dank","download_url":"https://codeload.github.com/dank/tarkov/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252953718,"owners_count":21830891,"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","bot","eft","escape-from-tarkov","escapefromtarkov","sdk","tarkov"],"created_at":"2024-08-03T01:02:33.706Z","updated_at":"2025-05-07T20:34:52.255Z","avatar_url":"https://github.com/dank.png","language":"Rust","funding_links":["buymeacoff.ee/ddd"],"categories":["Rust"],"sub_categories":[],"readme":"# Tarkov\n[![Crates.io](https://img.shields.io/crates/v/tarkov)](https://crates.io/crates/tarkov)\n[![Documentation](https://docs.rs/tarkov/badge.svg)](https://docs.rs/tarkov)\n[![Crates.io](https://img.shields.io/crates/l/tarkov)](LICENSE)\n\nAn unofficial client library for the [Escape from Tarkov](https://escapefromtarkov.com) (EFT) API.\n\nNote: The game updates faster than I can update this crate. Make sure the `GAME_VERSION` and `LAUNCHER_VERSION` consts are up to date.\n\n## Features\n- [x] Authentication\n- [x] Flea market\n- [x] Traders\n- [ ] Hideout\n- [ ] Inventory management (equip, move, delete, etc)\n- [ ] Messenger\n- [ ] Quests\n\n## Getting Started\n\nComprehensive examples can be found in the [`examples`](examples) directory.\n\n### Usage\nAdd this to your `Cargo.toml`:\n```\n[dependencies]\ntarkov = \"0.1\"\n```\n\n### Authentication\n![Authentication flowchart](flow.png)\nThere are three ways to authenticate your EFT account for `tarkov`:\n1. Email \u0026 password is the easiest way to authenticate your account. However, a captcha and 2FA code may be required. Read the [HWID section](#hardware-id) for more details.\n2. Access token or Bearer token can be found by sniffing EFT launcher traffic. HWID from the launcher is required.\n3. Session is a cookie called `PHPSESSID`, it can be found by sniffing EFT launcher traffic. HWID is not required for this method.\n\n**Your _PMC_ character profile must be selected with `select_profile` to complete the authentication.**\n\n### Hardware ID\nHardware ID (HWID) may be required on authentication, it can either be sniffed from the EFT launcher or generated. It's recommended to save the HWID in a _persistent store_ and reuse it after the first successful authentication.\n\nUsing a fresh HWID means both captcha and 2FA code will be required on your first login attempt. This can be avoid by using the HWID generated by the EFT launcher or authenticating with your session cookie.\n\n### Captcha\nThis library does not attempt to solve captchas for you, the `g-recaptcha-response` token from reCAPTCHA may be required on authentication.\n\nreCAPTCHA can be solved externally using tools like [captcha-harvester](https://github.com/dzt/captcha-harvester).\n\n### Rust Version\n`tarkov` has a minimum version requirement of `1.40`.\n\n## \"Unofficial\"\n\nI should emphasize that this library is _unofficial_. EFT does not have a public API, everything in this repo was reversed from the game.\n\nThe API is clearly designed for internal use. It contains numerous spelling mistakes, inconsistent conventions, and tons of bad practice JSON. The developers may push breaking changes without prior warning.\n\n## License\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdank%2Ftarkov","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdank%2Ftarkov","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdank%2Ftarkov/lists"}