{"id":5799989,"name":"JamesIves/fetch-api-data-action","ecosystem":"actions","description":"This action will handle authenticated API requests, allowing you to save the data from the request into your workspace.","homepage":"https://github.com/marketplace/actions/fetch-api-data","licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/JamesIves/fetch-api-data-action","keywords_array":["action","actions","api","cicd","continuous-delivery","fetch","github-action","github-actions","github-actions-typescript","hacktoberfest","workflow","workflow-configuration"],"namespace":"JamesIves","versions_count":31,"first_release_published_at":"2020-03-06T15:16:59.000Z","latest_release_published_at":"2026-01-16T10:44:10.000Z","latest_release_number":"v2.5.0","last_synced_at":"2026-05-24T21:49:42.680Z","created_at":"2023-01-04T11:46:48.460Z","updated_at":"2026-05-24T21:49:42.680Z","registry_url":"https://github.com/JamesIves/fetch-api-data-action","install_command":null,"documentation_url":null,"metadata":{"name":"Fetch API Data","description":"This action will handle authenticated API requests, allowing you to save the data from the request into your workspace.","author":"James Ives \u003ciam@jamesiv.es\u003e","runs":{"using":"node24","main":"lib/main.js"},"branding":{"icon":"truck","color":"purple"},"inputs":{"endpoint":{"description":"The URL of the endpoint you would like to retrieve data from.","required":true},"configuration":{"description":"Any applicable configuration settings that should be set such as authentication tokens. You can reference secrets using the secrets syntax, or you can reference data returned from the `TOKEN_ENDPOINT` request using the triple bracket syntax.","required":false},"token-endpoint":{"description":"If the `ENDPOINT` API requires you to make a request to get an access token prior to fetching data you can perform this task by specifying a token endpoint. Any data returned from the token end can be referenced in the `CONFIGURATION` variable using the triple bracket syntax.","required":false},"token-configuration":{"description":"Any applicable configuration settings that should be set such as authentication tokens. You can reference secrets using the secrets syntax.","required":false},"retry":{"description":"If you are working with an intermittent API you can toggle this option to true. Doing so will make the action try the request 3 times at random invervals before failing.","required":false},"save-location":{"description":"By default the save location of the JSON file is `fetch-api-data-action/data.json`, if you would like to override the directory you can do so by specifying a new one with this variable.","required":false},"save-name":{"description":"You can override the name of the exported `.json` file by specifying a new one here. You should _not_ include the file extension in your name.","required":false},"variable-name":{"description":"You can override the name of the variable name the action exports. This will work so long as set-output is true.","required":false},"set-output":{"description":"Determines if the returned data should be saved as an environment variable or not. This field defaults to `true`, but depending on your API response length you may need to toggle this.","required":false,"default":"true"},"debug":{"description":"If set to true the action will log the API responses it receives in the terminal.","required":false},"format":{"description":"Allows you to modify the format of the saved file, for example you can use txt here to save the file as a txt file. This field defaults to json.","required":false},"encoding":{"description":"Allows you to specify the encoding the saved file, can be of type BufferEncoding: \"ascii\" | \"utf8\" | \"utf-8\" | \"utf16le\" | \"ucs2\" | \"ucs-2\" | \"base64\" | \"latin1\" | \"binary\" | \"hex\".","required":false}},"outputs":{"fetchApiData":{"description":"The requested data from the API stored as a string."}},"default_branch":"dev","path":null},"repo_metadata":{"id":37820929,"uuid":"245163432","full_name":"JamesIves/fetch-api-data-action","owner":"JamesIves","description":"🚚  GitHub action for handling authenticated API requests, allowing you to save the data from the request into your workspace as an environment variable and a .json file.","archived":false,"fork":false,"pushed_at":"2026-04-02T10:03:51.000Z","size":36413,"stargazers_count":125,"open_issues_count":9,"forks_count":16,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2026-04-02T15:07:58.560Z","etag":null,"topics":["action","actions","api","cicd","continuous-delivery","fetch","github-action","github-actions","github-actions-typescript","hacktoberfest","workflow","workflow-configuration"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/fetch-api-data","language":"TypeScript","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/JamesIves.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","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},"funding":{"github":["JamesIves"]}},"created_at":"2020-03-05T12:56:46.000Z","updated_at":"2026-04-02T02:08:59.000Z","dependencies_parsed_at":"2023-11-28T04:24:44.733Z","dependency_job_id":"dcec5e40-c87a-45c8-8c37-c197f1e2ca6b","html_url":"https://github.com/JamesIves/fetch-api-data-action","commit_stats":{"total_commits":623,"total_committers":7,"mean_commits":89.0,"dds":0.5810593900481541,"last_synced_commit":"477a7ba13916cb011c00db4b9da88acb34da73d0"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/JamesIves/fetch-api-data-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesIves%2Ffetch-api-data-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesIves%2Ffetch-api-data-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesIves%2Ffetch-api-data-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesIves%2Ffetch-api-data-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JamesIves","download_url":"https://codeload.github.com/JamesIves/fetch-api-data-action/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesIves%2Ffetch-api-data-action/sbom","scorecard":{"id":70378,"data":{"date":"2025-08-11","repo":{"name":"github.com/JamesIves/fetch-api-data-action","commit":"9e121f49761ed20f6c1c86a3c58ee109e548a50d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.9,"checks":[{"name":"Maintained","score":7,"reason":"9 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"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":"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":"Code-Review","score":0,"reason":"Found 0/4 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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/JamesIves/fetch-api-data-action/build.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/JamesIves/fetch-api-data-action/build.yml/dev?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/JamesIves/fetch-api-data-action/build.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/integration.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/JamesIves/fetch-api-data-action/integration.yml/dev?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/integration.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/JamesIves/fetch-api-data-action/integration.yml/dev?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/integration.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/JamesIves/fetch-api-data-action/integration.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/label.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/JamesIves/fetch-api-data-action/label.yml/dev?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/label.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/JamesIves/fetch-api-data-action/label.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/production.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/JamesIves/fetch-api-data-action/production.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/production.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/JamesIves/fetch-api-data-action/production.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/sponsors.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/JamesIves/fetch-api-data-action/sponsors.yml/dev?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/sponsors.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/JamesIves/fetch-api-data-action/sponsors.yml/dev?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/sponsors.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/JamesIves/fetch-api-data-action/sponsors.yml/dev?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/sponsors.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/JamesIves/fetch-api-data-action/sponsors.yml/dev?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/version.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/JamesIves/fetch-api-data-action/version.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/version.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/JamesIves/fetch-api-data-action/version.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/version.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/JamesIves/fetch-api-data-action/version.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/version.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/JamesIves/fetch-api-data-action/version.yml/dev?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/build.yml:27","Warn: npmCommand not pinned by hash: .github/workflows/production.yml:27","Warn: npmCommand not pinned by hash: .github/workflows/version.yml:43","Info:   0 out of  10 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   8 third-party GitHubAction dependencies pinned","Info:   0 out of   3 npmCommand 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/integration.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/label.yml:9","Warn: no topLevel permission defined: .github/workflows/production.yml:1","Warn: no topLevel permission defined: .github/workflows/sponsors.yml:1","Warn: no topLevel permission defined: .github/workflows/version.yml:1","Info: no jobLevel write permissions found"],"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":"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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/version.yml:20"],"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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":10,"reason":"SAST tool is run on all commits","details":["Info: all commits (26) 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":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-xffm-g5w8-qvg7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw"],"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-15T03:43:27.896Z","repository_id":37820929,"created_at":"2025-08-15T03:43:27.896Z","updated_at":"2025-08-15T03:43:27.896Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32002361,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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"},"tags":[]},"repo_metadata_updated_at":"2026-04-19T11:17:27.686Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":46,"rankings":{"downloads":null,"dependent_repos_count":6.6867374425606085,"dependent_packages_count":0.0,"stargazers_count":2.1074314688638887,"forks_count":4.538108065282839,"docker_downloads_count":null,"average":3.333069244176834},"purl":"pkg:githubactions/JamesIves/fetch-api-data-action","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/JamesIves/fetch-api-data-action","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/JamesIves/fetch-api-data-action","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/JamesIves/fetch-api-data-action/dependencies","status":null,"funding_links":["https://github.com/sponsors/JamesIves"],"critical":null,"issue_metadata":{"last_synced_at":"2025-07-21T14:47:27.987Z","issues_count":4,"pull_requests_count":471,"avg_time_to_close_issue":5071640.5,"avg_time_to_close_pull_request":1273011.95404814,"issues_closed_count":4,"pull_requests_closed_count":457,"pull_request_authors_count":3,"issue_authors_count":4,"avg_comments_per_issue":2.75,"avg_comments_per_pull_request":1.1592356687898089,"merged_pull_requests_count":83,"bot_issues_count":0,"bot_pull_requests_count":467,"past_year_issues_count":0,"past_year_pull_requests_count":180,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":269193.75722543354,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":173,"past_year_pull_request_authors_count":2,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.7944444444444444,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":179,"past_year_merged_pull_requests_count":35,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesIves%2Ffetch-api-data-action/issues","maintainers":[{"login":"JamesIves","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/JamesIves"}],"active_maintainers":[{"login":"JamesIves","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/JamesIves"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/JamesIves%2Ffetch-api-data-action/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/JamesIves%2Ffetch-api-data-action/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/JamesIves%2Ffetch-api-data-action/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/JamesIves%2Ffetch-api-data-action/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/JamesIves%2Ffetch-api-data-action/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/JamesIves%2Ffetch-api-data-action/codemeta","maintainers":[]}