API Ninjas
api_ninjasAPI Ninjas offers over 120 unique APIs across various categories, enabling developers to build real applications with real data.
Acciones disponibles (18)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Generate Barcode ImageAPI_NINJAS_BARCODE_GENERATEAcciónTool to generate a barcode image for specified text. use when you need a barcode image (png or svg) of custom data.
API_NINJAS_BARCODE_GENERATEAcciónTool to generate a barcode image for specified text. use when you need a barcode image (png or svg) of custom data.
Parámetros de entrada
textstringObligatorioText to encode in the barcode
typestringenumType of barcode to generate
code39code128eanean13ean8gs1gtinisbnisbn10isbn13issnjan+3formatstringenumImage format to return
pngsvginclude_textbooleanWhether to include the text below the barcode
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
BIN LookupAPI_NINJAS_BIN_LOOKUPAcciónTool to look up bank information from a bank identification number. use after you have a bin to fetch issuer details (brand, type, country).
API_NINJAS_BIN_LOOKUPAcciónTool to look up bank information from a bank identification number. use after you have a bin to fetch issuer details (brand, type, country).
Parámetros de entrada
binstringObligatorioBank Identification Number (first 6-8 digits of a credit/debit card). Must be numeric.
Parámetros de salida
dataobject[]ObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Bitcoin Price and Market DataAPI_NINJAS_BITCOINAcciónTool to retrieve the latest bitcoin price and 24-hour market data. use when you need real-time bitcoin metrics in usd.
API_NINJAS_BITCOINAcciónTool to retrieve the latest bitcoin price and 24-hour market data. use when you need real-time bitcoin metrics in usd.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Commodity PriceAPI_NINJAS_COMMODITY_PRICEAcciónTool to get real-time price for a commodity. use when you need the current market price by specifying the commodity name. example: "what is the current price of gold?"
API_NINJAS_COMMODITY_PRICEAcciónTool to get real-time price for a commodity. use when you need the current market price by specifying the commodity name. example: "what is the current price of gold?"
Parámetros de entrada
namestringObligatorioName of the commodity, e.g., 'gold', 'silver', 'crude oil'
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Crypto PriceAPI_NINJAS_CRYPTO_PRICEAcciónTool to get real-time price for a cryptocurrency pair. use when you need the current market price by symbol.
API_NINJAS_CRYPTO_PRICEAcciónTool to get real-time price for a cryptocurrency pair. use when you need the current market price by symbol.
Parámetros de entrada
symbolstringObligatorioCryptocurrency trading pair symbol (e.g., 'LTCBTC').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check Disposable EmailAPI_NINJAS_DISPOSABLE_EMAIL_CHECKERAcciónTool to check whether an email address is from a disposable email provider. use when validating user emails prior to sending communications.
API_NINJAS_DISPOSABLE_EMAIL_CHECKERAcciónTool to check whether an email address is from a disposable email provider. use when validating user emails prior to sending communications.
Parámetros de entrada
emailanyObligatorioemailThe email address to check for disposability.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
DNS LookupAPI_NINJAS_DNS_LOOKUPAcciónTool to retrieve dns records for a specified domain. use when you need dns record details for troubleshooting or validation.
API_NINJAS_DNS_LOOKUPAcciónTool to retrieve dns records for a specified domain. use when you need dns record details for troubleshooting or validation.
Parámetros de entrada
domainanyObligatorioThe domain to look up DNS records for (e.g., example.com). Top-level domains other than .com require a premium subscription.
Parámetros de salida
dataobject[]ObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Earnings CalendarAPI_NINJAS_EARNINGS_CALENDARAcciónTool to fetch past and upcoming earnings results for a specified ticker. use when you need both historical earnings and upcoming earnings dates for a company.
API_NINJAS_EARNINGS_CALENDARAcciónTool to fetch past and upcoming earnings results for a specified ticker. use when you need both historical earnings and upcoming earnings dates for a company.
Parámetros de entrada
limitintegerHow many results to return (1-100). Premium only.
tickerstringObligatorioCompany ticker symbol (e.g., 'MSFT').
show_upcomingbooleanWhether to include upcoming earnings dates. Defaults to false.
Parámetros de salida
dataobject[]ObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Earnings Call TranscriptAPI_NINJAS_EARNINGS_CALL_TRANSCRIPTAcciónTool to get the earnings call transcript for a company and quarter. use when you need full call text after earnings are released.
API_NINJAS_EARNINGS_CALL_TRANSCRIPTAcciónTool to get the earnings call transcript for a company and quarter. use when you need full call text after earnings are released.
Parámetros de entrada
yearintegerObligatorioEarnings year between 2000 and the current year. Historical data before 2024 requires a premium subscription.
tickerstringObligatorioCompany ticker symbol (e.g., 'AAPL').
quarterintegerObligatorioenumEarnings quarter (1-4).
1234
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
ETF InfoAPI_NINJAS_ETF_INFOAcciónTool to get detailed information about an etf by ticker. use after identifying the etf ticker symbol to retrieve its key metrics and top holdings.
API_NINJAS_ETF_INFOAcciónTool to get detailed information about an etf by ticker. use after identifying the etf ticker symbol to retrieve its key metrics and top holdings.
Parámetros de entrada
tickerstringObligatorioETF ticker symbol (e.g., 'QQQ', 'SPY', 'VTI')
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Income TaxAPI_NINJAS_GET_INCOME_TAXAcciónTool to get current and historical income tax rates for a country. use when you need detailed federal and state/provincial tax bracket information by country code and year.
API_NINJAS_GET_INCOME_TAXAcciónTool to get current and historical income tax rates for a country. use when you need detailed federal and state/provincial tax bracket information by country code and year.
Parámetros de entrada
yearintegerObligatorioTax year to retrieve data for
countrystringObligatorio2-letter ISO country code (e.g., 'US', 'CA')
federal_onlybooleanIf true, returns only federal tax information without state/provincial details
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
IBAN LookupAPI_NINJAS_IBAN_LOOKUPAcciónTool to look up and validate an international bank account number (iban). use when you have an iban and need to retrieve its components (country, bank code, account number, etc.) and its validity.
API_NINJAS_IBAN_LOOKUPAcciónTool to look up and validate an international bank account number (iban). use when you have an iban and need to retrieve its components (country, bank code, account number, etc.) and its validity.
Parámetros de entrada
ibanstringObligatorioInternational Bank Account Number to look up
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Income Tax CalculatorAPI_NINJAS_INCOME_TAX_CALCULATORAcciónTool to calculate income taxes for us and canada. use when you need detailed breakdown of federal, state/provincial, and fica taxes. country and region codes must be correct.
API_NINJAS_INCOME_TAX_CALCULATORAcciónTool to calculate income taxes for us and canada. use when you need detailed breakdown of federal, state/provincial, and fica taxes. country and region codes must be correct.
Parámetros de entrada
incomenumberObligatorioAnnual income amount; must be non-negative.
regionstringObligatorioState/province code (e.g., 'CA', 'NY', 'ON').
countrystringObligatorioenum2-letter country code (e.g., 'US' for United States, 'CA' for Canada). Currently only US and CA are supported.
USCAcreditsnumberTotal tax credits amount; non-negative. Defaults to 0.
deductionsnumberTotal tax deductions amount; non-negative. Defaults to 0.
filing_statusstringenumTax filing status; required for US. Possible values: 'single', 'married', 'married_separate', or 'head_of_household'.
singlemarriedmarried_separatehead_of_householdself_employedbooleanSet to true for self-employed tax calculations (US only). Defaults to false.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Inflation DataAPI_NINJAS_INFLATIONAcciónTool to get current inflation data for a country. use when you need latest cpi or hicp monthly and annual inflation rates.
API_NINJAS_INFLATIONAcciónTool to get current inflation data for a country. use when you need latest cpi or hicp monthly and annual inflation rates.
Parámetros de entrada
typestringenumInflation indicator type. Can be either 'CPI' (Consumer Price Index) or 'HICP' (Harmonized Index of Consumer Prices). Defaults to 'CPI'.
CPIHICPcountrystringName of country (case-insensitive).
Parámetros de salida
dataobject[]ObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Interest RateAPI_NINJAS_INTEREST_RATEAcciónTool to get current interest rates for central banks and benchmarks. use when you need to fetch the latest interest rate for a specific country or all available countries.
API_NINJAS_INTEREST_RATEAcciónTool to get current interest rates for central banks and benchmarks. use when you need to fetch the latest interest rate for a specific country or all available countries.
Parámetros de entrada
countrystringCountry name or ISO 3166-1 alpha-2 code. If omitted, returns rates for all available countries.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Market CapAPI_NINJAS_MARKET_CAPAcciónTool to get real-time market cap data for a company. use when you need up-to-date market capitalization by specifying the stock ticker. example: "what is the market cap of nvda?"
API_NINJAS_MARKET_CAPAcciónTool to get real-time market cap data for a company. use when you need up-to-date market capitalization by specifying the stock ticker. example: "what is the market cap of nvda?"
Parámetros de entrada
tickerstringObligatorioStock ticker symbol, e.g., 'NVDA'
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Mortgage RateAPI_NINJAS_MORTGAGE_RATEAcciónTool to get current and historical mortgage rates. use when you need weekly fixed-rate mortgage data, optionally for specific dates or date ranges.
API_NINJAS_MORTGAGE_RATEAcciónTool to get current and historical mortgage rates. use when you need weekly fixed-rate mortgage data, optionally for specific dates or date ranges.
Parámetros de entrada
datestringIndividual date to query in YYYY-MM-DD format. Premium-only; returns the week matching this date.
max_datestringMaximum date in YYYY-MM-DD format for range query (must be used with min_date). Premium-only.
min_datestringMinimum date in YYYY-MM-DD format for range query (must be used with max_date). Premium-only.
Parámetros de salida
dataobject[]ObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Extract Nutrition InformationAPI_NINJAS_NUTRITIONAcciónTool 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.
API_NINJAS_NUTRITIONAcciónTool 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.
Parámetros de entrada
querystringObligatorioText to extract nutrition information from. Specify quantities if needed (e.g., '1lb brisket and fries').
Parámetros de salida
dataobject[]ObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not