{"id":22891545,"url":"https://github.com/ix76y/urlscan-rs","last_synced_at":"2025-09-09T18:16:09.932Z","repository":{"id":62465569,"uuid":"559619431","full_name":"Ix76y/urlscan-rs","owner":"Ix76y","description":"Rust wrapper for URLScan.io API","archived":false,"fork":false,"pushed_at":"2024-04-21T17:20:12.000Z","size":49,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-26T15:44:26.167Z","etag":null,"topics":["api","rust","rust-lang","rust-library","urlscan-api","urlscan-io"],"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/Ix76y.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","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":"2022-10-30T17:14:50.000Z","updated_at":"2025-05-07T13:47:36.000Z","dependencies_parsed_at":"2025-02-07T00:38:33.583Z","dependency_job_id":null,"html_url":"https://github.com/Ix76y/urlscan-rs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Ix76y/urlscan-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ix76y%2Furlscan-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ix76y%2Furlscan-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ix76y%2Furlscan-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ix76y%2Furlscan-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ix76y","download_url":"https://codeload.github.com/Ix76y/urlscan-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ix76y%2Furlscan-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274340783,"owners_count":25267295,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","rust","rust-lang","rust-library","urlscan-api","urlscan-io"],"created_at":"2024-12-13T22:34:22.438Z","updated_at":"2025-09-09T18:16:09.904Z","avatar_url":"https://github.com/Ix76y.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# urlscan-rs\n\n[![Build Status](https://github.com/Ix76y/urlscan-rs/actions/workflows/rust.yml/badge.svg)](https://github.com/Ix76y/urlscan-rs/actions/workflows/rust.yml)\n![Crates.io](https://img.shields.io/crates/v/urlscan?style=plastic)\n[![GitHub license](https://img.shields.io/github/license/Ix76y/urlscan-rs?style=plastic)](https://github.com/Ix76y/urlscan-rs/blob/main/LICENSE)\n![Release](https://img.shields.io/github/v/release/Ix76y/urlscan-rs?color=blue\u0026include_prereleases\u0026style=plastic)\n\n## Rust wrapper for URLScan.io API\n\nProvides an abstraction over the URLScan.io API. \nThis library supports the following tasks:\n- [x] Get Quota\n- [x] Submit URL to be scanned\n- [x] Get JSON Result of scan as String\n- [x] Get DOM of previously scanner URL by UUID\n- [x] Get Screenshot of page\n- [x] Search functionality\n\n\n## Examples\n### Get your current quota with limits:\n```rust\nlet client = UrlScanClient::new(\"YOUR-API-KEY-HERE\");\nlet response = client.get_quota();\nmatch response {\n    Ok(quota) =\u003e println!(\"{}\", quota),\n    _ =\u003e println!(\"We got an error...\"),\n}\n```\n\n### Submitting a URL to be scanned:\n```rust\nlet client = UrlScanClient::new(API_KEY);\nlet response = client.scan_url(\"www.url-you-want-to-check.rust\", \"public\", vec![]);\nmatch response {\n    Ok(submission) =\u003e println!(\"{}\", submission),\n    _ =\u003e println!(\"We got an error...\"),\n}\n```\n\n**Example Output:**\n```\nSubmission successful. \nUUID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\nView Result: https://urlscan.io/result/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/\n```\n\n### Getting the DOM:\n```rust\nlet client = UrlScanClient::new(API_KEY);\n// submit a URL to get a \"submission\" back or directly add the UUID:\nlet uuid = submission.uuid;\n\nlet response = client.get_dom(uuid);\nmatch response {\n    Ok(dom) =\u003e println!(\"{}\", dom),\n    _ =\u003e println!(\"There was an error, maybe scan is still running.\"),\n}\n```\n\n### Searching Scans:\n```rust\nlet client = UrlScanClient::new(API_KEY);\nlet response = client.search_scans(\"domain:urlscan.io\", Some(2));\nmatch response {\n    Ok(result) =\u003e println!(\"{}\", result),\n    _ =\u003e println!(\"Something went wrong :(\"),\n}\n```\n\n## FAQs\n- How do I get a URLScan.io API Key? \nCreate an URLScan.io account and then go to [Settings \u0026 API](https://urlscan.io/user/profile/) to get your API key.\n- Is the URLScan.io API key free? Yes, URLScan.io has free API keys that are limited by time. If you reach the limit you can pay for unlimited requests.\n\n\n**License**: MIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fix76y%2Furlscan-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fix76y%2Furlscan-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fix76y%2Furlscan-rs/lists"}