{"id":13842315,"url":"https://github.com/spyse-com/go-spyse","last_synced_at":"2026-04-10T10:12:48.170Z","repository":{"id":46759771,"uuid":"348293675","full_name":"spyse-com/go-spyse","owner":"spyse-com","description":"The official wrapper for spyse.com API, written in Go, aimed to help developers build their integrations with Spyse. ","archived":false,"fork":false,"pushed_at":"2021-10-26T12:59:45.000Z","size":138,"stargazers_count":28,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-07-11T15:55:20.912Z","etag":null,"topics":["cybersecurity","osint","reconnaissance","spyse"],"latest_commit_sha":null,"homepage":"https://spyse.com","language":"Go","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/spyse-com.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-16T09:52:39.000Z","updated_at":"2024-04-22T06:00:29.000Z","dependencies_parsed_at":"2022-09-26T19:43:26.564Z","dependency_job_id":null,"html_url":"https://github.com/spyse-com/go-spyse","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/spyse-com/go-spyse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spyse-com%2Fgo-spyse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spyse-com%2Fgo-spyse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spyse-com%2Fgo-spyse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spyse-com%2Fgo-spyse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spyse-com","download_url":"https://codeload.github.com/spyse-com/go-spyse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spyse-com%2Fgo-spyse/sbom","scorecard":{"id":842950,"data":{"date":"2025-08-11","repo":{"name":"github.com/spyse-com/go-spyse","commit":"a0553fbeccf31a0302a0361277ca564c55000b71"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/9 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T20:52:02.555Z","repository_id":46759771,"created_at":"2025-08-23T20:52:02.556Z","updated_at":"2025-08-23T20:52:02.556Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31637822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: 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":["cybersecurity","osint","reconnaissance","spyse"],"created_at":"2024-08-04T17:01:31.916Z","updated_at":"2026-04-10T10:12:48.155Z","avatar_url":"https://github.com/spyse-com.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Spyse API wrapper for Go\n\nThe official wrapper for [spyse.com](https://spyse.com/) API, written in Golang, aimed to help developers build their\nintegrations with Spyse.\n\n[Spyse](https://spyse.com/) is the most complete Internet assets search engine for every cybersecurity\nprofessional.\n\nExamples of data Spyse delivers:\n\n* List of 300+ most popular open ports found on 3.5 Billion publicly accessible IPv4 hosts.\n* Technologies used on 300+ most popular open ports and IP addresses and domains using a particular technology.\n* Security score for each IP host and website, calculated based on the found vulnerabilities.\n* List of websites hosted on each IPv4 host.\n* DNS and WHOIS records of the domain names.\n* SSL certificates provided by the website hosts.\n* Structured content of the website homepages.\n* Abuse reports associated with IPv4 hosts.\n* Organizations and industries associated with the domain names.\n* Email addresses found during the Internet scanning, associated with a domain name.\n\nMore information about the data Spyse collects is available on the [Our data](https://spyse.com/our-data) page.\n\nSpyse provides an API accessible via **token-based authentication**.\nAPI tokens are **available only for registered users** on their [account page](https://spyse.com/user).\n\nFor more information about the API, please check the [API Reference](https://spyse-dev.readme.io/reference/quick-start).\n\n## Installation\n\n```bash\ngo get github.com/spyse-com/go-spyse\n```\n\n## Quick start\n```go\n// Add import\nimport \"github.com/spyse-com/go-spyse/pkg\"\n// ...\n\n// Use your API key to init the client\nclient, err := spyse.NewClient(\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\", nil)\n\n// Create a new service suitable for your case\nsvc := spyse.NewDomainService(client)\n\n// Fetch all information about the domain\ndetails, err := svc.Details(context.Background(), \"tesla.com\")\n// ...\n```\n\n## Examples\n\nAccount:\n- [Check your API quotas](./examples/account/main.go)\n\nTarget info:\n- [IP details](./examples/ip_details/main.go)\n- [Domain details](./examples/domain_details/main.go)\n- [Autonomous System details](./examples/as_details/main.go)\n\nSearch with params (up to 10 000 results):\n- [Subdomains lookup](./examples/domain_subdomains/main.go)\n- [Search domains by technology](./examples/domains_with_technology/main.go)\n- [Search emails by domain name](./examples/emails_search/main.go)\n- [Search IPv4 hosts with specific open port](./examples/ips_with_open_port/main.go)\n- [Search IPv4 hosts by geolocation](./examples/ips_by_country/main.go)\n\nScroll search (unlimited results):\n- [Subdomains lookup using scroll API](./examples/domain_subdomains_via_scroll/main.go)\n- [Search domains by with different suffixes](examples/domains_with_different_suffix_via_scroll/main.go)\n\n\nHistorical records:\n- [Domain DNS history](./examples/domain_history_dns/main.go)\n\nBulk Search:\n- [Bulk search domains / IPv4 hosts](./examples/bulk_search/main.go)\n\nNote: You need to pass access_token as an argument to run any example:\n```bash\ngo run ./examples/domain_details/main.go --access_token=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n```\n\n\n## Errors handling\nTo properly handle Spyse errors, assert them to `spyse.ErrResponse` and then check the \"Code\" field.\n```go\nspyseError := err.(*spyse.ErrResponse)\n// Error message, e.g. \"wrong access token provided\"\nprintln(spyseError.Err.Message)\n// Status code for request to API, e.g. 401\nprintln(spyseError.Err.Status)\n// Error text code, e.g. \"unauthorized\"\nprintln(spyseError.Err.Code)\n\n// Check for \"limit reached\" error\nif spyseError.Err.Code == spyse.CodeRequestsLimitReached {\n// ...\n}\n```\n\nA list of error codes can be found in [pkg/error.go](pkg/error.go)\n\n## Testing\n\nRun tests:\n```bash\ngo test $(go list ./... | grep -v /examples/)\n```\n\nRun tests and create code coverage report:\n```bash\ngo test $(go list ./... | grep -v /examples/) -race -coverprofile=coverage.txt -covermode=atomic\n```\n\n## Covered API endpoints\n\nAll the available API methods are fully supported.\n\n\n## License\n\nDistributed under the MIT License. See [LICENSE](./LICENSE.md) for more information.\n\n## Troubleshooting and contacts\n\nFor any proposals and questions, please write at:\n\n- Email: [contact@spyse.com](contact@spyse.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspyse-com%2Fgo-spyse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspyse-com%2Fgo-spyse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspyse-com%2Fgo-spyse/lists"}