{"id":13629669,"url":"https://github.com/thoughtbot/clearbit","last_synced_at":"2026-01-15T01:23:44.225Z","repository":{"id":66022035,"uuid":"52463903","full_name":"thoughtbot/clearbit","owner":"thoughtbot","description":"Go client library and command line interface to the Clearbit API","archived":true,"fork":false,"pushed_at":"2017-08-14T19:50:23.000Z","size":54,"stargazers_count":30,"open_issues_count":3,"forks_count":11,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-17T23:07:58.737Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/thoughtbot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2016-02-24T18:14:03.000Z","updated_at":"2023-04-25T19:27:08.000Z","dependencies_parsed_at":"2023-02-21T01:00:28.244Z","dependency_job_id":null,"html_url":"https://github.com/thoughtbot/clearbit","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/thoughtbot/clearbit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoughtbot%2Fclearbit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoughtbot%2Fclearbit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoughtbot%2Fclearbit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoughtbot%2Fclearbit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thoughtbot","download_url":"https://codeload.github.com/thoughtbot/clearbit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoughtbot%2Fclearbit/sbom","scorecard":{"id":883067,"data":{"date":"2025-08-11","repo":{"name":"github.com/thoughtbot/clearbit","commit":"f39e9a52f17f4a256280f25d9f56f82320f72140"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"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":"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":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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 1/26 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":"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":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info:   1 out of   1 goCommand dependencies pinned"],"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":"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":"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"}},{"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:0","Info: FSF or OSI recognized license: MIT License: LICENSE: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 'master'"],"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 18 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"}}]},"last_synced_at":"2025-08-24T08:57:49.454Z","repository_id":66022035,"created_at":"2025-08-24T08:57:49.454Z","updated_at":"2025-08-24T08:57:49.454Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28441031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"ssl_error","status_checked_at":"2026-01-15T00:55:20.945Z","response_time":107,"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":[],"created_at":"2024-08-01T22:01:16.141Z","updated_at":"2026-01-15T01:23:44.199Z","avatar_url":"https://github.com/thoughtbot.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"clearbit\n========\n\n[![GoDoc Reference](https://godoc.org/github.com/thoughtbot/clearbit?status.svg)][GoDoc]\n[![Circle CI](https://circleci.com/gh/thoughtbot/clearbit.svg?style=shield)](https://circleci.com/gh/thoughtbot/clearbit)\n\n`clearbit` is a client library and command-line interface\nfor the [Clearbit] API.\n\n[Clearbit]: https://clearbit.com/\n\nInstall for the command line\n----------------------------\n\nFor OS X users, you can install and upgrade through the Homebrew package:\n\n```\nbrew tap thoughtbot/formulae\nbrew update\nbrew install clearbit\n```\n\nOr, for anyone with Go installed, you can install from the command-line:\n\n```\ngo get -u github.com/thoughtbot/clearbit/cmd/clearbit\n```\n\nThen, store your [Clearbit API key][clearbit-api-key] in `~/.clearbit_key`.\n\nUsage from the command line\n---------------------------\n\nUse the subcommands to interact with the different\n[Clearbit API endpoints][clearbit-api].\n\nGet detailed information about a person from their email address:\n\n```\n$ clearbit enrich b@thoughtbot.com\n```\n\nGet data about a company from its domain:\n\n```\n$ clearbit enrich thoughtbot.com\n```\n\nGet contact details for a company ([role \u0026 seniority picklist][role-seniority]):\n\n```\n$ clearbit prospect -role marketing -seniority executive thoughtbot.com\n```\n\nSince each command produces JSON as its output,\nthe `clearbit` command pairs nicely with [`jq`][jq] for processing.\n\nGet company copy-pasteable company contacts:\n\n```\n$ clearbit prospect thoughtbot.com |\n    jq '.[] | \"\\(.name.fullName) \u003c\\(.email)\u003e\"'\n```\n\nRun `clearbit help [subcommand]` for details on additional options.\n\n  [clearbit-api]: https://clearbit.com/docs\n  [clearbit-api-key]: https://dashboard.clearbit.com/keys\n  [jq]: https://stedolan.github.io/jq/\n\nUsage from Go\n-------------\n\nThe `clearbit` package exposes types for interacting with the Clearbit API and\nthe data it returns.\n\n```go\nimport \"github.com/thoughtbot/clearbit\"\n\nclient, _ := clearbit.NewClient(os.Getenv(\"CLEARBIT_API_KEY\"))\n\nbernerd, _ := client.EnrichPerson(\"b@thoughtbot.com\")\nthoughtbot, _ := client.EnrichCompany(bernerd.Employment.Domain)\n\nprospects, _ := client.Prospect(clearbit.ProspectQuery{\n  Domain: \"thoughtbot.com\",\n  Titles: []string{\"CEO\", \"CTO\", \"VP\"},\n})\n\nfor _, prospect := range prospects {\n  prospectDetails, _ := client.EnrichPerson(prospect.Email)\n}\n```\n\nFor detailed API documentation, [read the go docs][GoDoc].\n\n  [GoDoc]: https://godoc.org/github.com/thoughtbot/clearbit\n\nContributing\n------------\n\nWe love pull requests from everyone.\nBy participating in this project,\nyou agree to abide by the thoughtbot [code of conduct].\n\n[code of conduct]: https://thoughtbot.com/open-source-code-of-conduct\n\nWe expect everyone to follow the code of conduct\nanywhere in thoughtbot's project codebases,\nissue trackers, chatrooms, and mailing lists.\n\nLicense\n-------\n\n`clearbit` is Copyright (c) 2016 thoughtbot, inc. It is free software,\nand may be redistributed under the terms specified in the [LICENSE] file.\n\n[LICENSE]: /LICENSE\n\nAbout\n-----\n\n`clearbit` is maintained by Bernerd Schaefer and [thoughtbot's Go development team].\n\n[thoughtbot's Go development team]: \u003chttps://thoughtbot.com/services/go\u003e  \"Go development team | Hire thoughtbot Gophers\"\n\n![thoughtbot](http://presskit.thoughtbot.com/images/thoughtbot-logo-for-readmes.svg)\n\nThe names and logos for thoughtbot are trademarks of thoughtbot, inc.\n\nWe love open source software!\nSee [our other projects][community]\nor [hire us][hire] to help build your product.\n\n[community]: https://thoughtbot.com/community?utm_source=github\n[hire]: https://thoughtbot.com/hire-us?utm_source=github\n[role-seniority]: http://support.clearbit.com/article/120-employment-role-and-seniority\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthoughtbot%2Fclearbit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthoughtbot%2Fclearbit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthoughtbot%2Fclearbit/lists"}