Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Analyze Nutrition
API_NINJAS_ANALYZE_NUTRITIONTool to extract nutrition information from text query. Use when you need to parse food-related text (e.g., recipes, menus) to calculate corresponding nutrition data.
Assess NAICS Risk
API_NINJAS_ASSESS_NAICS_RISKAssess documented compliance risk indicators for NAICS codes. Requires Business tier and above.
Calculate Airport Distance
API_NINJAS_CALCULATE_AIRPORT_DISTANCECalculate great-circle distance, initial bearing, and estimated flight time between two airports. Requires Premium only.
Calculate Currency Volatility
API_NINJAS_CALCULATE_CURRENCY_VOLATILITYCalculate realized volatility and percentile context for a currency pair. Requires Premium only.
Calculate Paycheck Withholding
API_NINJAS_CALCULATE_PAYCHECK_WITHHOLDINGCalculate federal, FICA, and optional state paycheck withholding. Requires Premium only.
Check Bank Holiday
API_NINJAS_CHECK_BANK_HOLIDAYCheck whether banks are closed on a date in a country or subdivision.
Check Disposable Email
API_NINJAS_CHECK_DISPOSABLE_EMAILTool to check whether an email address is from a disposable email provider. Use when validating user emails prior to sending communications.
Check Domain Availability
API_NINJAS_CHECK_DOMAINTool to check domain availability and retrieve registration information. Use when you need to verify if a domain is available for registration or get details about an existing domain.
Check Holiday
API_NINJAS_CHECK_HOLIDAYReturn all documented holiday categories on a date across every country when country is omitted; use Check Is Public Holiday for a country-specific public-holiday boolean or Check Bank Holiday for bank closures.
Check If Date Is Public Holiday
API_NINJAS_CHECK_IS_PUBLIC_HOLIDAYTool to check if a specific date is a public holiday in a given country. Use when you need to verify holiday status for scheduling, planning, or calendar-related tasks. Returns holiday name if applicable.
Check If Date Is Working Day
API_NINJAS_CHECK_IS_WORKING_DAYCheck whether a date is a working day in a country, with configurable weekend days and optional inclusion of public holidays.
Check Lottery Ticket
API_NINJAS_CHECK_LOTTERY_TICKETScore a supported lottery ticket against a draw. Requires Premium only.
Check Sales Tax Nexus
API_NINJAS_CHECK_SALES_TAX_NEXUSEvaluate supplied sales and transaction totals against a state's economic-nexus rules. Requires Premium only.
Classify Business NAICS
API_NINJAS_CLASSIFY_BUSINESS_NAICSClassify a business description to a NAICS code. Requires Business tier and above.
Convert Airport Code
API_NINJAS_CONVERT_AIRPORT_CODEResolve an IATA, ICAO, GPS, ident, or local airport code to the matching airport record.
Detect Faces
API_NINJAS_DETECT_FACESDetect faces and return their pixel bounding boxes in a JPEG or PNG image.
Detect Objects
API_NINJAS_DETECT_OBJECTSDetect labeled objects and bounding boxes in a JPEG or PNG image smaller than 2000 by 2000 pixels.
Extract Text From Image
API_NINJAS_EXTRACT_TEXT_FROM_IMAGEExtract text blocks and pixel bounding boxes from a JPEG or PNG image.
Extract Webpage Content
API_NINJAS_EXTRACT_WEBPAGE_CONTENTRetrieve URL information and webpage metadata, including domain, path, title, description, meta tags, and favicon.
Find Closest Airport
API_NINJAS_FIND_CLOSEST_AIRPORTFind airports near coordinates, with distance and optional size, runway, and IATA filters. Requires Premium only.