{"id":20141539,"url":"https://github.com/michaelborn/alphavantage","last_synced_at":"2026-03-04T20:33:14.070Z","repository":{"id":86836067,"uuid":"388183940","full_name":"michaelborn/AlphaVantage","owner":"michaelborn","description":"CFML wrapper for the AlphaVantage API. Built with ColdBox and Hyper.","archived":false,"fork":false,"pushed_at":"2021-07-21T17:55:05.000Z","size":62,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-30T22:51:04.480Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"ColdFusion","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/michaelborn.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}},"created_at":"2021-07-21T16:43:42.000Z","updated_at":"2021-07-21T17:52:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"71b42da0-9ffd-4d13-8a8a-55e680d60523","html_url":"https://github.com/michaelborn/AlphaVantage","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/michaelborn/AlphaVantage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelborn%2FAlphaVantage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelborn%2FAlphaVantage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelborn%2FAlphaVantage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelborn%2FAlphaVantage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaelborn","download_url":"https://codeload.github.com/michaelborn/AlphaVantage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelborn%2FAlphaVantage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30091779,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T19:41:02.502Z","status":"ssl_error","status_checked_at":"2026-03-04T19:40:05.550Z","response_time":59,"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-11-13T21:57:39.488Z","updated_at":"2026-03-04T20:33:12.886Z","avatar_url":"https://github.com/michaelborn.png","language":"ColdFusion","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AlphaVantage CFML API wrapper\n\nWraps the [AlphaVantage](https://alphavantage.io) API for easy CFML usage using the [Hyper](https://github.com/elpete/hyper) ColdBox module.\n\n![AlphaVantage Release](https://github.com/michaelborn/alphavantage/actions/workflows/release.yml/badge.svg?branch=main)\n\n## Getting Started\n\n1. Install this module - `box install AlphaVantage`\n2. Configure AlphaVantage API secrets using `.env`\n3. OR configure AlphaVantage API via ColdBox `moduleSettings`\n\n## Environment Variable Configuration\n\nAlphaVantage can mainly be configured using environment variables:\n\n* `ALPHAVANTAGE_API_KEY` - Required API key for authenticating with the AlphaVantage API\n* `FINNUHB_API_URL` - base URL of the AlphaVantage API.\n\nYou'll need to either use `commandbox-dotenv` to automatically populate environment variables from the `.env` file on server start, or manually read this file to populate environment variables inside your application.\n\n```bash\n# .env file\n# AlphaVantage API Credentials\nALPHAVANTAGE_API_KEY=\nALPHAVANTAGE_API_URL=https://alphavantage.io/api/v1\n```\n\nAs an aside, PLEASE ensure you ignore this file in your `.gitignore`!\n\n## ColdBox Module Configuration via ModuleSettings\n\nSet this in `config/ColdBox.cfc` in the `configure()` method:\n\n```js\nmoduleSettings.alphavantage = {\n    apiKey : \"blablasecret\",\n    apiURL : \"my.url\"\n};\n```\n\n## API Reference\n\nEach api method returns a [`HyperResponse` object](https://github.com/coldbox-modules/hyper#hyperresponse) with the following methods (not exhaustive):\n\n* `response.isSuccess()` - boolean\n* `response.isError()` - boolean\n* `response.json()` - JSON deserialized to a struct or array\n* `response.getData()` - unchanged data payload\n\nSee the [Hyper docs](https://github.com/coldbox-modules/hyper#hyperresponse) for more info on using a `HyperResponse`.\n\n### Fundamentals\n\n#### getCompanyOverview\n\n```js\nvar response = getInstance( \"Fundamentals@AlphaVantage\" ).getCompanyOverview( \"MSFT\" );\n```\n\n| Parameter | Type | Description\n| --------- | -------- | --------------------------------------- |\n| `symbol`  | `string` | **Required**. Stock symbol to fetch     |\n\n#### GetCompanyEarnings\n\n```js\nvar response = getInstance( \"Fundamentals@AlphaVantage\" ).getCompanyEarnings( \"MSFT\" );\n```\n\n| Parameter | Type | Description\n| --------- | -------- | --------------------------------------- |\n| `symbol`  | `string` | **Required**. Stock symbol to fetch     |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelborn%2Falphavantage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelborn%2Falphavantage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelborn%2Falphavantage/lists"}