Api Ninjas

Learn how to use Api Ninjas with Composio

Overview

Enum

API_NINJAS

Description

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

Authentication Details

api_key
stringRequired

Actions

Tool to generate a barcode image for specified text. use when you need a barcode image (png or svg) of custom data.

Action Parameters

format
stringDefaults to png
include_text
booleanDefaults to True
text
stringRequired
type
stringDefaults to upc

Action Response

data
object
error
string
successful
boolean
Tool to look up bank information from a bank identification number. use after you have a bin to fetch issuer details (brand, type, country).

Action Parameters

bin
stringRequired

Action Response

data
array
error
string
successful
boolean
Tool to retrieve the latest bitcoin price and 24-hour market data. use when you need real-time bitcoin metrics in usd.

Action Parameters

Action Response

data
object
error
string
successful
boolean
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?"

Action Parameters

name
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to get real-time price for a cryptocurrency pair. use when you need the current market price by symbol.

Action Parameters

symbol
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to check whether an email address is from a disposable email provider. use when validating user emails prior to sending communications.

Action Parameters

email
Required

Action Response

data
object
error
string
successful
boolean
Tool to retrieve dns records for a specified domain. use when you need dns record details for troubleshooting or validation.

Action Parameters

domain
Required

Action Response

data
array
error
string
successful
boolean
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.

Action Parameters

limit
integer
show_upcoming
boolean
ticker
stringRequired

Action Response

data
array
error
string
successful
boolean
Tool to get the earnings call transcript for a company and quarter. use when you need full call text after earnings are released.

Action Parameters

quarter
integerRequired
ticker
stringRequired
year
integerRequired

Action Response

data
object
error
string
successful
boolean
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.

Action Parameters

ticker
stringRequired

Action Response

data
object
error
string
successful
boolean
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.

Action Parameters

country
stringRequired
federal_only
boolean
year
integerRequired

Action Response

data
object
error
string
successful
boolean
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.

Action Parameters

iban
stringRequired

Action Response

data
object
error
string
successful
boolean
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.

Action Parameters

country
stringRequired
credits
number
deductions
number
filing_status
string
income
numberRequired
region
stringRequired
self_employed
boolean

Action Response

data
object
error
string
successful
boolean
Tool to get current inflation data for a country. use when you need latest cpi or hicp monthly and annual inflation rates.

Action Parameters

country
string
type
string

Action Response

data
array
error
string
successful
boolean
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.

Action Parameters

country
string

Action Response

data
object
error
string
successful
boolean
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?"

Action Parameters

ticker
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to get current and historical mortgage rates. use when you need weekly fixed-rate mortgage data, optionally for specific dates or date ranges.

Action Parameters

date
string
max_date
string
min_date
string

Action Response

data
array
error
string
successful
boolean
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.

Action Parameters

query
stringRequired

Action Response

data
array
error
string
successful
boolean