@api-emulator/alpha-vantage
v0.2.2
Published
Alpha Vantage provides stock quote, time series, symbol search, and market status data through a query-parameter API.
Readme
@api-emulator/alpha-vantage
Alpha Vantage provides stock quote, time series, symbol search, and market status data through a query-parameter API.
Use this emulator for local tests, CI, and offline agent runs. It keeps your tests separate from the production API.
Start the emulator
- Install the package.
npm install @api-emulator/alpha-vantage- From this registry, start the emulator.
npx -p api-emulator api --plugin ./providers/@alpha-vantage/api-emulator.mjs --service alpha-vantageThe emulator uses the local URL that api-emulator prints. Set your client base URL to this local URL.
Supported API
GET /queryGET /inspect/contractGET /inspect/state
Coverage
- Level:
smoke-only - Meaning: A smoke test starts the emulator and checks its main behavior.
- Evidence: a direct smoke test exists, but a conformance manifest does not exist.
Credentials
Use a fixed bearer token or API key in each test. The emulator does not send these credentials to the provider.
Test data
Add repeatable test data to the provider configuration.
alpha-vantage:
# Add provider-specific seed state here.