Skip to main content
Every apininjas.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Calendar

holidays

calendar.holidays Returns a list of holiday entries for a given country and year [premium plan required] Risk: read
Input Output: object[]

isPublicHoliday

calendar.isPublicHoliday Returns whether a given date is a public holiday for a given country Risk: read
Input Output

isWorkingDay

calendar.isWorkingDay Returns whether a given date is a working day for a given country Risk: read
Input Output

publicHolidays

calendar.publicHolidays Returns a list of public holidays for a given country and year [premium plan required] Risk: read
Input Output: object[]

timezone

calendar.timezone Get timezone info by city/state/country or location coordinates (latitude/longitude) Risk: read
Input Output

workingDays

calendar.workingDays Returns a list of working days and non-working days for a given country and year/month Risk: read
Input Output

worldTime

calendar.worldTime Get the current date and time by city/state/country, location coordinates (latitude/longitude), or timezone [premium plan required] Risk: read
Input Output

Economics

gdp

economics.gdp Get GDP data from given parameters Risk: read
Input Output: object[]

incomeTax

economics.incomeTax Returns comprehensive income tax information including tax brackets and rates at both federal and state/provincial levels (where applicable) Risk: read
Input Output

incomeTaxCalculator

economics.incomeTaxCalculator Returns comprehensive annual tax calculations including federal, state/provincial, and FICA taxes where applicable Risk: read
Input Output

inflation

economics.inflation Returns current monthly and annual inflation percentages [premium plan required] Risk: read
Input Output: object[]

interestRate

economics.interestRate Get a specific interest rate by name Risk: read
Input Output

mortgageCalculator

economics.mortgageCalculator Returns monthly payment, annual payment, and interest rate information based on given mortgage parameters Risk: read
Input Output

mortgageRate

economics.mortgageRate Returns the daily 30-year and 15-year fixed-rate mortgage (FRM) data Risk: read
Input Output: object[]

population

economics.population Get population data from given parameters Risk: read
Input Output

propertyTax

economics.propertyTax Returns a list of regions and corresponding 25th, 50th (median), and 75th percentile effective property tax rates Risk: read
Input Output: object[]

salesTax

economics.salesTax Returns one or more sales tax breakdowns by ZIP code according to the specified parameters Risk: read
Input Output: object[]

salesTaxCalculator

economics.salesTaxCalculator Calculates sales tax for a given amount and location Risk: read
Input Output: object[]

unemployment

economics.unemployment Get unemployment data for a given country Risk: read
Input Output: object[]

vatRates

economics.vatRates Returns VAT rates for a specified EU country Risk: read
Input Output: object[]

Entertainment

advice

entertainment.advice Returns a random piece of life advice Risk: read
Input: empty object Output

bucketList

entertainment.bucketList Returns a random bucket list idea Risk: read
Input: empty object Output

chuckNorris

entertainment.chuckNorris Returns a Chuck Norris joke Risk: read
Input: empty object Output

dadJokes

entertainment.dadJokes Returns one (or more) random dad jokes Risk: read
Input Output: object[]

factOfTheDay

entertainment.factOfTheDay Returns a single fact for the current day Risk: read
Input: empty object Output: object[]

facts

entertainment.facts Returns one (or more) random facts Risk: read
Input Output: object[]

generateSudoku

entertainment.generateSudoku Generate a new Sudoku puzzle with specified parameters Risk: read
Input Output

hobbies

entertainment.hobbies Returns a random hobby and a Wikipedia link detailing the hobby Risk: read
Input Output

horoscope

entertainment.horoscope Returns the daily horoscope for a specific zodiac sign Risk: read
Input Output

jokeOfTheDay

entertainment.jokeOfTheDay Returns a single joke for the current day Risk: read
Input: empty object Output: object[]

jokes

entertainment.jokes Returns one (or more) random funny jokes Risk: read
Input Output: object[]

quoteOfTheDay

entertainment.quoteOfTheDay Returns a single aphoristic quote for the current day Risk: read
Input: empty object Output: object[]

quotes

entertainment.quotes Returns high-quality quotes with advanced filtering by categories (include/exclude), author, work, and pagination support [premium plan required] Risk: read
Input Output: object[]

randomQuotes

entertainment.randomQuotes Returns random high-quality quotes with advanced filtering by categories (include/exclude), author, and work [premium plan required] Risk: read
Input Output: object[]

riddles

entertainment.riddles Returns one or more random riddles Risk: read
Input Output: object[]

solveSudoku

entertainment.solveSudoku Solve an existing Sudoku puzzle Risk: read
Input Output

trivia

entertainment.trivia Returns a random trivia question and answer Risk: read
Input Output: object[]

triviaOfTheDay

entertainment.triviaOfTheDay Returns a single trivia question and answer for the current day Risk: read
Input: empty object Output: object[]

Health

caloriesBurned

health.caloriesBurned Returns the calories burned per hour and total calories burned according to given parameters for given activities (up to 10) Risk: read
Input Output: object[]

cocktails

health.cocktails Returns up to 10 cocktail recipes matching the search parameters Risk: read
Input Output: object[]

exercises

health.exercises Returns up to 5 exercises that satisfy the given parameters [premium plan required] Risk: read
Input Output: object[]

nutrition

health.nutrition This endpoint uses AI to automatically read any text and extract every food item it contains, along with the right portion for each Risk: read
Input Output: object[]

recipes

health.recipes Get a list of recipes for a given recipe name or ingredient(s) Risk: read
Input Output: object[]

Internet

dnsRecords

internet.dnsRecords Returns a list of DNS records associated with a particular domain Risk: read
Input Output: object[]

domain

internet.domain Returns availability, registration lifecycle, and email/hosting intelligence for a given domain name Risk: read
Input Output

ipLookup

internet.ipLookup Returns the location of the IP address specified Risk: read
Input Output

mxRecords

internet.mxRecords Returns a list of MX records associated with a particular domain Risk: read
Input Output: object[]

scrape

internet.scrape Returns the HTML or plaintext data scraped from a given URL Risk: read
Input Output

urlLookup

internet.urlLookup Returns the location of the IP address hosting the URL domain Risk: read
Input Output

userAgent

internet.userAgent Generates a realistic user agent string based on optional parameters Risk: read
Input Output

webpage

internet.webpage Returns the URL information and web page metadata from a given URL Risk: read
Input Output

whois

internet.whois Returns domain registration details (e.g. registrar, contact information, expiration date, name servers) for a given domain name [premium plan required] Risk: read
Input Output

Location

airQuality

location.airQuality Get air quality by city or location coordinates (latitude/longitude) Risk: read
Input Output

cities

location.cities Get city data from either a name or population range Risk: read
Input Output: object[]

country

location.country Get country data from given parameters Risk: read
Input Output: object[]

county

location.county Returns details for one or more counties matching the input parameters Risk: read
Input Output: object[]

evChargers

location.evChargers find ev charging stations Risk: read
Input Output: object[]

geocode

location.geocode Get current city coordinates by city and country name Risk: read
Input Output: object[]

hospitals

location.hospitals Get hospital data based on given parameters Risk: read
Input Output: object[]

postalCode

location.postalCode Returns a list of postal code details matching the input parameters Risk: read
Input Output: object[]

reverseGeocode

location.reverseGeocode Returns a list of cities that contain a given latitude and longitude Risk: read
Input Output: object[]

universities

location.universities Returns information about universities matching the provided filters Risk: read
Input Output: object[]

weather

location.weather Get current weather, wind speed and direction, humidity, and temperature data by city, ZIP code, or geolocation coordinates (latitude/longitude) [premium plan required] Risk: read
Input Output

weatherForecast

location.weatherForecast Returns a 5-day weather forecast in 3-hour intervals for a given city [premium plan required] Risk: read
Input Output: object[]

zipCode

location.zipCode Returns a list of ZIP Code details matching the input parameters Risk: read
Input Output: object[]

Markets

bitcoin

markets.bitcoin Returns the latest Bitcoin price in USD and 24-hour market data Risk: read
Input: empty object Output

commodityPrice

markets.commodityPrice Returns the current price information for one or more commodities Risk: read
Input Output

convertCurrency

markets.convertCurrency Converts an existing currency and amount into a new currency [premium plan required] Risk: read
Input Output

cryptoPrice

markets.cryptoPrice Returns the current price and current time (in UNIX timestamp in seconds) for any cryptocurrency symbol Risk: read
Input Output

earnings

markets.earnings Returns a JSON array of detailed earnings reports, each with comprehensive financial statements and key performance metrics Risk: read
Input Output: object[]

earningsCalendar

markets.earningsCalendar Returns a list of past earnings results and upcoming earnings dates Risk: read
Input Output: object[]

earningsTranscript

markets.earningsTranscript Returns the earnings transcript for a given company earning quarter [premium plan required] Risk: read
Input Output

etf

markets.etf Returns comprehensive information about any ETF by its ticker Risk: read
Input Output

exchangeRate

markets.exchangeRate Returns the exchange rate for a given currency pair [premium plan required] Risk: read
Input Output

insiderTransactions

markets.insiderTransactions Returns a list of insider trading transactions that match the specified filters Risk: read
Input Output: object[]

marketCap

markets.marketCap Returns the current market cap data for any given company ticker Risk: read
Input Output

mutualFund

markets.mutualFund Returns comprehensive information about any Mutual Fund by its ticker Risk: read
Input Output

secFilings

markets.secFilings Returns a list of SEC filing information (including the submission URL) corresponding to the given search parameters Risk: read
Input Output: object[]

sp500

markets.sp500 Returns S&P 500 index constituents, filterable by ticker, company name, sector or the date the company joined the index Risk: read
Input Output: object[]

stockExchanges

markets.stockExchanges Returns detailed information about stock exchanges matching the specified criteria Risk: read
Input Output: object[]

stockPrice

markets.stockPrice Returns price information for any given ticker symbol Risk: read
Input Output

ticker

markets.ticker Returns comprehensive company profile information including company name, CEO, address, financial data, exchange information, identifiers… Risk: read
Input Output

tickerList

markets.tickerList Returns a list of all available companies and their ticker symbols Risk: read
Input Output: object[]

Reference

animals

reference.animals Returns up to 10 results matching the input name parameter Risk: read
Input Output: object[]

babyNames

reference.babyNames Returns 10 baby name results Risk: read
Input Output: string[]

cats

reference.cats Get a list of cat breeds matching specified parameters Risk: read
Input Output: object[]

celebrities

reference.celebrities Returns a list of up to 30 celebrities that match the search parameters Risk: read
Input Output: object[]

dayInHistory

reference.dayInHistory Returns historical events that occurred on a specific date [premium plan required] Risk: read
Input Output: object[]

dogs

reference.dogs Get a list of dog breeds matching specified parameters Risk: read
Input Output: object[]

historicalEvents

reference.historicalEvents Returns a list of up to 10 events that match the search parameters Risk: read
Input Output: object[]

historicalFigures

reference.historicalFigures Returns a list of up to 10 people that match the search parameters Risk: read
Input Output: object[]

planets

reference.planets Get a list of planets matching specified parameters Risk: read
Input Output: object[]

stars

reference.stars Get a list of stars matching specified parameters Risk: read
Input Output: object[]

Text

dictionary

text.dictionary Returns a string containing definitions for a given word Risk: read
Input Output

embeddings

text.embeddings Returns a 768-dimensional vector as an array that encodes the meaning of any given input text Risk: read
Input Output

language

text.language Returns the language name and 2-letter ISO language code for a given block of text string Risk: read
Input Output

loremIpsum

text.loremIpsum Returns one or more paragraphs of lorem ipsum placeholder text Risk: read
Input Output

profanityFilter

text.profanityFilter Returns the censored version (bad words replaced with asterisks) of any given text and whether the text contains profanity Risk: read
Input Output

randomWord

text.randomWord Returns a random word [premium plan required] Risk: read
Input Output: string[]

rhymes

text.rhymes Returns a list of rhyming words for any given word Risk: read
Input Output: string[]

sentiment

text.sentiment Returns sentiment analysis score and overall sentiment for a given block of text Risk: read
Input Output

similarity

text.similarity Returns a similarity score between 0 and 1 (1 is similar and 0 is dissimilar) of two given texts Risk: read
Input Output

spellCheck

text.spellCheck Returns spelling corrections and suggestions for any given text Risk: read
Input Output

thesaurus

text.thesaurus Returns a list of synonyms and a list of antonyms for a given word Risk: read
Input Output

Transport

aircraft

transport.aircraft Returns a list of aircrafts that match the given parameters Risk: read
Input Output: object[]

airlines

transport.airlines Returns airline details including fleet composition, base airport and branding assets, by name, IATA code or ICAO code Risk: read
Input Output: object[]

airports

transport.airports Returns a list of up to 10 airport results Risk: read
Input Output: object[]

cars

transport.cars Get car data from given parameters [deprecated by the provider] Risk: read
Input Output: object[]

electricVehicles

transport.electricVehicles Get electric vehicle data from given parameters Risk: read
Input Output: object[]

helicopters

transport.helicopters Get helicopter technical specifications that match the given parameters Risk: read
Input Output: object[]

motorcycles

transport.motorcycles Returns up to 30 motorcycle results matching the input name parameters Risk: read
Input Output: object[]

vin

transport.vin Returns key vehicle information including manufacturer, country of origin, and model year for a given VIN Risk: read
Input Output

Utility

barcode

utility.barcode Returns a barcode image binary specified by input parameters Risk: read
Input Output

convertUnit

utility.convertUnit Returns conversions between different units of the same measurement type Risk: read
Input Output

counter

utility.counter Fetch and possibly update a counter Risk: write
Input Output

countryFlag

utility.countryFlag Get a country’s flag as SVG image URLs Risk: read
Input Output

emoji

utility.emoji Returns a list of emojis according to input parameters Risk: read
Input Output: object[]

utility.logo Get a list of company names, ticker symbols, and logo image URLs matching the input parameters Risk: read
Input Output: object[]

password

utility.password Returns a random password string adhering to the specified parameters Risk: read
Input Output

qrCode

utility.qrCode Returns a QRCode image binary specified by input parameters Risk: read
Input Output

randomImage

utility.randomImage Returns a random image in JPEG format [premium plan required] Risk: read
Input Output

randomUser

utility.randomUser Returns fake random user profiles Risk: read
Input Output: object[]

Validation

bin

validation.bin Returns detailed information about a bank based on the BIN number provided Risk: read
Input Output: object[]

disposableEmail

validation.disposableEmail Returns metadata for a given email address, including whether it is from a disposable email provider Risk: read
Input Output

email

validation.email Returns metadata (including whether it is valid) for a given email address Risk: read
Input Output

iban

validation.iban Returns detailed information on a given IBAN Risk: read
Input Output

phone

validation.phone Returns metadata (including whether it is valid) for a given phone number Risk: read
Input Output

routingNumber

validation.routingNumber Returns detailed information about a bank based on its routing number Risk: read
Input Output: object[]

swiftCode

validation.swiftCode Returns a list of bank information (including SWIFT/BIC Code) that match the input parameter Risk: read
Input Output: object[]