NAiOS IconNAiOS Logo
Volver al catálogo

API Ninjas

api_ninjas

API Ninjas offers over 120 unique APIs across various categories, enabling developers to build real applications with real data.

Acciones
18
Triggers
0
Autenticación
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Tool 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

  • textstringObligatorio

    Text to encode in the barcode

  • typestringenum

    Type of barcode to generate

    code39code128eanean13ean8gs1gtinisbnisbn10isbn13issnjan+3
  • formatstringenum

    Image format to return

    pngsvg
  • include_textboolean

    Whether to include the text below the barcode

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

BIN LookupAPI_NINJAS_BIN_LOOKUPAcción

Tool 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

  • binstringObligatorio

    Bank Identification Number (first 6-8 digits of a credit/debit card). Must be numeric.

Parámetros de salida

  • dataobject[]Obligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Bitcoin Price and Market DataAPI_NINJAS_BITCOINAcción

Tool 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

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Commodity PriceAPI_NINJAS_COMMODITY_PRICEAcción

Tool 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

  • namestringObligatorio

    Name of the commodity, e.g., 'gold', 'silver', 'crude oil'

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Crypto PriceAPI_NINJAS_CRYPTO_PRICEAcción

Tool to get real-time price for a cryptocurrency pair. use when you need the current market price by symbol.

Parámetros de entrada

  • symbolstringObligatorio

    Cryptocurrency trading pair symbol (e.g., 'LTCBTC').

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check Disposable EmailAPI_NINJAS_DISPOSABLE_EMAIL_CHECKERAcción

Tool 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

  • emailanyObligatorioemail

    The email address to check for disposability.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

DNS LookupAPI_NINJAS_DNS_LOOKUPAcción

Tool to retrieve dns records for a specified domain. use when you need dns record details for troubleshooting or validation.

Parámetros de entrada

  • domainanyObligatorio

    The 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[]Obligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Earnings CalendarAPI_NINJAS_EARNINGS_CALENDARAcción

Tool 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

  • limitinteger

    How many results to return (1-100). Premium only.

  • tickerstringObligatorio

    Company ticker symbol (e.g., 'MSFT').

  • show_upcomingboolean

    Whether to include upcoming earnings dates. Defaults to false.

Parámetros de salida

  • dataobject[]Obligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Earnings Call TranscriptAPI_NINJAS_EARNINGS_CALL_TRANSCRIPTAcción

Tool 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

  • yearintegerObligatorio

    Earnings year between 2000 and the current year. Historical data before 2024 requires a premium subscription.

  • tickerstringObligatorio

    Company ticker symbol (e.g., 'AAPL').

  • quarterintegerObligatorioenum

    Earnings quarter (1-4).

    1234

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

ETF InfoAPI_NINJAS_ETF_INFOAcción

Tool 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

  • tickerstringObligatorio

    ETF ticker symbol (e.g., 'QQQ', 'SPY', 'VTI')

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Income TaxAPI_NINJAS_GET_INCOME_TAXAcción

Tool 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

  • yearintegerObligatorio

    Tax year to retrieve data for

  • countrystringObligatorio

    2-letter ISO country code (e.g., 'US', 'CA')

  • federal_onlyboolean

    If true, returns only federal tax information without state/provincial details

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

IBAN LookupAPI_NINJAS_IBAN_LOOKUPAcción

Tool 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

  • ibanstringObligatorio

    International Bank Account Number to look up

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Income Tax CalculatorAPI_NINJAS_INCOME_TAX_CALCULATORAcción

Tool 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

  • incomenumberObligatorio

    Annual income amount; must be non-negative.

  • regionstringObligatorio

    State/province code (e.g., 'CA', 'NY', 'ON').

  • countrystringObligatorioenum

    2-letter country code (e.g., 'US' for United States, 'CA' for Canada). Currently only US and CA are supported.

    USCA
  • creditsnumber

    Total tax credits amount; non-negative. Defaults to 0.

  • deductionsnumber

    Total tax deductions amount; non-negative. Defaults to 0.

  • filing_statusstringenum

    Tax filing status; required for US. Possible values: 'single', 'married', 'married_separate', or 'head_of_household'.

    singlemarriedmarried_separatehead_of_household
  • self_employedboolean

    Set to true for self-employed tax calculations (US only). Defaults to false.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Inflation DataAPI_NINJAS_INFLATIONAcción

Tool 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

  • typestringenum

    Inflation indicator type. Can be either 'CPI' (Consumer Price Index) or 'HICP' (Harmonized Index of Consumer Prices). Defaults to 'CPI'.

    CPIHICP
  • countrystring

    Name of country (case-insensitive).

Parámetros de salida

  • dataobject[]Obligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Interest RateAPI_NINJAS_INTEREST_RATEAcción

Tool 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

  • countrystring

    Country name or ISO 3166-1 alpha-2 code. If omitted, returns rates for all available countries.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Market CapAPI_NINJAS_MARKET_CAPAcción

Tool 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

  • tickerstringObligatorio

    Stock ticker symbol, e.g., 'NVDA'

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Mortgage RateAPI_NINJAS_MORTGAGE_RATEAcción

Tool 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

  • datestring

    Individual date to query in YYYY-MM-DD format. Premium-only; returns the week matching this date.

  • max_datestring

    Maximum date in YYYY-MM-DD format for range query (must be used with min_date). Premium-only.

  • min_datestring

    Minimum date in YYYY-MM-DD format for range query (must be used with max_date). Premium-only.

Parámetros de salida

  • dataobject[]Obligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Extract Nutrition InformationAPI_NINJAS_NUTRITIONAcción

Tool 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

  • querystringObligatorio

    Text to extract nutrition information from. Specify quantities if needed (e.g., '1lb brisket and fries').

Parámetros de salida

  • dataobject[]Obligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not