Get ETF Information
Returns holdings, expense ratio, assets under management and listing details for one ETF. Look it up by `ticker` (including any exchange suffix, e.g. EUNL.DE) or by `isin` to get the fund's most-traded listing; supply exactly one of the two. The `listings` field lists every exchange the same fund trades on. The trailing total-return `performance` block is returned as an upgrade-notice string on this listing.
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "api-ninjas",
path: "/v1/etf"
});
console.log(output);Query parameters
ETF ticker symbol (e.g., QQQ, SPY, VTI), including any exchange suffix (e.g. EUNL.DE). Provide either ticker or isin, not both.
International Securities Identification Number of the ETF (e.g., IE00B5BMR087). The most-traded listing fills the response and every listing is returned in `listings`. Provide either ticker or isin, not both.