Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get Commodity Forward Curve
API_NINJAS_GET_COMMODITY_FORWARD_CURVEReturn every active futures contract, sorted by month, for one commodity forward curve. Requires Business tier and above, or any annual plan.
Get Commodity Market Snapshot
API_NINJAS_GET_COMMODITY_MARKET_SNAPSHOTReturn a current commodity market snapshot across supported contracts.
Get Commodity Price
API_NINJAS_GET_COMMODITY_PRICEGet real-time commodity prices from major exchanges (CME, NYMEX, COMEX). Prices are based on rolling futures contracts in USD. Free tier has limited commodities that rotate weekly. Use snake_case for commodity names (e.g., 'micro_gold', 'natural_gas'). Example: "What is the current price of natural gas?"
Get Commodity Price History
API_NINJAS_GET_COMMODITY_PRICE_HISTORYReturn historical commodity futures OHLCV prices without silently accepting a provider-truncated series. Requires Premium only.
Get Commodity Spot Price
API_NINJAS_GET_COMMODITY_SPOT_PRICEReturn one immediate-delivery spot price with name, or a batch array with comma-separated names (batch requires Business tier and above). Use futures-price tools for commodities without a public spot market. Requires Premium only.
Get Company Logo
API_NINJAS_GET_COMPANY_LOGORetrieve a company logo URL by company name or ticker symbol. When multiple results are returned, only the first is returned.
Get Company Profile
API_NINJAS_GET_COMPANY_PROFILERetrieve company profile information for a publicly traded company by stock ticker symbol. Returns executive details, financial metrics, identifiers (CIK, CUSIP, ISIN), exchange, contact information, stock price, market cap, and latest earnings data. Use when you need detailed company information for a specific ticker.
Get Counter Value
API_NINJAS_GET_COUNTER_VALUERead the current value of a persistent counter scoped to the connected API key without incrementing or setting it.
Get Country Flag SVG
API_NINJAS_GET_COUNTRY_FLAGTool to retrieve country flag images in SVG format. Use when you need flag URLs for display or download.
Get Country Information
API_NINJAS_GET_COUNTRY_INFOTool to retrieve country information by name, ISO code, or economic and demographic filters. Use to retrieve country population, GDP, surface area, unemployment, fertility, and related statistics.
Get County Information
API_NINJAS_GET_COUNTYTool to retrieve US county information by name, ZIP code, or state. Use when you need geographic, demographic, or administrative data about US counties. Returns county name, FIPS code, location coordinates, timezone, population, and median age.
Get COVID 19 Data
API_NINJAS_GET_COVID19_DATAReturn COVID-19 case or death statistics for a country or date.
Get Crypto Price
API_NINJAS_GET_CRYPTO_PRICEGet the current real-time price for a cryptocurrency trading pair. Returns the latest price and timestamp for symbols like BTCUSDT (Bitcoin to USD), ETHUSDT (Ethereum to USD), or crypto-to-crypto pairs like LTCBTC (Litecoin to Bitcoin). Use this to check current cryptocurrency market prices.
Get Crypto Price History
API_NINJAS_GET_CRYPTO_PRICE_HISTORYReturn historical cryptocurrency OHLCV prices for a symbol and interval. Requires Premium only.
Get Currency Volatility History
API_NINJAS_GET_CURRENCY_VOLATILITY_HISTORYReturn historical realized-volatility observations for a currency pair. Requires Premium only.
Get Random Dad Jokes
API_NINJAS_GET_DAD_JOKETool to retrieve random dad jokes from API Ninjas. Returns one or more dad jokes suitable for light humor. Use when you need clean, family-friendly jokes.
Get Day in History Events
API_NINJAS_GET_DAY_IN_HISTORYTool to get historical events for a specific date. Use when you need to retrieve events that occurred on a particular day in history. Returns events for today's date if no parameters are provided.
Get Dictionary Definition
API_NINJAS_GET_DICTIONARY_DEFINITIONTool to retrieve dictionary definition for an English word. Use when you need the meaning or definition of a word.
Get Dog Breed Information
API_NINJAS_GET_DOGSTool to get information on dog breeds matching specified parameters. Use when you need breed characteristics like temperament, size, life expectancy, or other traits.
Get Earnings
API_NINJAS_GET_EARNINGSRetrieve earnings filings by company or filing date, optionally filtering a company by fiscal period and year.