API Documentation
Clear endpoints for metals, crypto, and stocks.
Use your client API key in the X-CLIENT-API-KEY header. For dashboard access, use a Bearer token from the login endpoint.
Base URL: https://stock-metal-api.cloud
Quick start
curl "https://stock-metal-api.cloud/api/metal/latest?base=USD¤cies=XAU,XAG" \\ -H
"X-CLIENT-API-KEY: YOUR_CLIENT_KEY"
Endpoints
Metals
/api/metal/latest
/api/metal/yesterday
/api/metal/YYYY-MM-DD
EODHD data
/api/eodhd/real-time?symbol=AAPL.US
/api/eodhd/intraday?symbol=AAPL.US
/api/eodhd/eod?symbol=AAPL.US
Finnhub batch
/api/finnhub/latest?symbols=AAPL,MSFT,NVDA
Max symbols per request is configurable.
JavaScript
fetch("https://stock-metal-api.cloud/api/finnhub/latest?symbols=AAPL,MSFT", { headers: {
"X-CLIENT-API-KEY": "YOUR_CLIENT_KEY" } }).then((res) =>
res.json());
Dashboard
fetch("https://stock-metal-api.cloud/dashboard/overview", { headers: { Authorization: "Bearer
YOUR_TOKEN" } }).then((res) => res.json());