Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get Timezone Information
API_NINJAS_GET_TIMEZONETool to get timezone information for a location including UTC offset, local time, and timezone name. Use when you need timezone details for geographic locations or IANA timezone names. FREE tier supports timezone parameter; city, state, country, lat, and lon parameters require premium subscription.
Get Treasury Yield
API_NINJAS_GET_TREASURY_YIELDReturn the latest or dated Treasury par, real, bill, or combined yield curve.
Get Treasury Yield History
API_NINJAS_GET_TREASURY_YIELD_HISTORYReturn a paginated Treasury yield time series for one maturity or full curves by date. Requires Premium only.
Get Trivia Questions
API_NINJAS_GET_TRIVIATool to retrieve trivia questions by category from API Ninjas. Returns trivia questions with answers from various categories like music, sports, science, and more. Use when you need trivia questions for games, quizzes, or entertainment purposes.
Get Trivia of the Day
API_NINJAS_GET_TRIVIA_OF_THE_DAYTool to retrieve the trivia question of the day from API Ninjas. Returns the same trivia question for all users on a given day, with questions changing daily. Use when you need a daily trivia question to display or share.
Get Unemployment Rate
API_NINJAS_GET_UNEMPLOYMENTTool to get unemployment rate data for countries. Use when you need historical or current unemployment statistics by country or year.
Get University Information
API_NINJAS_GET_UNIVERSITYTool to retrieve university information by name or country. Use when you need details about universities worldwide including location, contact info, enrollment, tuition, and degree programs offered. At least one search parameter (name or country) is required.
Get Current Weather
API_NINJAS_GET_WEATHERTool to retrieve current weather data for a location. Use when you need real-time weather information including temperature, humidity, wind conditions, and sunrise/sunset times. Query by city name or GPS coordinates.
Get Weather Forecast
API_NINJAS_GET_WEATHER_FORECASTTool to retrieve 5-day weather forecast in 3-hour intervals for a location. Use when you need future weather predictions including temperature, humidity, wind, and sunrise/sunset times. Query by GPS coordinates or city name.
Get WHOIS Information
API_NINJAS_GET_WHOISTool to get WHOIS domain registration information including registrar, creation date, and expiration date. Use when you need details about domain registration.
Get Working Days
API_NINJAS_GET_WORKING_DAYSGet working-day counts and dates for a country by year or month, accounting for weekends and public holidays. Weekend days and whether public holidays count as non-working days can be configured.
Get World Time
API_NINJAS_GET_WORLDTIMETool to get current date and time for a location with detailed date/time components. Returns timezone, datetime, date, year, month, day, hour, minute, second, and day of the week. Use when you need detailed time information for a specific location or timezone.
Get US Zipcode Location Info
API_NINJAS_GET_ZIPCODETool to retrieve location information for US zip codes. Returns city, state, county, coordinates, timezone, and area codes. Use when you need to find location details for a zip code or search by city/state.
List Airports
API_NINJAS_LIST_AIRPORTSList airport ICAO codes and names with offset pagination. Requires Annual plans only.
List Bank Holidays
API_NINJAS_LIST_BANK_HOLIDAYSList bank holidays for a country and year, including regional and observed dates.
List Breeds
API_NINJAS_LIST_BREEDSList all cat or dog breed names accepted by the corresponding API Ninjas animal endpoint. Requires Premium.
List Calorie Burning Activities
API_NINJAS_LIST_CALORIE_BURNING_ACTIVITIESList activity names accepted by the Calories Burned calculator. Requires Premium only.
List Car Generations
API_NINJAS_LIST_CAR_GENERATIONSList vehicle generations for a make and model, optionally limited to generations with cars. Requires Business tier and above, or any annual plan.
List Car Makes
API_NINJAS_LIST_CAR_MAKESList vehicle makes, optionally filtered by search text or model year. Requires Premium only.
List Car Models
API_NINJAS_LIST_CAR_MODELSList vehicle models for a make, optionally filtered by search text or model year. Requires Premium only.