# API Ninjas [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://api-ninjas.com/mcp  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/api-ninjas

## Description
140+ data APIs for agents: finance, banking validation, geo, weather, text. One API key.

## Tools
Capabilities this server exposes over MCP:

- **getAdvice** — Returns one random piece of life advice, drawn from a set of over 5000 entries. Takes no parameters and returns a different result each call.
- **getAirQuality** — Returns the Air Quality Index plus CO, NO2, O3, SO2, PM2.5 and PM10 concentrations for a location. Requires a `city` or `lat`/`lon`; `state` and `country` disambiguate city names. Searching by `city` is premium only; free-tier requests can use `lat`/`lon`.
- **getAircraft** — Returns airplane specs matching the given filters, or decodes an ICAO (icao=A20N) or IATA (iata=32N) aircraft type code. At least one parameter other than limit is required. Helicopter specs: /v1/helicopter.
- **getAirlines** — Returns general and fleet information for airlines matching an ICAO code, IATA code, or name. At least one of `icao`, `iata`, or `name` must be set.
- **getAirports** — Returns airports matching filters such as IATA/ICAO code, name, city, country, region, elevation, size, or runway length. `name`, `city`, `region` and `q` are premium only; the other filters, `limit` and `offset` work on any plan. For typeahead suggestions use /airportsuggest.
- **getAirportsList** — Returns a paginated list of airport codes and names. For filtered airport detail use /airports. Requires a premium subscription.
- **convertAirportCode** — Converts an airport code between IATA and ICAO. Pass exactly one of `iata`, `icao`, or `code` (auto-detected). Requires a premium subscription.
- **airportDistance** — Calculates great-circle distance, initial bearing, and estimated flight time between two airports. Requires `from` and `to`. Requires a premium subscription.
- **airportSuggest** — Returns autocomplete suggestions for airport search, matching IATA, ICAO, name, and city. Requires a `q` of at least 2 characters. Requires a premium subscription.
- **closestAirport** — Returns the airports nearest a coordinate, sorted by airport size then by distance. Requires `lat` and `lon`. Requires a premium subscription.
- **getAnalytics** — Returns usage analytics and API call history for your own account, including which APIs you call most. Requires `api_key` as a query parameter. Calls here do not consume quota.
- **getAnimals** — Returns scientific facts about animal species whose common name matches the search term, including partial matches. Requires `name`.
- **getBabyNames** — Returns baby names, optionally filtered by `gender` (boy, girl or neutral). By default only popular names, the top 10%, are returned; set popular_only to false for the full pool.
- **getBalanceSheet** — Returns balance sheet data from SEC 10-Q and 10-K filings for one company, fiscal period and year. Requires `ticker` or `cik`. For which periods exist use /balancesheetavailability.
- **getBalanceSheetAvailability** — Returns the fiscal years and quarters for which balance sheet data is available for a company. Requires a premium subscription (Developer tier and above).
- **getBankHolidays** — Returns bank holidays for a country and calendar year. Requires a `country`. To test a single date use /isbankholiday.
- **isBankHoliday** — Checks whether banks are closed nationwide on a given date in a country, or in one of its regions when `subdivision` is given. Requires `date` and `country`. For a whole year's calendar use /bankholidays.
- **generateBarcode** — Generates a barcode image encoding `text`. Optional `type`, `format` and `include_text` control the symbology and output. Requires `text`.
- **binLookup** — Returns bank and issuer information for a Bank Identification Number. Requires a `bin`, typically the first 6-8 digits of a credit card number.
- **getBitcoinData** — Returns the latest Bitcoin price and market data. Takes no parameters. For a price series over a past time range use /bitcoinhistorical.
- **getBitcoinHistoricalData** — Returns historical Bitcoin price data over a chosen interval and Unix timestamp range. For the latest price instead use /bitcoin.
- **getBitcoinTreasury** — Bitcoin positions reported to the SEC in quarterly XBRL filings, covering operating companies and spot bitcoin exchange-traded products. Each position is as of the filer's reported period end. For holdings in other crypto assets use /v1/cryptotreasury.
- **getBsbInfo** — Looks up the bank, branch, address and supported payment systems for a 6-digit Australian BSB number. Requires `bsb`. To find a BSB by bank or location use /bsbsearch.
- **searchBsb** — Finds Australian bank branches and their BSB numbers by bank name, suburb, state or postcode. To look up a single BSB number already known use /bsblookup.
- **getBucketListItem** — Returns one randomly chosen bucket list idea. Takes no parameters, so call it again for a different suggestion.
- **calculateCaloriesBurned** — Calculates calories burned from an activity, weight in pounds, and duration in minutes. Requires an activity. For valid names use /caloriesburnedactivities. The image_url and icon_url fields are premium only.
- **listActivities** — Returns the names of all activities supported by the calories-burned calculation. To compute calories for one of them use /caloriesburned.
- **getCanadaRoutingNumberInfo** — Returns the Canadian bank branch for a 9-digit EFT `routing_number`, or for a `transit_number` plus `institution_number`. To search by name or location use /canadaroutingnumbersearch.
- **searchCanadaRoutingNumbers** — Finds Canadian bank branches and their routing numbers by bank name, city, province or postal code. To decode a known routing number use /canadaroutingnumber. Requires a premium subscription.
- **getCars** — The main endpoint. Search the whole catalogue by any combination of filters, or fetch cars you already know with id/ids. Every car is returned with its complete specification sheet attached, so no second call is needed. Each row also carries its own make, model, generation, body and engine context. At least one filter, or an id, is required. The total number of matches is returned in the X-Total-Count response header. Requires a paid plan (Premium).
- **getCarFacets** — Builds every dependent dropdown in one request instead of one request per level. Facets narrow with whatever is already selected. Available on every plan, including Free.
- **getCarMakes** — Lists car manufacturers available in the catalogue. Use it to populate a make selector before calling /carmodels. Requires a paid plan (Premium).
- **getCarModels** — Lists the models belonging to a given manufacturer. Pair with /carmakes upstream and /cargenerations downstream. Requires a paid plan (Premium).
- **getCarGenerations** — The level most vehicle APIs do not expose. Optional: nothing downstream requires it. Generations with no cars are returned with car_count 0 so gaps are visible. Requires a Business or Professional plan, or any annual plan.
- **getCashFlow** — Returns cash flow statement data from SEC 10-Q and 10-K filings for one company, fiscal period and year. Requires `ticker` or `cik`. For available periods use /cashflowavailability.
- **getCashFlowAvailability** — Returns the fiscal years and quarters for which cash flow data is available for a company. Requires a premium subscription (Developer tier and above).
- **getCats** — Returns cat breeds matching the given parameters, including weight, life expectancy, shedding, grooming and friendliness traits. For breed names only use /allcats.
- **getAllCatNames** — Returns the names of every cat breed in the database and nothing else. Takes no parameters. For full breed detail and filtering use /cats.
- **getCelebrity** — Returns celebrity records with net worth, profession, and birthday, filtered by name, net worth range, nationality, or height in meters.
- **getChuckNorrisJoke** — Returns one random Chuck Norris joke. Takes no parameters. For jokes on other topics such as pop culture, science or history use /jokes.
- **getCityData** — Get city data from either a name or population range. Returns a list of cities that satisfies the parameters.
- **searchCocktails** — Searches cocktail recipes by name, with partial matches, or by a comma-separated ingredient list that returns only drinks containing every listed ingredient.
- **getCurrentCommodityPrice** — Returns the current price for a single commodity (when `name` is provided) or a list of commodities (when `names` is provided). Optional `currency` and `unit` parameters convert the response from the native USD/USX quote into any supported currency and unit.
- **getCommoditySpotPrice** — Returns the spot price (the price for immediate delivery) for commodities that have a spot market: gold, silver, platinum, and palladium (composite: blended live market quotes, with bid/ask on premium plans) and WTI, Brent, natural gas, gasoline, and heating oil (assessed: the U.S. EIA official daily spot price, on every plan). Other commodities have no public spot market and return an error pointing to /commodityprice.
- **getHistoricalCommodityPrice** — Returns a historical price series for a commodity over an optional Unix start/end range and interval. Requires a `name`. For the latest price use /commodityprice.
- **getCommoditySnapshot** — Returns an enriched price object for all 30 supported commodities on every plan, including the free tier. Free responses carry the last completed daily settlement; premium plans return the live price. Optional filters narrow the result set.
- **getCommodityContract** — Returns price information for a specific commodity contract or all contracts matching a commodity root. Either symbol or symbol_root must be provided, but not both.
- **getCommodityContractList** — Returns a list of all available commodity contracts with their symbols and commodity names. This endpoint is useful for discovering which contracts are available for querying.
- **getCommodityForwardCurve** — Returns every active futures contract for the requested commodity, sorted by contract month, along with a contango/backwardation classification and 1-month and ~12-month percent slopes. Reserved for Business, Professional, and annual-subscription tiers.
- **convertCurrency** — Converts an `amount` from one currency to another. Requires `have`, `want` and `amount`. For the raw rate without converting a figure use /exchangerate.
- **getCounter** — Fetches a stored integer counter by `id`, optionally incrementing it with `hit` or setting it to a given `value`. Using a new id creates a new counter.
- **getAllCountryFlags** — Returns flag image URLs for every supported country, territory and area. For one country's flag use /countryflag. Requires a premium subscription.
- **getCountryFlag** — Returns URLs of one country's square and rectangle SVG flag images. Requires a 2-letter ISO-3166 alpha-2 `country` code. For URLs of all supported flags use /allcountryflags.
- **getAllCountries** — Returns the 2-letter ISO codes of every supported country. For statistics about a specific country use /country. Requires a premium subscription.
- **getCountryData** — Returns geographic, demographic, and economic statistics for countries matching filters such as name, currency, GDP, population, area, or unemployment rate.
- **getCounty** — Returns details for one or more counties matching the input parameters.
- **getCovidData** — Returns Covid-19 case counts or deaths by country, administrative region, or US county, as a series or a single-day snapshot. Either `date` or `country` must be set.
- **getCryptoPriceHistorical** — Returns historical OHLCV candles for a cryptocurrency at a chosen interval and time range. Requires a `symbol` such as BTCUSD or ETHBTC. Symbols ending in USD are priced in real US dollars; other fiat quotes (e.g. BTCEUR) are not supported on this endpoint. For the live price use /cryptoprice.
- **getCryptoPrice** — Returns the current market price of a cryptocurrency. Requires a `symbol` such as BTCUSD or ETHBTC. Symbols ending in USD are priced in real US dollars; symbols ending in USDT are priced in Tether, a stablecoin that is not exactly $1. Premium plans can also quote fiat currencies, e.g. BTCEUR, which adds an `exchange_rate_timestamp`. For past prices and OHLCV candles use /cryptopricehistorical.
- **getCryptoTreasury** — Crypto asset positions reported to the SEC in quarterly XBRL filings, each as of the filer's reported period end. With no parameters, returns the largest current positions ranked by dollar value.
- **getCryptoSymbols** — Returns the list of cryptocurrency ticker symbols available. Use it to find valid symbols before requesting quotes from the Crypto Price API.
- **getCurrencyVolatility** — Returns the latest realised volatility for a currency `pair`, with optional `window`, `method` and annualisation. For a time series use /currencyvolatilityhistorical.
- **getCurrencyVolatilityHistorical** — Returns a realised volatility time series for a currency `pair` across a date range or `days` lookback. For the latest single value use /currencyvolatility.
- **getCurrencyVolatilityForecast** — Projects forward volatility for a currency `pair` over a `horizon`, using EWMA or a comparable `method`. For realised values instead use /currencyvolatility.
- **getDadJoke** — Returns one or more random dad jokes. The `limit` parameter, which returns up to 100 jokes in a call, is available on premium plans only.
- **getDayInHistory** — Returns historical events that happened on a given `month` and `day`. Free requests cover today's date only; other dates plus `limit` and `offset` require premium.
- **getDefinition** — Returns a string containing definitions for a given word.
- **checkDisposableEmail** — Checks whether an email address comes from a disposable or temporary email provider, for sign-up and fraud screening. Requires `email`.
- **getDNSRecords** — Retrieves DNS records for a domain, covering the A, AAAA, CNAME, MX, NS, PTR, SRV, SOA, TXT and CAA record types. Requires `domain`.
- **getDogs** — Returns dog breeds matching filters such as name, height, weight, life expectancy, shedding, barking, energy, or trainability. For breed names only use /alldogs.
- **getAllDogs** — Returns the names of every dog breed in the database and no other fields. For breed traits and measurements such as height, weight, and shedding use /dogs.
- **getDomainInfo** — Checks whether a domain is available and returns basic registration information. Requires a `domain`; top-level domains other than .com need a premium subscription.
- **getEarningsCalendar** — Returns earnings reports for one company (`ticker`), one calendar date (`date`), or a date range (`date_start`/`date_end`). At least one of these is required, and `date` cannot be combined with a range. Covers 50,000+ tickers on US and international exchanges with history back to 2000. How far back a request can reach depends on the plan: Free returns the last 12 months, Developer the last 5 years, and Business and Professional the full history. A `date` or range that starts before the plan's window returns an error; `ticker` lookups return only the reports inside it. Results are sorted by date (newest first) and returned 50 per request; use `offset` (premium) to page. Past reports only by default; set `show_upcoming=true` (premium) to include scheduled future reports. EPS and revenue are in the company's reporting currency. `actual_eps`/`estimated_eps` are on the adjusted (non-GAAP) basis analysts use; `actual_eps_gaap` is GAAP diluted EPS from the SEC 10-Q/10-K (US SEC filers). For upcoming dates filtered by exchange use /upcomingearnings.
- **getEarningsCalendarList** — Returns the list of companies covered by the earnings calendar. For a specific company's earnings results and reporting dates use /earningscalendar.
- **getUpcomingEarnings** — Returns a list of upcoming earnings dates with filtering capabilities. You can filter by date range, single date, exchange, or ticker symbol. Results are limited to dates from today onwards. To check whether companies report earnings before a date (for example before an options expiry or the end of a holding period), pass tickers (comma-separated, up to 100) with end_date instead: each ticker then gets earnings_in_range yes, no or unknown, with a confidence, a reason, the next scheduled date and the window in which the company usually reports. Treat unknown as a possible report, not as a no. The tickers check is Business tier and above. Premium only.
- **getEarningsTranscript** — Returns the full text of one company's earnings call. Requires a `ticker` or `cik`; to find which calls exist first, use /earningstranscriptsearch. Choosing a `quarter` requires premium.
- **listEarningsCallTranscripts** — Lists all available earnings call transcripts, paged with `limit` and `offset`. To filter by ticker, CIK or date use /earningstranscriptsearch; for the text of one call use /earningstranscript.
- **searchEarningsTranscripts** — Finds which earnings call transcripts are available by ticker, CIK, date or date range, with paginated results. Returns the matching calls, not their text; read that from /earningstranscript.
- **getEarningsCallSpeaker** — Searches earnings-call speakers by name, company, analyst firm, role or type, or returns one speaker's profile, coverage and appearance history when `id` is given.
- **getEarningsCallParticipants** — Lists the executives and analysts who appeared on one company's earnings calls. Requires a `ticker` or `cik`. For a single person across companies use /earningstranscriptspeaker.
- **getEarnings** — Returns reported financial statements (income statement, balance sheet, cash flow) from SEC 10-Q and 10-K filings, filtered by `ticker`, `cik` or `name`, `year`, `quarter`/`period`, or filing `date`. Companies with no listed stock (utility subsidiaries, private credit funds, bond-only issuers, delisted companies) are found by `name` or `cik`; their ticker is null. Also covers every US bank and credit union: pass `institution_type` (bank or credit_union) with `name`, or `certificate_number` / `charter_number` / `rssd_id`, or `institution_type` with `year` (and `period`) to list them all. Bank and credit union rows have statement_layout `bank`: a bank income statement (interest income, net interest income, provision for credit losses, net income...) and balance sheet (loans, deposits, loan-loss allowance, equity...), plus `ratios` (return on assets, net interest margin, capital ratios; percentages, quarter ratios annualized), `operations` (branches, employees, members) and `institution_info` (holding company, status, successor); for them, dates match the quarter end. Company rows have statement_layout `standard`. For dates of upcoming reports use /earningscalendar.
- **getElectricVehicleData** — Returns electric vehicle records with range, battery, charging, and performance data, filtered by make, model, year, or range. For maker names use /electricvehiclemakes.
- **getElectricVehicleMakes** — Returns the list of electric vehicle manufacturers, optionally filtered by year. For the models of one manufacturer use /electricvehiclemodels.
- **getElectricVehicleModels** — Returns all electric vehicle models for one manufacturer, optionally filtered by year. Requires a `make`. For full vehicle specs use /electricvehicle.
- **encodeText** — Encodes any given text into a 768-dimensional vector using state-of-the-art NLP machine learning models.
- **getEmojis** — Returns a list of emojis according to input parameters. Returns at most 30 results. To access more than 30 results, use the offset parameter to offset results in multiple API calls.
- **getETFInfo** — Returns holdings, expense ratio, assets under management and trailing total-return performance for one ETF. Look it up by `ticker`, or by `isin` to get the fund's most-traded listing. `listings` lists every exchange the same fund trades on. To find or enumerate ETFs use /etfsearch or /etflist. Holdings can run to thousands of rows: pass `limit` (and `offset` to page) to keep the response small. `num_holdings` is always the full count, and a fund with tens of thousands of holdings returns as many as fit in one response, so when `holdings` has fewer entries than `num_holdings`, pass `offset` to get the rest.
- **listETFs** — Returns ETF ticker symbols supported by the ETF API, paginated up to 1000 per call. Increment the offset parameter by 1000 until fewer than 1000 results are returned to walk the entire list. Available to Business, Professional, or annual subscribers only.
- **searchETFs** — Search for ETFs by name, AUM, expense ratio, holdings, or country. Results are sorted by AUM descending and paginated 50 per page. At least one filter parameter is required. Available to Business, Professional, or annual subscribers only.
- **getEuriborRates** — Returns current Euribor interbank lending rates for maturities from 1 week to 12 months. Takes no parameters.
- **getEVCharger** — Get electric vehicle charging stations near a location specified by latitude and longitude coordinates.
- **getExchangeRate** — Returns the current exchange rate for a currency `pair` such as USD_EUR. To convert a specific amount instead use /convertcurrency.
- **getHistoricalExchangeRate** — Returns daily historical exchange rates for a given currency pair. Data is available from 1999-01-01 onward. Provide either a single date or a start_date/end_date range (max 366 days). Premium subscription required.
- **getExecutiveCompensation** — Returns named-executive-officer compensation for a company, sourced from SEC DEF 14A proxy statements, plus the structured Pay Versus Performance disclosure. The free tier returns the CEO's total for the latest fiscal year; premium tiers unlock the full breakdown, all executives, historical years, and Pay Versus Performance.
- **getExercises** — Returns up to 5 exercises that satisfy the given parameters.
- **getAllExercises** — Returns a comprehensive list of exercises that target a specific muscle group. Available on Business, Professional, or annual subscriptions only.
- **detectFaces** — Runs computer-vision face detection on an image supplied in the POST request body and returns the faces found. Takes no query parameters.
- **getFacts** — Returns one or more random facts. Free users have access to 100 facts - premium users have access to over 125,000 facts.
- **getFactOfTheDay** — Returns a single fact for the current day. The same fact is returned for all requests on the same day, and changes each day. No parameters are available for this endpoint, so everyone sees the same fact of the day.
- **getGDPData** — Get GDP data from given parameters. Returns GDP statistics that satisfy the parameters.
- **getGeocoding** — Converts a place name into latitude and longitude. Requires `city`; narrow with `state`, `country` or `zipcode`. For the reverse direction use /reversegeocoding.
- **getReverseGeocoding** — Converts a `lat` and `lon` pair into the matching place name and administrative area. For the opposite direction use /geocoding.
- **getCurrentGoldPrice** — Returns the current gold futures price in USD. Free responses carry the last completed daily settlement; premium plans return the live price.
- **getGoldSpotPrice** — Returns the gold spot price (XAU/USD), blended from multiple live market quotes. Free tier returns the last daily close; premium tiers return the live price with bid and ask.
- **getHistoricalGoldPrice** — Returns historical gold futures price data in OHLCV (Open, High, Low, Close, Volume) format. The data is returned in descending order (most recent first), and all prices are in USD. Premium subscribers only.
- **getHelicopterData** — Returns technical specifications for helicopter models, filtered by manufacturer, model, or ranges of air speed, range, length, and height.
- **getHistoricalEvents** — Searches famous events in history by keyword `text` and/or `year`, `month` and `day`; negative years mean BC. Pagination with `offset` requires premium.
- **searchHistoricalFigures** — Searches notable people from history, ancient to modern, by name with partial matches supported, and returns their records. Requires `name`.
- **getHobby** — Returns a random hobby suggestion, optionally restricted to a `category` such as general, sports_and_outdoors or education.
- **getHolidays** — Returns holidays for a country and calendar year, optionally filtered by holiday type. Requires a `country`. For holidays falling on one date use /v1/isholiday.
- **isHoliday** — Returns all holidays that fall on a given date, optionally restricted to one country. Requires a `date`. For a full year's calendar use /v2/holidays.
- **getHoroscope** — Returns the daily horoscope for one zodiac sign. An optional `date` in YYYY-MM-DD format gives a past day's horoscope; future dates are not accepted.
- **getHospitals** — Returns US hospitals matching a name, city, state, ZIP code, county or latitude/longitude bounding box, with location, contact information and bed count.
- **getIBAN** — Validates an International Bank Account Number and returns the bank and account details encoded in it. Requires an `iban`.
- **extractTextFromImage** — Given an input image, return all detected texts and their bounding boxes.
- **getIncomeStatement** — Returns income statement data from SEC 10-Q and 10-K filings for one company, fiscal period and year. Requires `ticker` or `cik`. For available periods use /incomestatementavailability.
- **getIncomeStatementAvailability** — Returns the fiscal years and quarters for which income statement data is available for a company. Requires a premium subscription (Developer tier and above).
- **calculateIncomeTax** — Calculates income tax for the United States or Canada from income, location, and filing status, including state or provincial tax. Requires `country`, `region`, `income`.
- **calculatePaycheckWithholding** — Premium only. Returns per-paycheck federal withholding, FICA (Social Security, Medicare, Additional Medicare), and optional state withholding given gross pay and W-4 inputs. Supports both the 2020-or-later and pre-2020 W-4 forms. Requires `gross_pay`, `pay_period`, `filing_status`.
- **getIncomeTax** — Returns comprehensive income tax information including tax brackets and rates at both federal and state/provincial levels (where applicable).
- **getCurrentInflation** — Returns current monthly and annual inflation percentages. Premium subscribers only.
- **getHistoricalInflation** — Returns historical inflation rates for a given country and (optionally) time range. The maximum number of data points returned per API call is 100. Premium subscribers only.
- **getInsiderTransactions** — Returns a list of insider trading transactions that match the specified filters. Returns at most 100 results per request. For more results, use the offset parameter. Results are limited by filing date to the plan's history window: Free returns filings from the last 90 days, Developer the last 2 years, and Business and Professional the full history (2009+). Date filters before the window return an error.
- **getInsiderDetails** — Returns detailed transaction information for a given insider with optional filtering by company. Returns a maximum of 10 transactions, ordered by filing date (most recent first). Premium subscriptions only.
- **getInsidersList** — Returns a list of all insiders for a given company (via ticker or CIK). For each insider, returns their name, position, and current share holdings based on their most recent filing. Either ticker or CIK is required. Premium subscriptions only.
- **getInstitutionalHoldings** — Returns an institutional manager's full 13F portfolio for a quarter. Requires `cik` or `manager_name`. For every holder of a single stock use /institutionalownership.
- **getInstitutionalOwnership** — Lists every institution holding a given stock in a quarter. Requires `ticker` or `cusip`. For one manager's entire portfolio use /institutionalholdings.
- **getInstitutionalInvestors** — Searches the directory of 13F-filing institutions by name, CIK or quarter and returns their filing history rather than positions. Requires a premium subscription.
- **getInstitutionalMovers** — Ranks the largest institutional new buys, exits, adds or trims for a quarter, market-wide or within one institution. Requires a premium subscription.
- **getCurrentInterestRates** — Returns the latest published value of a central bank, benchmark, overnight or prime `rate`. Index codes (ending in _index) return `index_value` instead of `rate_pct`. Free plans can call central_bank_us only; every other rate needs a premium plan. Business tier and above can pass up to 50 comma-separated codes, or leave out `rate` to get every rate (the response is then a list, each item with its `rate` code), and central bank rates then also include previous_rate_pct, last_change_bps, last_meeting_date and next_meeting_date. Every rate has a `type` (central_bank, overnight, average, index, interbank, prime or savings); on Business tier and above, leave out `rate` and pass `type` to get every rate of one type. For the history of a rate use getHistoricalInterestRates.
- **getHistoricalInterestRates** — Returns the published history of a `rate` (central bank, benchmark, overnight, index or prime) over an optional date range, given as `start_date`/`end_date` (YYYY-MM-DD) or `start_time`/`end_time` (UNIX seconds), oldest first, up to 100 points per call (page with `next`). Premium plans only. Business tier and above also get `limit` up to 10,000; `date` (the value of one or up to 50 comma-separated rates in effect on that day, returned as a list of {rate, name, date, rate_pct or index_value}); and `compound=true` with start_date and end_date, which returns the rate compounded in arrears over the period (rate, name, start_date, end_date, days, day_count, lookback_days, observation_shift, compounded_rate_pct, compounding_factor, observations, last_observation_date, and interest when `principal` is given). For the latest value only use getCurrentInterestRates.
- **getIPInfo** — Returns location information for an IP address. Requires an `address` in IPv4 form such as 73.9.149.180 or in IPv6 form.
- **getIpoCalendar** — Returns a list of IPO records matching the supplied filters. With no parameters, returns IPOs with listing dates between today and 30 days from now. All parameters are optional; combine them to narrow results by ticker, CIK, date range, status, deal type, exchange, or industry.
- **getJoke** — Returns random jokes about pop culture, science, history and other topics. Set `limit` to return between 1 and 100 jokes; the default is 1.
- **getJokeOfTheDay** — Returns a single joke for the current day. The same joke is returned for all requests on the same day, and changes each day. No parameters are available for this endpoint, so everyone sees the same joke of the day.
- **getHistoricalLiborRates** — Returns historical LIBOR rates for one tenor over an optional Unix timestamp range. Requires `type`: overnight, 1_month, 3_months, 6_months or 12_months.
- **getLogos** — Get a list of company names, ticker symbols, and logo image URLs matching the input parameters. Returns at most 10 results.
- **generateLoremIpsum** — Returns one or more paragraphs of lorem ipsum placeholder text.
- **getLotteryDraw** — Returns the latest draw for a game, the draw on a given date, or the latest draw of every game in a US state or a country. On paid plans results usually appear within minutes of the official publication; on the free plan they appear about 60 minutes later. Provide game, state or country. Returns a JSON object, or a JSON array of them when state or country is used.
- **getLotteryHistoricalDraws** — Premium only. Returns past draws for a game, newest first. Developer plans get a rolling two years; Business tier and above the full archive.
- **listLotteryGames** — Lists the covered games with their number format, draw schedule, jackpot odds, prize tiers, rule-change history and archive range.
- **checkLotteryTicket** — Premium only. Scores a ticket against a draw and returns the matched prize tier and prize. Supports Powerball (with Power Play and Double Play), Mega Millions (with the ticket's built-in multiplier) and Millionaire for Life. Ticket numbers are never stored. The result is not a prize claim.
- **listLotteryJackpots** — Premium only. Lists the next advertised jackpot for every active game that publishes one, largest first within each currency.
- **getMarketCap** — Returns real-time market capitalization data for a company listed on a major exchange. Requires a `ticker` such as NVDA.
- **getCurrentMetalsPrice** — Returns the current spot price of a metal with its futures price and contract. Free tier returns the last daily close for every metal; Developer plans get a spot price refreshed every minute; Business, Professional, and Enterprise plans get the live spot price (about every 10 seconds) and the metals batch parameter.
- **calculateMortgage** — Calculates monthly and annual mortgage payments and interest from a loan amount or home value and downpayment, plus optional HOA, tax and insurance. Requires `interest_rate`.
- **getMortgageRate** — Returns 30-year and 15-year fixed-rate mortgage (FRM) data. If no parameters are set, the mortgage rate data for the most recent day is returned.
- **getMotorCarrier** — Canonical carrier profile. Provide exactly one of dot or mc.
- **searchMotorCarriers** — Find carriers by name, location or status, or reverse-look-up by phone or email (Business+).
- **getMotorCarrierInsurance** — Business+ only. Policy-level filings with coverage in US dollars, plus the 30-day BMC-35 cancellation window.
- **getMotorCarrierSafety** — Crash counts, out-of-service rates against the national average, and public BASIC measures.
- **getMotorCarrierLinks** — Business+ only. Entity graph over the full FMCSA census for chameleon-carrier and double-brokering review.
- **searchMotorcycles** — Returns technical specifications for motorcycle models matching a make, model and/or year, with partial matching on make and model and `offset` paging.
- **getMotorcycleMakes** — Returns the list of motorcycle manufacturers covered. For one manufacturer's model names use /motorcyclemodels; for a model's technical data use /motorcycles.
- **getMotorcycleModels** — Returns the model names offered by one motorcycle manufacturer. Requires a `make`. For full technical specifications of a model use /motorcycles.
- **getMutualFund** — Returns details for a mutual fund including holdings, expense ratio, assets under management, and trailing total-return performance. Look it up by `ticker` (e.g. VFIAX) or by `isin` (e.g. US9229087104). Holdings can run to thousands of rows: pass `limit` (and `offset` to page) to keep the response small. `num_holdings` is always the full count, and a fund with tens of thousands of holdings returns as many as fit in one response, so when `holdings` has fewer entries than `num_holdings`, pass `offset` to get the rest.
- **getMXRecords** — Returns the mail-exchange (MX) records for a `domain`, showing which servers accept its email. For other record types use /dnslookup.
- **getNaics** — Returns the official title, description, full hierarchy, index terms and cross-references for a NAICS code. Pass crosswalk_to to also map the code to another NAICS revision or to SIC. Available on all plans.
- **searchNaics** — Ranked candidate codes for a keyword or phrase, matched against over 20,000 official Census index terms plus titles and descriptions. Returns every plausible code without applying classification rules. Available on all plans; results capped at 5 on Free and Learner.
- **getNaicsSizeStandard** — Returns the SBA size standard from 13 CFR 121.201 for a code, and a small-business eligibility verdict when revenue or employees is supplied. Requires a Developer subscription or above; calculation basis, affiliation notes and exceptions require Business or above.
- **classifyNaics** — Assigns one primary NAICS code to a business description by applying NAICS classification rules: the primary-activity test, cross-reference exclusions, and establishment scope. Returns the deciding rule and supporting evidence for audit. Requires a Business subscription or above.
- **getNaicsRisk** — Returns a KYB and underwriting risk profile for an industry, including money-services, cash-intensive, cannabis, firearms, gambling and crypto flags, typical merchant category codes, and a review recommendation. Informational only, not a compliance determination. Requires a Business subscription or above.
- **getNutrition** — Extracts nutrition data from free-form text, scaling values to any quantities mentioned. Requires `query`. For one food item with an explicit amount use /nutritionitem.
- **getNutritionItem** — Returns nutrition data for a single food item at a stated amount. Requires `query` and `quantity` such as "1 cup". For free-form text with several foods use /nutrition.
- **getNutritionBarcode** — Look up nutrition, allergens, and ingredients for branded/packaged food products. A UPC/EAN barcode returns a single product; a name or brand search returns a ranked list. Provide at least one of upc, name, or brand. Premium only (any paid plan).
- **detectObjects** — Detects and labels the objects present in an image using a neural network. The image is sent in the body of the POST request.
- **getCurrentOilPrice** — Returns the current price for a crude oil or energy benchmark. Free tier returns the daily closing price for WTI (type=wti) and Brent (type=brent); premium tiers return the real-time price for all benchmarks and support optional currency and unit conversion.
- **getOilSpotPrice** — Returns the U.S. EIA's official daily spot price for the benchmark's physical hub, on every plan. The EIA publishes weekly, so the date field says which trading day the price is for. Currency and unit conversion are premium features; the types batch parameter is available to Business, Professional, and Enterprise subscribers, or any annual plan.
- **getHistoricalOilPrice** — Returns historical OHLCV (Open, High, Low, Close, Volume) data for an oil/energy benchmark, most recent first. Reserved for premium subscribers.
- **generatePassword** — Generates one random password of the requested length, optionally excluding numbers or special characters. Defaults to 16 characters when no length is given.
- **phoneLookup** — Returns carrier, line type, VOIP status and MCC/MNC for a phone `number`, with optional `country`. For format and validity checks only use /validatephone.
- **getPinCode** — Returns the locations matching a six-digit Indian PIN code. Spaces and hyphens are normalized, so 110001, 110 001 and 110-001 all resolve. Searching by city, district or state instead of a pincode requires premium.
- **Get_a_list_of_planets** — Get a list of planets matching specified parameters. Returns at most 30 results. To access more than 30 results, use the offset parameter to offset results in multiple API calls.
- **getPopulationData** — Get population data from given parameters. Returns a list of up to 5 country population statistics that satisfy the parameters. For more results use the offset parameter.
- **getPostalCode** — Returns details for a Canadian postal code, given as A1A1A1 or A1A 1A1. Searching by `city` and `province` instead of a postal code requires premium.
- **filterProfanity** — Screens `text` for profanity and returns a censored version plus a flag indicating whether anything was found. Requires `text`.
- **getPropertyTax** — Returns effective property tax rates for locations in the United States, filtered by state, county, city, or ZIP code.
- **getPublicHolidays** — Returns public holidays for a country and calendar year. Requires a `country`. To test whether one date is a public holiday use /ispublicholiday.
- **isPublicHoliday** — Checks whether a given date is a nationwide public holiday in a country, or in one of its regions when `subdivision` is given. Requires `country` and `date`. For a whole year of public holidays use /publicholidays.
- **generateQRCode** — Generates a QR Code image for the specified data.
- **getQuotes** — Returns quotes in a deterministic, paginated order, filterable by category, author or work title. For a random selection instead use /randomquotes.
- **getRandomQuotes** — Returns randomly chosen quotes, optionally filtered by category, author or work title. For stable paginated results use /quotes; for one fixed daily quote use /quoteoftheday.
- **getQuoteOfTheDay** — Returns a single quote of the day that stays the same for the whole day. Takes no parameters. For varying quotes use /randomquotes or /quotes.
- **getQuoteAuthors** — Lists authors who have multiple aphoristic quotes in the database, with limit and offset paging. Requires a premium subscription.
- **getRandomImage** — Returns a random royalty-free image, optionally constrained by `category`, `width` and `height`. Useful for placeholder or sample imagery.
- **getRandomUsers** — Generates fake user profiles such as name, email, address and username for testing or placeholders, with count, gender, age, locale, field selection and seed options.
- **getRandomWord** — Returns one or more random words, optionally restricted to a part of speech: noun, verb, adjective, or adverb.
- **getRecipes** — Get a list of recipes for a given recipe name or ingredient(s). Returns a list of recipes with nutrition information. To access more results, use the limit parameter to limit the number of results and the offset parameter to offset results for pagination in multiple API calls.
- **getRhyme** — Returns a list of rhyming words for any given word.
- **getRiddles** — Returns one or more random riddles.
- **getBankInfo** — Returns the US bank identified by a routing number. Requires a 9-digit `routing_number`. To find routing numbers by bank name or location instead use /routingnumbersearch.
- **searchBanks** — Finds US banks and their routing numbers by bank name, city, state, ZIP code or SWIFT/BIC code, with `offset` paging. To decode a known routing number use /routingnumber.
- **calculateSalesTax** — Calculates US sales tax on a purchase amount for a location given by ZIP code or by city and state, returning the tax breakdown and total. Requires `amount`.
- **getSalesTax** — Returns the sales tax rate and its breakdown for a US `zip_code`, or for a `street_address` with city and state for the most accurate result. For thresholds use /salestaxnexus.
- **getSalesTaxFiling** — PREMIUM ONLY - Business tier and above; requests below that return an error.

Filing frequencies and due dates by US state. Calendars are GENERATED from each state's published rules, so all state due dates stay correct across years.

Handles what a naive 'due on the 20th' model gets wrong: due days ranging from the 15th (Maine) to the last day of the month (California); New York's quarters ending Feb/May/Aug/Nov; weekend and holiday rollover against federal, state or both calendars, flagged with due_date_adjusted and preserving statutory_due_date; electronic payments that must be INITIATED a business day early (Florida); and prepayment regimes in the four distinct placements states actually use.

Supply annual_liability to have the state's own ladder assign a frequency. Where a state grants frequency by written approval or departmental notice rather than by a published dollar threshold, the response is 'indeterminate' rather than a guess. Each jurisdiction carries coverage_level, and any field the state does not publish is listed in unpublished with an unpublished_reason.

State-level filing regimes only; home-rule localities that file separately are out of scope. This is reference data, not tax advice.
- **getSalesTaxHolidays** — Sales tax holidays for US states, with timezone-aware start and end timestamps, eligible item categories and per-item price caps.

Supply a date, category and amount to get an exemption determination for a single purchase. Where a state lets each locality opt in or out, the endpoint returns exempt: null with determination: 'indeterminate' and a required_input array rather than a flat true, because participation is not decidable from the state alone.

Price caps are per item in most states, not per transaction; cap_basis says which. Asking for a year the state has not yet published returns an empty result set with a coverage note, not an error and not last year's dates.

This is reference data, not tax advice.
- **getSalesTaxNexus** — PREMIUM ONLY - requests on the free tier return an error. Returns economic nexus thresholds for US states. Call it with no sales figures as a reference lookup, or supply sales figures to get a determination. Omit the state parameter to evaluate all 50 states and DC in one call. Any 'nexus' or 'no_nexus' determination is provable from the figures supplied. Where the inputs cannot settle the question, the endpoint returns 'indeterminate' with a required_input array rather than guessing, because states measure different quantities: taxable sales are a subset of retail sales, which are a subset of gross sales. Economic nexus only. Physical presence is not evaluated. This is reference data, not tax advice.
- **getSalesTaxRateChanges** — PREMIUM ONLY - Developer plans and above; requests below that return an error.

Announced and scheduled changes to US sales and use tax rates for states, counties, cities and special districts, sorted by effective date (changes without a date yet come last). Each change has the old and new rate, the effective date, days until it takes effect, its status (from on the ballot through enacted) and the official announcement it comes from. Changes taking effect within 30 days are marked high priority.

Only upcoming changes are returned. Use updated_since to sync incrementally; it also returns cancelled changes so you can retire ones you stored.
- **screenSanctions** — Returns ranked matches against the configured government sanctions lists. The set of lists and entity types available depends on subscription tier — Free covers OFAC SDN individuals only, Developer adds EU and entities, Business adds UK/UN/AU and vessels/aircraft.
- **searchSEC** — Returns a list of SEC filing information (including the submission URL) corresponding to the given search parameters.
- **analyzeSentiment** — Analyzes the sentiment of a piece of text and returns a sentiment result for it. Requires `text` of at most 2000 characters.
- **getShortInterest** — Returns the latest short interest for a security plus history, with short percent of outstanding and float, dollar notional short, and a two-year percentile. The free tier returns the latest settlement date with short percent of outstanding. Premium plans add float-based metrics, the percentile and split-adjusted history: two years on Learner and Developer, the full archive on Business and above.
- **getShortInterestScreener** — Ranks every US security for a settlement date by short percent of float, short percent of outstanding, days to cover, two-week change, dollar notional short, or two-year percentile. This is how you find the most shorted stocks. Requires a Business plan or higher.
- **getShortVolume** — Daily short sale volume for off-exchange trades, updated every trading day, so you can track short selling between short interest readings. Compare today's ratio with average_short_volume_ratio_20d to spot unusual activity.
- **getFailsToDeliver** — Daily fails-to-deliver by settlement date: shares that did not settle on time.
- **getShortInterestCalendar** — Settlement, reporting and publication dates for every short interest cycle, so you can schedule refreshes instead of polling. Available on every plan, including free.
- **getSortCodeInfo** — Looks up and validates a 6-digit UK sort code, returning its bank and branch details. Requires `sort_code`. To search by bank, city or postcode use /sortcodesearch.
- **searchSortCodes** — Finds UK bank branches and their sort codes by bank name, city or postcode. To look up a single sort code that is already known use /sortcode.
- **spellCheck** — Checks the spelling of `text` and returns corrections. Input is capped at 50 characters on the free tier and 500 characters for premium subscribers.
- **Get_a_list_of_stars** — Get a list of stars matching specified parameters. Returns at most 30 results. To access more than 30 results, use the offset parameter to offset results in multiple API calls.
- **getStockExchange** — Returns stock exchange details matching a MIC, name, city, or country, including trading hours and number of listings. For every exchange use /allstockexchanges.
- **getAllStockExchanges** — Returns every supported stock exchange in one call. To look up one exchange by MIC, name, city, or country use /stockexchange. Business and Professional tiers only.
- **getStockExchangeHours** — Check if stock exchanges are open on a specific date or at a specific point in time. Returns trading hours (adjusted for early closures and holidays) and open/closed status.
- **getStockExchangeHolidays** — Returns holiday calendars for stock exchanges, including full closures and early close days. If no parameters are specified, returns holidays for all exchanges.
- **getStockNews** — Returns up to 50 of the latest stock-market news headlines, sorted most recent first. Optionally filter by one or more ticker symbols. This endpoint is available to premium subscribers only.
- **getCurrentStockPrice** — Returns the current price of a stock or market index. Requires a `ticker` such as AAPL or ^DJI. For past prices and OHLC bars use /stockpricehistorical.
- **getHistoricalStockPrice** — Returns historical price bars for a stock at intervals from 1 minute to 1 day over an optional Unix `start`/`end` range. Requires a `ticker`. For the latest price use /stockprice.
- **getStockPriceList** — Returns a list of all available companies and their ticker symbols. Supports pagination to retrieve results in batches. Premium only.
- **getStockSplit** — Returns historical and upcoming stock split records filtered by ticker, exchange, forward or reverse split type, and a single date or date range.
- **generateSudoku** — Generates a new Sudoku puzzle at a chosen box width, height, difficulty and optional seed for reproducible output. To solve an existing puzzle use /sudokusolve.
- **solveSudoku** — Solves a Sudoku puzzle supplied in the request body. Requires the grid's box `width` and `height`. To create a new puzzle instead use /sudokugenerate.
- **findSwiftCodes** — Returns a list of bank information (including SWIFT/BIC Code) that match the input parameter. Returns at most 100 results. For more results, use the offset parameter.
- **detectLanguage** — Detects which language a text is written in, across over 50 supported languages. Requires `text` of at most 1000 characters.
- **computeTextSimilarity** — Returns a similarity score between 0 and 1 (1 is similar and 0 is dissimilar) of two given texts.
- **getThesaurus** — Returns the synonyms (similar words) and antonyms (opposite meanings) of a single English word. Requires a `word` to look up.
- **getTicker** — Returns the company profile for a ticker symbol, including executive details, financial metrics, identifiers, and contact information. Requires a `ticker`.
- **searchTickers** — Searches ticker symbols by company name, with optional negative keywords to exclude matches. Requires a `name`. For the full profile of a symbol use /ticker.
- **getTimezone** — Returns the IANA timezone and current local time for a location given as `lat`/`lon`, `city`, or an explicit `timezone` name.
- **getTreasuryYield** — Returns the US Treasury yield curve for one day, latest by default: par, real (TIPS) or bill rates with spreads. For a date range use /treasuryyieldhistorical. Deep history is premium.
- **getTreasuryYieldHistorical** — Returns a Treasury yield time series over a date range for the par, real or bill curve, for one `maturity` or, with premium, the whole curve. For a single day use /treasuryyield.
- **getTrivia** — Returns a random trivia question and answer.
- **getTriviaOfTheDay** — Returns a single trivia question and answer for the current day. The same question is returned for all requests on the same day, and changes each day. No filtering parameters are available for this endpoint to ensure everyone sees the same trivia of the day. Questions flagged as explicit are always excluded here.
- **getUnemploymentData** — Returns national unemployment rates, optionally filtered by `country` and `year`. Omit both to retrieve the latest figures across countries.
- **convertUnit** — Converts a numeric value from one unit of measurement to another. Requires `amount` and the source `unit`, with spaces written as underscores.
- **getUniversities** — Returns institutions matching the provided filters, closest name matches first, then by enrollment (largest first). At least one filter parameter (excluding offset/limit) is required. Free users can use name or country; all other filters are premium only. Closed institutions are excluded unless status is set.
- **getUrlInfo** — Returns location information for a URL or domain name, including coordinates, city, country, and ISP details. Requires a `url`, with or without a scheme.
- **parseUserAgent** — Parses a user agent string to extract device, OS, and browser information. All response fields are top-level. Invalid or unrecognized user agents return HTTP 200 with is_valid false and invalid_reason set, and still return whatever browser, OS and device information could be parsed. A version newer than the latest known release is reported in warnings rather than treated as invalid.
- **generateUserAgent** — Generates a user agent string, optionally matching a device `brand`, `model`, `os` and `browser`. To parse an existing user agent string instead use /v2/useragentparse.
- **validateEmail** — Checks whether an `email` address is syntactically valid and has a deliverable mail domain. For disposable-address detection use /disposableemail.
- **validatePhone** — Validates a phone `number` and returns its normalised format, country and location. For carrier and line type use /phonelookup.
- **getVATRates** — Returns current and historical VAT rates for a European Union country, filterable by rate type and date range. Requires a two-letter ISO `country` code.
- **validateVATNumber** — Validates an EU VAT number by format, checksum, and live EU registry status. Requires a `vat` with country prefix. Company name and address require a premium plan.
- **vinLookup** — Decodes a 17-character Vehicle Identification Number, or a Japanese domestic chassis number, and returns the vehicle's manufacturer, model, body class, country and region of manufacture, and model year.
- **getCurrentWeather** — Get current weather, wind speed and direction, humidity, and temperature data by city, ZIP code, or geolocation coordinates (latitude/longitude). One of the following parameter combinations must be provided: lat and lon; or city, state (optional), and country (optional).
- **getWeatherForecast** — Returns a 5-day weather forecast in 3-hour intervals for a given city. One of the following parameter combinations must be provided: lat and lon; zip; or city, state (optional), and country (optional).
- **getWeatherIcons** — Returns every light/dark SVG and 64/128/256-pixel PNG URL for the 74 icons, plus all 55 condition-code mappings. Requires an authenticated paid API Ninjas subscription; normal Weather API quotas apply. No anonymous demo access. No parameters required.
- **scrapeData** — Fetches a `url` and returns its contents, with `text_only` to strip markup. For the page title and metadata alone use /webpage.
- **getWebpageMetadata** — Returns the URL information and web page metadata from a given URL.
- **getWhois** — Returns WHOIS registration details for a `domain`, including registrar, creation and expiry dates. For risk and email-provider signals use /domain.
- **getWorkingDays** — Returns the working and non-working days for a country across a year or a single month, with configurable weekends. Requires `country`. For one date use /isworkingday.
- **isWorkingDay** — Reports whether one specific date is a working day in a given country. Requires `country` and `date`. For a whole month or year use /workingdays.
- **getWorldTime** — Get the current date and time by city/state/country, location coordinates (latitude/longitude), or timezone.
- **Get_ZIP_Code_details** — Returns a list of ZIP Code details matching the input parameters.
- **getBiblePassage** — Returns Bible passages by reference, in one translation or up to five side by side, a random verse, or the verse of the day. A passage can be a single verse, a range, a whole chapter or a whole book. Provide ref, or set random or daily to true.
- **searchBible** — Searches the Bible by keyword, exact phrase, Strong's number or meaning, and finds verses that are close in meaning to a given verse. Provide q or similar_to.
- **verifyBibleQuote** — Checks whether a quote is really in the Bible: returns a verdict, where the words actually are, the Bible text, a similarity score and a word-by-word comparison, and flags quotes attributed to the wrong verse. With text, finds every Bible reference in a block of text and checks the quotation next to each one. Provide quote or text.
- **verifyBibleText** — The same check as GET /v1/bibleverify with the parameters in a JSON body. Use it for long text (up to 20,000 characters).
- **getSportsGames** — Returns games (fixtures) for one day, a team's season, a season (50 games per page; use offset, or limit on paid plans) or one game id. With only league, returns today's games in the league's home time zone.
- **getSportsPlayers** — Returns current rosters and player profiles. Provide league with team or name, or a player_id.
- **getSportsStandings** — Returns the league table for a season, ordered by league rank, or by conference or division rank when filtered. College tables come conference by conference; with poll, college leagues return a weekly poll (rank, team, previous_rank, points, first_place_votes) instead.
- **listSportsTeams** — Lists teams and soccer clubs with league, sport and home venue, plus conference and division (US leagues) or country (soccer clubs).
- **getLayoffCoverage** — Lists every covered state with the agency that receives its notices, the date of its earliest notice, its latest notice date and its number of notices. Available on every plan.
- **getLayoffNotices** — Searches official WARN Act layoff notices by company, ticker, location, date, number of workers and event type, newest first. All parameters are optional; without any, the latest notices from every state are returned.

Free plans get notices dated from January 1 of last year, and the company and notice_url fields hold "This field is for premium subscribers only." instead of their values.
- **getLayoffStats** — PREMIUM ONLY - Developer plans and above; requests below that return an error.

Returns the number of layoff notices and workers affected per month or per year, nationally or for one state, counted by notice date.
- **getBankChanges** — BUSINESS TIER AND ABOVE - Business, Professional and Enterprise plans; requests below that return an error.

Returns changes to bank records since a date, newest first: new banks, renames, mergers, failures, closures, revoked licences, SWIFT code changes and sanctions listings.
- **getBanks** — Finds banks by name or country, or looks one up by SWIFT/BIC code, LEI, routing number, national bank code, IBAN or website domain. Name searches put the best-known match first. At least one parameter other than limit, offset and status is required.
- **getBanksList** — Lists the active banks in one country, the most prominent first, with compact rows for bank pickers. The free plan gets up to 250 banks per country; paid plans page through the full list.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "api-ninjas": {
    "url": "https://mcp.api-ninjas.com/connect"
  }
}
```

## Documentation

## What API Ninjas MCP server does

API Ninjas MCP server exposes a broad collection of API Ninjas data services through Model Context Protocol. The catalog spans aviation, financial markets, company filings, banking identifiers, weather and air quality, geography, animals, baby names, health calculations, barcodes, and general-interest utilities.

The server is useful for agents that need to combine data from several domains. For example, an agent can look up airport information, calculate the distance between airports, retrieve airline details, and inspect aircraft specifications through MCP tools. Other calls can return Bitcoin market data, SEC balance-sheet records, bank holidays, routing-number details, calories burned, or a random advice item.

## How it works

Clients connect to the hosted MCP endpoint at `https://mcp.api-ninjas.com/connect`. The service presents API Ninjas operations as MCP tools, so an agent can invoke structured functions instead of constructing separate HTTP requests for each API. One API key is used across the API collection.

Many tools accept focused lookup parameters. Examples include a city or latitude and longitude for air-quality data, a ticker or CIK for balance sheets, airport codes for distance calculations, and a BIN for bank and issuer information. Some tools return random results when called without parameters, including `getAdvice` and `getBucketListItem`.

## Setup and configuration

Configure an MCP-compatible client to use the hosted endpoint:

```text
https://mcp.api-ninjas.com/connect
```

An API Ninjas key is required for access. The available operations and data depend on the API Ninjas subscription associated with that key. The hosted connection avoids running a local server process.

## Tools and capabilities

The catalog includes tools for:

- Aviation: search aircraft, airlines, airports, airport codes, airport suggestions, nearby airports, and airport-to-airport distance.
- Finance: retrieve Bitcoin prices and historical data, Bitcoin treasury positions, SEC balance sheets, and balance-sheet availability.
- Banking: inspect BINs, Australian BSBs, Canadian routing numbers, and bank holidays.
- Environment and location: query air-quality measurements by coordinates or location.
- Searchable data: find cars, animals, baby names, supported calorie-burning activities, and other catalog entries.
- Utilities: generate barcodes, calculate calories burned, return random advice, and suggest bucket-list activities.

Several operations distinguish between free and paid access. City-based air-quality searches, some airport filters, airport lists and conversions, airport distance, airport suggestions, nearby-airport searches, and selected banking or financial lookups require premium access. Some tools also require specific parameters, such as `ticker` or `cik` for balance sheets, `from` and `to` for airport distance, or `text` for barcode generation.

## Limitations and notes

Tool availability and result scope can depend on the API Ninjas plan. For air quality, free-tier requests can use `lat` and `lon`, while city searches are premium only. Airport search fields such as `name`, `city`, `region`, and `q` are premium; basic code and pagination filters are available on any plan. The car catalog requires a paid Premium plan.

Parameter requirements vary by operation. Aircraft searches need a filter or aircraft code, airline searches need an ICAO code, IATA code, or name, and airport suggestions require at least two query characters. `getAnalytics` reports usage for the account associated with the supplied API key, and those analytics calls do not consume quota.

_Full upstream README: https://allmcps.com/mcp/api-ninjas/readme_

