API Ninjas integration
API Ninjas is a collection of data lookup APIs behind one key. An agent can pull stock, ETF, fund, crypto, commodity, metal and oil prices, company financials (balance sheet, income, cash flow), earnings reports and call transcripts, insider and institutional (13F) holdings, short interest, IPOs and SEC filings; exchange rates, interest, inflation, Treasury yields and macro data; US sales, property, income and payroll tax and EU VAT; bank identifiers (US, Canadian and Australian routing numbers, UK sort codes, IBAN, SWIFT, BIN); sanctions screening, NAICS codes and US motor carrier records; email, phone, DNS, WHOIS, IP and URL checks; geocoding, time zones, holidays, working days, weather and air quality; and text tools (sentiment, language, spelling, profanity, similarity, dictionary, OCR). Many routes or parameters need a paid plan, which each tool states. Not exposed: account analytics, entertainment and random generators (jokes, quotes, trivia, Bible, lottery, sports, passwords, QR codes, images), reference catalogues (animals, cars, aircraft, airports, nutrition, exercises, recipes, universities, hospitals), embeddings, face and object detection, the web scraper, LIBOR, currency volatility and commodity contract routes. Authentication is an API key from the API Ninjas profile page, sent in the X-Api-Key header.
Say what should happen.
The workflow builds itself.
What you can do with API Ninjas
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Income tax, 2 operations
calculate_income_taxCalculate income taxGETAgents: ask firstCalculates income tax for the United States or Canada from income, location, and filing status, including state or provincial tax. Requires `country`, `region`, `income`.get_income_taxGet income taxGETAgents: ask firstReturns comprehensive income tax information including tax brackets and rates at both federal and state/provincial levels (where applicable).
Naics, 2 operations
classify_naicsClassify naicsGETAgents: ask firstAssigns one primary NAICS code to a business description by applying NAICS classification rules: the primary-activity test, cross-reference exclusions, and establishment scope. Requires a Business subscription or above.get_naicsGet naicsGETAgents: ask firstReturns 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.
Sales tax, 2 operations
calculate_sales_taxCalculate sales taxGETAgents: ask firstCalculates 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`.get_sales_taxGet sales taxGETAgents: ask firstReturns 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 get_sales_tax_nexus.
Air quality, 1 operation
get_air_qualityGet air qualityGETAgents: ask firstReturns the Air Quality Index plus CO, NO2, O3, SO2, PM2.5 and PM10 concentrations for a location. Requires a `city` or `lat`/`lon`; searching by `city` is premium only, free-tier requests can use `lat`/`lon`.
Balance sheet, 1 operation
get_balance_sheetGet balance sheetGETAgents: ask firstReturns 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 get_balance_sheet_availability.
Balance sheet availability, 1 operation
get_balance_sheet_availabilityGet balance sheet availabilityGETAgents: ask firstReturns the fiscal years and quarters for which balance sheet data is available for a company. Requires a premium subscription (Developer tier and above).
Bank holiday, 1 operation
is_bank_holidayIs bank holidayGETAgents: ask firstChecks 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 get_bank_holidays.
Bank holidays, 1 operation
get_bank_holidaysGet bank holidaysGETAgents: ask firstReturns bank holidays for a country and calendar year. Requires a `country`. To test a single date use is_bank_holiday.
Bitcoin price, 1 operation
get_bitcoin_priceGet bitcoin priceGETAgents: ask firstReturns the latest Bitcoin price and market data. Takes no parameters. For a price series over a past time range use get_historical_bitcoin_price.
Bitcoin treasury, 1 operation
get_bitcoin_treasuryGet bitcoin treasuryGETAgents: ask firstBitcoin 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.
Bsb, 1 operation
get_bsbGet bsbGETAgents: ask firstLooks 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 search_bsb_numbers.
Canada routing number, 1 operation
get_canada_routing_numberGet canada routing numberGETAgents: ask firstReturns 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 search_canada_routing_numbers.
Cash flow, 1 operation
get_cash_flowGet cash flowGETAgents: ask firstReturns 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 get_cash_flow_availability.
Cash flow availability, 1 operation
get_cash_flow_availabilityGet cash flow availabilityGETAgents: ask firstReturns the fiscal years and quarters for which cash flow data is available for a company. Requires a premium subscription (Developer tier and above).
City, 1 operation
geocode_cityGeocode cityGETAgents: ask firstConverts a place name into latitude and longitude. Requires `city`; narrow with `state`, `country` or `zipcode`. For the reverse direction use reverse_geocode.
Commodity snapshot, 1 operation
get_commodity_snapshotGet commodity snapshotGETAgents: ask firstReturns 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.
Commodity spot price, 1 operation
get_commodity_spot_priceGet commodity spot priceGETAgents: ask firstPremium only. Returns the spot price of gold, silver, platinum or palladium (live, with bid and ask) or of WTI, Brent, natural gas, gasoline or heating oil (daily hub price). Other commodities return an error: use get_current_commodity_price.
Company logos, 1 operation
get_company_logosGet company logosGETAgents: ask firstGet a list of company names, ticker symbols, and logo image URLs matching the input parameters. Returns at most 10 results.
Counties, 1 operation
get_countiesGet countiesGETAgents: ask firstReturns details for one or more counties matching the input parameters.
Crypto price, 1 operation
get_crypto_priceGet crypto priceGETAgents: ask firstReturns the current market price of a cryptocurrency. Requires a `symbol` such as ETHUSDT. For past prices and OHLCV candles use get_historical_crypto_price.
Crypto symbols, 1 operation
get_crypto_symbolsGet crypto symbolsGETAgents: ask firstReturns the list of cryptocurrency ticker symbols available. Use it to find valid symbols before requesting quotes from the Crypto Price API.
Crypto treasury, 1 operation
get_crypto_treasuryGet crypto treasuryGETAgents: ask firstCrypto asset positions reported to the SEC in quarterly XBRL filings. Coverage is limited to SEC filers (holders listed only outside the US are not included), and each position is as of the filer's reported period end.
Currency, 1 operation
convert_currencyConvert currencyGETAgents: ask firstConverts an `amount` from one currency to another. Requires `have`, `want` and `amount`. For the raw rate without converting a figure use get_exchange_rate.
Current commodity price, 1 operation
get_current_commodity_priceGet current commodity priceGETAgents: ask firstReturns the current price for a single commodity (when `name` is provided) or a list of commodities (when `names` is provided).
Current gold price, 1 operation
get_current_gold_priceGet current gold priceGETAgents: ask firstReturns the current gold futures price in USD. Free responses carry the last completed daily settlement; premium plans return the live price.
Current inflation, 1 operation
get_current_inflationGet current inflationGETAgents: ask firstReturns current monthly and annual inflation percentages. Premium subscribers only.
Current interest rates, 1 operation
get_current_interest_ratesGet current interest ratesGETAgents: ask firstReturns the latest published value of a central bank or benchmark `rate`. For the full history of that rate use get_historical_interest_rates.
Current metals price, 1 operation
get_current_metals_priceGet current metals priceGETAgents: ask firstReturns a metal's current spot price with its futures price and contract. Free tier: last daily close; Developer: spot refreshed every minute; Business, Professional and Enterprise: live spot (about every 10 s) and the metals batch param.
Current oil price, 1 operation
get_current_oil_priceGet current oil priceGETAgents: ask firstReturns the current price of a crude oil or energy benchmark. Free tier: daily closing price for WTI (type=wti) and Brent (type=brent) only; premium tiers: real-time price for all benchmarks plus currency and unit conversion.
Current stock price, 1 operation
get_current_stock_priceGet current stock priceGETAgents: ask firstReturns the current price of a stock or market index. Requires a `ticker` such as AAPL or ^DJI. For past prices and OHLC bars use get_historical_stock_price.
Current weather, 1 operation
get_current_weatherGet current weatherGETAgents: ask firstReturns current weather (temperature, humidity, wind speed and direction) for a location. Provide lat and lon, or city with optional state and country; searching by city, state, country or zip is premium only.
Disposable email, 1 operation
check_disposable_emailCheck disposable emailGETAgents: ask firstChecks whether an email address comes from a disposable or temporary email provider, for sign-up and fraud screening. Requires `email`.
Dns records, 1 operation
get_dns_recordsGet dns recordsGETAgents: ask firstRetrieves DNS records for a domain, covering the A, AAAA, CNAME, MX, NS, PTR, SRV, SOA, TXT and CAA record types. Requires `domain`.
Domain info, 1 operation
get_domain_infoGet domain infoGETAgents: ask firstChecks whether a domain is available and returns basic registration information. Requires a `domain`; top-level domains other than .com need a premium subscription.
Earnings calendar, 1 operation
get_earnings_calendarGet earnings calendarGETAgents: ask firstReturns earnings reports for one company (`ticker`), a `date` or a `date_start`/`date_end` range; one is required. 50 per request, newest first; `offset` and `show_upcoming` are premium. History: Free 12 months, Developer 5 years.
Earnings reports, 1 operation
get_earnings_reportsGet earnings reportsGETAgents: ask firstReturns reported earnings results, filtered by `ticker`, `cik`, `year`, `quarter` or filing `date`. For dates of upcoming reports use get_earnings_calendar.
Earnings transcript, 1 operation
get_earnings_transcriptGet earnings transcriptGETAgents: ask firstReturns the full text of one company's earnings call. Requires a `ticker` or `cik`; to find which calls exist first, use search_earnings_transcripts. Choosing a `quarter` requires premium.
Etf, 1 operation
get_etfGet etfGETAgents: ask firstReturns 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.
Euribor rates, 1 operation
get_euribor_ratesGet euribor ratesGETAgents: ask firstReturns current Euribor interbank lending rates for maturities from 1 week to 12 months. Takes no parameters.
Exchange rate, 1 operation
get_exchange_rateGet exchange rateGETAgents: ask firstReturns the current exchange rate for a currency `pair` such as USD_EUR. To convert a specific amount instead use convert_currency.
Executive compensation, 1 operation
get_executive_compensationGet executive compensationGETAgents: ask firstReturns named-executive-officer pay for a company from SEC DEF 14A proxy statements. Free tier: the CEO's total for the latest fiscal year; premium tiers unlock the full breakdown, all executives, past years and Pay Versus Performance.
Fails to deliver, 1 operation
get_fails_to_deliverGet fails to deliverGETAgents: ask firstShares that did not settle on the contractual settlement date, published semi-monthly by the SEC.
Gdp, 1 operation
get_gdpGet gdpGETAgents: ask firstGet GDP data from given parameters. Returns GDP statistics that satisfy the parameters.
Gold spot price, 1 operation
get_gold_spot_priceGet gold spot priceGETAgents: ask firstPremium only. Returns the gold spot price (XAU/USD) with bid and ask.
Historical bitcoin price, 1 operation
get_historical_bitcoin_priceGet historical bitcoin priceGETAgents: ask firstReturns historical Bitcoin price data over a chosen interval and Unix timestamp range. For the latest price instead use get_bitcoin_price.
Historical commodity price, 1 operation
get_historical_commodity_priceGet historical commodity priceGETAgents: ask firstReturns a historical price series for a commodity over an optional Unix start/end range and interval. Requires a `name`. For the latest price use get_current_commodity_price.
Historical crypto price, 1 operation
get_historical_crypto_priceGet historical crypto priceGETAgents: ask firstReturns historical OHLCV candles for a cryptocurrency at a chosen interval and time range. Requires a `symbol` such as ETHUSDT. For the live price use get_crypto_price.
Historical exchange rate, 1 operation
get_historical_exchange_rateGet historical exchange rateGETAgents: ask firstReturns 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.
Historical gold price, 1 operation
get_historical_gold_priceGet historical gold priceGETAgents: ask firstReturns 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.
Historical inflation, 1 operation
get_historical_inflationGet historical inflationGETAgents: ask firstReturns 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.
Historical interest rates, 1 operation
get_historical_interest_ratesGet historical interest ratesGETAgents: ask firstReturns the published history of a benchmark `rate` over an optional date range, given as `start_date`/`end_date` (YYYY-MM-DD) or `start_time`/`end_time` (UNIX seconds). For the latest value only use get_current_interest_rates.
Historical oil price, 1 operation
get_historical_oil_priceGet historical oil priceGETAgents: ask firstReturns historical OHLCV (Open, High, Low, Close, Volume) data for an oil/energy benchmark, most recent first. Reserved for premium subscribers.
Historical stock price, 1 operation
get_historical_stock_priceGet historical stock priceGETAgents: ask firstReturns 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 get_current_stock_price.
Historical treasury yield, 1 operation
get_historical_treasury_yieldGet historical treasury yieldGETAgents: ask firstReturns 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 get_treasury_yield.
Holidays, 1 operation
get_holidaysGet holidaysGETAgents: ask firstReturns holidays for a country and calendar year, optionally filtered by holiday type. Requires a `country`. For holidays falling on one date use is_holiday.
Income statement, 1 operation
get_income_statementGet income statementGETAgents: ask firstReturns 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 get_income_statement_availability.
Income statement availability, 1 operation
get_income_statement_availabilityGet income statement availabilityGETAgents: ask firstReturns the fiscal years and quarters for which income statement data is available for a company. Requires a premium subscription (Developer tier and above).
Insider details, 1 operation
get_insider_detailsGet insider detailsGETAgents: ask firstReturns 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.
Insider transactions, 1 operation
get_insider_transactionsGet insider transactionsGETAgents: ask firstReturns insider trading transactions matching the filters, at most 100 per request (page with offset). History by plan: Free the last 90 days of filings, Developer 2 years, Business and Professional the full history (2009+).
Institutional holdings, 1 operation
get_institutional_holdingsGet institutional holdingsGETAgents: ask firstReturns an institutional manager's full 13F portfolio for a quarter. Requires `cik` or `manager_name`. For every holder of a single stock use get_institutional_ownership.
Institutional movers, 1 operation
get_institutional_moversGet institutional moversGETAgents: ask firstRanks the largest institutional new buys, exits, adds or trims for a quarter, market-wide or within one institution. Requires a premium subscription.
Institutional ownership, 1 operation
get_institutional_ownershipGet institutional ownershipGETAgents: ask firstLists every institution holding a given stock in a quarter. Requires `ticker` or `cusip`. For one manager's entire portfolio use get_institutional_holdings.
Ip location, 1 operation
get_ip_locationGet ip locationGETAgents: ask firstReturns location information for an IP address. Requires an `address` in IPv4 form such as 73.9.149.180 or in IPv6 form.
Ipo calendar, 1 operation
get_ipo_calendarGet ipo calendarGETAgents: ask firstReturns a list of IPO records matching the supplied filters. With no parameters, returns IPOs with listing dates between today and 30 days from now.
Language, 1 operation
detect_languageDetect languageGETAgents: ask firstDetects which language a text is written in, across over 50 supported languages. Requires `text` of at most 1000 characters.
Market cap, 1 operation
get_market_capGet market capGETAgents: ask firstReturns real-time market capitalization data for a company listed on a major exchange. Requires a `ticker` such as NVDA. Premium plans get live data; free plans get the market cap at the close of the most recent completed trading session.
Mortgage, 1 operation
calculate_mortgageCalculate mortgageGETAgents: ask firstCalculates 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`.
Mortgage rate, 1 operation
get_mortgage_rateGet mortgage rateGETAgents: ask firstReturns 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.
Motor carrier, 1 operation
get_motor_carrierGet motor carrierGETAgents: ask firstReturns the FMCSA profile of a US motor carrier looked up by its USDOT or MC number. Provide exactly one of dot or mc.
Motor carrier insurance, 1 operation
get_motor_carrier_insuranceGet motor carrier insuranceGETAgents: ask firstBusiness+ only. Returns a motor carrier's insurance filings, policy by policy, with coverage in US dollars, plus the 30-day BMC-35 cancellation window.
Motor carrier links, 1 operation
get_motor_carrier_linksGet motor carrier linksGETAgents: ask firstBusiness+ only. Lists carriers sharing an address, phone, email domain or officer with a carrier, over the full FMCSA census, for chameleon-carrier and double-brokering review.
Motor carrier safety, 1 operation
get_motor_carrier_safetyGet motor carrier safetyGETAgents: ask firstReturns a motor carrier's crash, inspection and BASIC results: crash counts, out-of-service rates against the national average, and public BASIC measures.
Mutual fund, 1 operation
get_mutual_fundGet mutual fundGETAgents: ask firstReturns 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).
Mx records, 1 operation
get_mx_recordsGet mx recordsGETAgents: ask firstReturns the mail-exchange (MX) records for a `domain`, showing which servers accept its email. For other record types use get_dns_records.
Naics risk, 1 operation
get_naics_riskGet naics riskGETAgents: ask firstReturns a KYB and underwriting risk profile for an industry: money-services, cash-intensive, cannabis, firearms, gambling and crypto flags, typical merchant category codes and a review recommendation. Requires a Business subscription or above.
Naics size standard, 1 operation
get_naics_size_standardGet naics size standardGETAgents: ask firstReturns the SBA size standard (13 CFR 121.201) for a NAICS code, plus a small-business verdict when revenue or employees is given. Developer plan or above; calculation basis, affiliation notes and exceptions need Business or above.
Oil spot price, 1 operation
get_oil_spot_priceGet oil spot priceGETAgents: ask firstPremium only. Returns the daily spot price at the benchmark's physical delivery hub. The types batch parameter is available to Business, Professional, and Enterprise subscribers, or any annual plan.
Paycheck withholding, 1 operation
calculate_paycheck_withholdingCalculate paycheck withholdingGETAgents: ask firstPremium only. Returns per-paycheck federal withholding, FICA (Social Security, Medicare, Additional Medicare), and optional state withholding given gross pay and W-4 inputs. Requires `gross_pay`, `pay_period`, `filing_status`.
Pin code, 1 operation
get_pin_codeGet pin codeGETAgents: ask firstReturns 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.
Population, 1 operation
get_populationGet populationGETAgents: ask firstGet 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.
Postal code, 1 operation
get_postal_codeGet postal codeGETAgents: ask firstReturns details for a Canadian postal code, given as A1A1A1 or A1A 1A1. Searching by `city` and `province` instead of a postal code requires premium.
Profanity, 1 operation
filter_profanityFilter profanityGETAgents: ask firstScreens `text` for profanity and returns a censored version plus a flag indicating whether anything was found. Requires `text`.
Property tax, 1 operation
get_property_taxGet property taxGETAgents: ask firstReturns one row per tax region with its 25th, 50th (median), and 75th percentile effective property tax rates. At least one of city, county, or zip must be set; parameter values are not case-sensitive. Returns at most 100 results.
Public holidays, 1 operation
get_public_holidaysGet public holidaysGETAgents: ask firstReturns public holidays for a country and calendar year. Requires a `country`. To test whether one date is a public holiday use is_public_holiday.
Sales tax filing, 1 operation
get_sales_tax_filingGet sales tax filingGETAgents: ask firstPREMIUM ONLY - Business tier and above; requests below that return an error. Filing frequencies and due dates by US state. Supply annual_liability to have the state's own ladder assign a frequency. This is reference data, not tax advice.
Sales tax holidays, 1 operation
get_sales_tax_holidaysGet sales tax holidaysGETAgents: ask firstSales 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.
Sales tax nexus, 1 operation
get_sales_tax_nexusGet sales tax nexusGETAgents: ask firstPREMIUM 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. Economic nexus only.
Sales tax rate changes, 1 operation
get_sales_tax_rate_changesGet sales tax rate changesGETAgents: ask firstPREMIUM ONLY - Developer plans and above; requests below that return an error. Lists announced and scheduled upcoming changes to US sales and use tax rates (states, counties, cities, special districts), sorted by effective date.
Sentiment, 1 operation
analyze_sentimentAnalyze sentimentGETAgents: ask firstAnalyzes the sentiment of a piece of text and returns a sentiment result for it. Requires `text` of at most 2000 characters.
Short interest, 1 operation
get_short_interestGet short interestGETAgents: ask firstReturns the latest bi-weekly short interest for a security plus history. The free tier returns the latest settlement date with the exact short percent of outstanding; premium adds float-based metrics, the percentile and history back to 2017.
Short interest calendar, 1 operation
get_short_interest_calendarGet short interest calendarGETAgents: ask firstSettlement dates, member reporting deadlines and publication dates. Short interest changes only 24 times a year, so this lets you schedule refreshes instead of polling. Available on every plan, including free.
Short interest screener, 1 operation
get_short_interest_screenerGet short interest screenerGETAgents: ask firstRanks 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. Requires a Business plan or higher.
Short volume, 1 operation
get_short_volumeGet short volumeGETAgents: ask firstReg SHO daily short sale volume: the portion of a day's OFF-EXCHANGE volume flagged as short sales. A ratio near 50% is normal and mostly reflects wholesalers filling retail buy orders from inventory.
Sort code, 1 operation
get_sort_codeGet sort codeGETAgents: ask firstLooks 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 search_sort_codes.
Spelling, 1 operation
check_spellingCheck spellingGETAgents: ask firstChecks the spelling of `text` and returns corrections. Input is capped at 50 characters on the free tier and 500 characters for premium subscribers.
Stock exchange, 1 operation
get_stock_exchangeGet stock exchangeGETAgents: ask firstReturns stock exchange details matching a MIC, name, city, or country, including trading hours and number of listings. For every exchange use list_stock_exchanges.
Stock exchange holidays, 1 operation
get_stock_exchange_holidaysGet stock exchange holidaysGETAgents: ask firstReturns holiday calendars for stock exchanges, including full closures and early close days; with no parameters, holidays for all exchanges. Business and Professional tier only.
Stock exchange hours, 1 operation
get_stock_exchange_hoursGet stock exchange hoursGETAgents: ask firstChecks whether stock exchanges are open on a date or at a point in time, with trading hours adjusted for early closures and holidays. Business and Professional tier only.
Stock news, 1 operation
get_stock_newsGet stock newsGETAgents: ask firstReturns 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.
Synonyms, 1 operation
get_synonymsGet synonymsGETAgents: ask firstReturns the synonyms (similar words) and antonyms (opposite meanings) of a single English word. Requires a `word` to look up.
Text from image, 1 operation
extract_text_from_imageExtract text from imagePOSTAgents: ask firstGiven an input image, return all detected texts and their bounding boxes.
Text similarity, 1 operation
compute_text_similarityCompute text similarityPOSTAgents: ask firstReturns a similarity score between 0 and 1 (1 is similar and 0 is dissimilar) of two given texts.
Ticker, 1 operation
get_tickerGet tickerGETAgents: ask firstReturns the company profile for a ticker symbol, including executive details, financial metrics, identifiers, and contact information. Requires a `ticker`.
Timezone, 1 operation
get_timezoneGet timezoneGETAgents: ask firstReturns the IANA timezone and current local time for a location given as `lat`/`lon`, `city`, or an explicit `timezone` name.
Treasury yield, 1 operation
get_treasury_yieldGet treasury yieldGETAgents: ask firstReturns the US Treasury yield curve for one day, latest by default: par, real (TIPS) or bill rates with spreads. For a date range use get_historical_treasury_yield. Deep history is premium.
Unemployment data, 1 operation
get_unemployment_dataGet unemployment dataGETAgents: ask firstReturns national unemployment rates, optionally filtered by `country` and `year`. Omit both to retrieve the latest figures across countries.
Unit, 1 operation
convert_unitConvert unitGETAgents: ask firstConverts a numeric value from one unit of measurement to another. Requires `amount` and the source `unit`, with spaces written as underscores.
Url location, 1 operation
get_url_locationGet url locationGETAgents: ask firstReturns location information for a URL or domain name, including coordinates, city, country, and ISP details. Requires a `url`, with or without a scheme.
Us routing number, 1 operation
get_us_routing_numberGet us routing numberGETAgents: ask firstReturns 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 search_us_routing_numbers.
Vat rates, 1 operation
get_vat_ratesGet vat ratesGETAgents: ask firstReturns current and historical VAT rates for a European Union country, filterable by rate type and date range. Requires a two-letter ISO `country` code.
Weather forecast, 1 operation
get_weather_forecastGet weather forecastGETAgents: ask firstReturns a 5-day weather forecast in 3-hour intervals for a location. Provide lat and lon, zip, or city with optional state and country; searching by zip, city, state or country is premium only.
Webpage metadata, 1 operation
get_webpage_metadataGet webpage metadataGETAgents: ask firstReturns the URL information and web page metadata from a given URL.
Whois, 1 operation
get_whoisGet whoisGETAgents: ask firstReturns WHOIS registration details for a `domain`, including registrar, creation and expiry dates. For risk and email-provider signals use get_domain_info.
Word definition, 1 operation
get_word_definitionGet word definitionGETAgents: ask firstReturns a string containing definitions for a given word.
Working days, 1 operation
get_working_daysGet working daysGETAgents: ask firstReturns 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 is_working_day.
World time, 1 operation
get_world_timeGet world timeGETAgents: ask firstReturns the current date and time for a `timezone`, `lat`/`lon` or a `city` (optional state and country). Premium only: evaluate another instant (`at`), add business days, count business days between two dates, check business hours.
Zip code, 1 operation
get_zip_codeGet zip codeGETAgents: ask firstReturns a list of ZIP Code details matching the input parameters.
Showing the first 120 of 156 endpoints. The rest are in the product, searchable from the workflow builder and from chat.
Use API Ninjas from Claude Code, Cursor or Codex
Connect API Ninjas in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its API Ninjas operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect API Ninjas
- Create your workspace
Sign up free. Nothing to install.
- Connect API Ninjas once
Add your API Ninjas connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
API Ninjas integration FAQ
What can you do with the API Ninjas integration?
LiveContext exposes 156 operations on API Ninjas, covering income tax, naics, sales tax and air quality.
