{"id":20879211,"url":"https://github.com/7c/dynadot","last_synced_at":"2026-02-19T06:30:47.314Z","repository":{"id":57217593,"uuid":"228229337","full_name":"7c/dynadot","owner":"7c","description":"Dynadot javascript api wrapper","archived":false,"fork":false,"pushed_at":"2025-12-03T22:17:03.000Z","size":94,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-07T04:20:50.137Z","etag":null,"topics":["api-client","domain","dynadot","registrar"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/7c.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2019-12-15T18:14:00.000Z","updated_at":"2025-12-03T22:16:02.000Z","dependencies_parsed_at":"2024-02-08T20:24:27.909Z","dependency_job_id":"a708823e-d6ee-40d0-8733-576d7e240e94","html_url":"https://github.com/7c/dynadot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/7c/dynadot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fdynadot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fdynadot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fdynadot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fdynadot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/7c","download_url":"https://codeload.github.com/7c/dynadot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fdynadot/sbom","scorecard":{"id":5793,"data":{"date":"2025-08-11","repo":{"name":"github.com/7c/dynadot","commit":"6189e533a80ad1146895b532201e1a25740e3022"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.1,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/20 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":"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":"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":"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":-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":"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":"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":"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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 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-14T13:30:36.419Z","repository_id":57217593,"created_at":"2025-08-14T13:30:36.419Z","updated_at":"2025-08-14T13:30:36.419Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29604761,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T05:11:50.834Z","status":"ssl_error","status_checked_at":"2026-02-19T05:11:38.921Z","response_time":117,"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":["api-client","domain","dynadot","registrar"],"created_at":"2024-11-18T07:15:34.615Z","updated_at":"2026-02-19T06:30:47.287Z","avatar_url":"https://github.com/7c.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dynadot API\napi version 3 wrapper which converts their XML response to JSON. Docs at https://www.dynadot.com/domain/api-commands\n\n\n# Install\n```\nnpm install --save https://github.com/7c/dynadot\n```\n\n# Embed\n```\nconst Dynadot = require('dynadot')\nconst dynadot = new Dynadot('\u003cAPIKEY\u003e')\n```\n\n# Methods\n\n## listDomains() \u003cPromise\u003e\nretrieves all domains from Dynadot and returns them (if success) as an object with domain as key, this way you can lookup very fast. Dynadot returns all the information for all domains, all you need to do is to find the domain by its index as domainname.\n```\nvar allDomains = await dynadot.listDomains()\n```\n\n## setNameserver(domain,['ns1','ns2'...]) \u003cPromise\u003e\n```\nawait dynadot.setNameserver('temp.com',['ns1.com','ns2.com'])\n```\n\n## registerDomain(domainName,durationYears, currency='USD',allowPremium=false, coupon=false) \n```\nawait dynadot.registerDomain('yourdomain.com',1)\n// success\n{\"RegisterHeader\":{\"SuccessCode\":\"0\",\"Status\":\"success\"},\"RegisterContent\":{\"Expiration\":\"1738627199000\"}}\n// errors\n{\"RegisterHeader\":{\"SuccessCode\":\"1\",\"Status\":\"not_available\"}}\n{\"RegisterHeader\":{\"SuccessCode\":\"-1\",\"Status\":\"error\",\"Error\":\"this domain is a premium domain, please use premium option\"}}\n{\"RegisterHeader\":{\"SuccessCode\":\"5\",\"Status\":\"system_busy\"}}\n```\n\n## tldPrices(currency='USD') \n```\nawait dynadot.tldPrices()\n```\n\n\n## deleteDomain(domainName)\nimportant: only grace-period domains can be deleted at dynadot. other domains or transfered domains cannot be deleted with this method.(check dynadot statement)\n```\nawait dynadot.deleteDomain('yourdomain.com')\n\n// success\n{ DeleteHeader: { SuccessCode: '0', Status: 'success' } }\n{\"DeleteHeader\":{\"SuccessCode\":\"1\",\"Status\":\"grace_expired\"}}\n\n// errors\n{\"DeleteHeader\":{\"SuccessCode\":\"-1\",\"Status\":\"error\",\"Error\":\"could not find domain in your account\"}}\n{\"DeleteHeader\":{\"SuccessCode\":\"-1\",\"Status\":\"error\",\"Error\":\"Please unlock your domain firstly.\"}}\n{\"DeleteHeader\":{\"SuccessCode\":\"-1\",\"Status\":\"error\",\"Error\":\"problem with connection to main server\"}}\n{\"DeleteHeader\":{\"SuccessCode\":\"-1\",\"Status\":\"error\",\"Error\":\"connection to main server is busy\"}}\n{\"DeleteHeader\":{\"SuccessCode\":\"-1\",\"Status\":\"error\",\"Error\":\"connection to main server is offline\"}}\n\n``` \n\n## getTransferAuthCode(domainName,new_code=false,unlock_domain_for_transfer=true)\n```\nawait dynadot.getTransferAuthCode('yourdomain.com')\n// success\n{\"GetTransferAuthCodeResponse\":{\"GetTransferAuthCodeHeader\":{\"SuccessCode\":\"0\",\"Status\":\"success\",\"AuthCode\":\"e478582Zu663762\"}}}\n//errors\n{\"GetTransferAuthCodeResponse\":{\"GetTransferAuthCodeHeader\":{\"SuccessCode\":\"-1\",\"Status\":\"error\",\"Error\":\"need api skip lock agreement for using unlock_domain_for_transfer tag.\"}}}\n```\n\n## renewDomain(domainName,durationYears=1)\n```\nawait dynadot.renewDomain('yourdomain.com')\n// success\n{\"RenewResponse\":{\"RenewHeader\":{\"SuccessCode\":\"0\",\"Status\":\"success\"},\"RenewContent\":{\"Expiration\":\"1738627199000\"}}}\n// errors\n{\"RenewResponse\":{\"RenewHeader\":{\"SuccessCode\":\"-1\",\"Status\":\"error\",\"Error\":\"could not find domain in your account\"}}}\n\n```\n\n## unlockDomain(domainName)\nthis will use the getTransferAuthCode method with new_code=false and unlock_domain_for_transfer=true to unlock the domain for transfer because dynadot does not have a separate method for this.\n```\nawait dynadot.unlockDomain('yourdomain.com')\n// success\n{GetTransferAuthCodeResponse: {GetTransferAuthCodeHeader: { SuccessCode: '0', Status: 'success', AuthCode: 'xxxx' }}}\n// errors\n{\n  GetTransferAuthCodeResponse: {GetTransferAuthCodeHeader: {\n      ResponseCode: '-1',\n      Status: 'error',\n      Error: 'could not find domain in your account or domain expired for more than 30 days.'}}\n}\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7c%2Fdynadot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F7c%2Fdynadot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7c%2Fdynadot/lists"}