How to connect Api ninjas to Codex in 2 mins: No API key needed

You can normalize the phone numbers in a CSV, check which name ideas are free as .com domains and make a QR code for every row in a file from Codex. Composio runs each call on its own Api ninjas account, so you don't need a Api ninjas API key, and your first $2 is free.

Api ninjasInstant · No API key

Codex runs Api ninjas through Composio, and the cost comes out of your free $2.

  • An email address check$0.00059
  • Sales tax rate for a US ZIP code$0.00059
  • A mortgage payment breakdown$0.00059

$2 ≈ 3300 checks or 3300 lookups

Composio Instant

What you can do with your free $2

What your free $2 gets you with Api ninjas
When you ask Codex forCodex uses this toolCostWhat $2 gets you
An email address checkValidate Email$0.00059 per checkAbout 3,300 checks
Sales tax rate for a US ZIP codeGet Sales Tax Rates$0.00059 per lookupAbout 3,300 lookups
A mortgage payment breakdownCalculate Mortgage$0.00059 per calculationAbout 3,300 calculations
Registration and expiry details for a domainGet WHOIS Information$0.00059 per lookupAbout 3,300 lookups
Public holidays for a countryGet Public Holidays$0.00059 per lookupAbout 3,300 lookups
Current weather for a cityGet Current Weather$0.00059 per lookupAbout 3,300 lookups

You pay Api ninjas' price for each call with 0% markup, plus the regular Composio tool call charge. There's no Api ninjas subscription, and you only pay for what you use.

102 of 247 Api ninjas tools work without a key. For Analyze Nutrition, Assess NAICS Risk, Calculate Airport Distance, Calculate Currency Volatility, Calculate Income Tax, Calculate Paycheck Withholding and 139 more, connect your own Api ninjas key. Read how Instant works.

How it works

How to connect Api ninjas to Codex

Composio adds Api ninjas to Codex as an Instant toolkit. You connect Composio to Codex once, and then Codex can use Api ninjas right away. There are two ways to do this:

  • Bring your own key

    You bring your own Api ninjas API key, set it up, and use it.

  • Use the Composio wallet

    Instant

    Composio runs each call on its own Api ninjas account, so you don't have to set anything up at Api ninjas, and your first $2 is free.

You do the setup one time and it takes about a minute. If you build Api ninjas into your own product, turn on Instant toolkits in your project settings so your agent can call Api ninjas for each of your users without a Api ninjas API key, and read Instant tools in the Composio docs for the setup steps and code examples.

Get started

Start to use Api ninjas in Codex in 3 steps

  1. Turn on Instant

    Open your Composio wallet and turn on Instant. Your free $2 shows up there.

  2. Add Composio to Codex

    Follow the setup below. You only do this once.

  3. Ask Codex for something

    Try a Api ninjas prompt. The cost comes out of your $2.

Setup

How to install Api ninjas MCP in Codex

Run the setup command

Run this command in your terminal to add the Composio MCP server to Codex.

Terminal

It will initiate the authentication in a browser window, authorize Codex to access your Composio account.

Composio authentication page

(Optional) Authenticate with OAuth

To authenticate manually, run the login command to open a browser window and authorize Codex to access your Composio account.

bash
codex mcp login composio

Verify the connection

Run codex mcp list to confirm Composio appears as a registered MCP server.

bash
codex mcp list

Codex App

Codex App follows the same approach as VS Code.

  1. Click ⚙️ on the bottom left → MCP Servers → + Add servers → Streamable HTTP:
  2. Fill the header and Key fields with { "x-consumer-api-key" = "ck_*******" }.
  3. The Key is the Composio API key, that you can find on dashboard.composio.dev
  4. Click on Authenticate and authorize Codex to your Composio account and you're all set.
Codex App MCP setup
  1. Restart and verify if it's there in .codex/config.toml
bash
[mcp_servers.composio]
url = "https://connect.composio.dev/mcp"
http_headers = { "x-consumer-api-key" = "ck_*******" }

Try it

Ask Codex for a Api ninjas task. The first time, Composio asks you to connect your Api ninjas account.

For example, ask it to:

  • "Get real-time bitcoin price and market data"
  • "Check if this email is disposable"
  • "Look up bank info for this BIN"
Try it

Ask Codex for something with Api ninjas

Start a new chat and try this prompt:

Read contacts.csv and validate the phone number in each row with API Ninjas (up to 100 rows, numbers include the country code). Write contacts-clean.csv with new columns for whether the number is valid, its E.164 format, the country and the time zone. Put rows with invalid numbers in contacts-rejected.csv.

Codex runs it on Instant and shows you the result. It doesn't ask you for a Api ninjas key, and the cost comes out of your $2. You can see each call in your wallet.

Optional: connect your own Api ninjas key

If you want Analyze Nutrition, Assess NAICS Risk, Calculate Airport Distance, Calculate Currency Volatility, Calculate Income Tax, Calculate Paycheck Withholding and 139 more, you need your own key. Ask Codex to connect your Api ninjas account, and it gives you a Composio link:

Connect my Api ninjas account using Composio.

Open the link, paste your Api ninjas API key and click Connect Account. You can get a key from API Ninjas profile page. After that, Composio uses your key first and doesn't charge Instant for those calls.

Starter prompts

Use your first $2: copy a prompt into Codex

Each prompt runs on Instant, and the cost next to it is about what it takes from your $2.

  • Normalize the phone numbers in a CSV

    About $0.06

    Validates every phone number in a contacts file and adds a clean E.164 version, the country and the time zone.

    Read contacts.csv and validate the phone number in each row with API Ninjas (up to 100 rows, numbers include the country code). Write contacts-clean.csv with new columns for whether the number is valid, its E.164 format, the country and the time zone. Put rows with invalid numbers in contacts-rejected.csv.

  • Check which name ideas are free as .com domains

    About $0.03

    Runs a list of name ideas through a domain check and writes out which .com domains you can still register.

    For each name in names.txt (up to 50), check with API Ninjas whether [name].com is available. Write domains.csv with the name, the domain, whether it's available and, for taken ones, the registration details the check returns. Print the available ones at the end.

  • Make a QR code for every row in a file

    About $0.03

    Generates a QR code image for each link in a CSV and saves them to a folder with an index you can check.

    Read links.csv, which has a name and a URL in each row (up to 50). Generate a PNG QR code for each URL with API Ninjas and save it to qr/[name].png. Write qr/index.md listing each name, URL and image file so I can check them.

  • Add coordinates to a list of cities

    About $0.06

    Looks up the latitude and longitude for every city in a text file and writes them to a CSV.

    For each line in cities.txt (a city with its state or country, up to 100), look up the latitude and longitude with API Ninjas geocoding. Write cities.csv with the city, country code, latitude and longitude, and list any city that returned no match at the end.

  • Score the sentiment of every review in a file

    About $0.12

    Scores each review in a text file from negative to positive and gives you the breakdown and the worst ones to read first.

    Read reviews.txt, one review per line (up to 200, each under 2,000 characters). Score each one with API Ninjas sentiment analysis and write reviews-scored.csv with the review, the score from -1 to 1 and the label. Then print the share of each label and the 10 most negative reviews.

  • Collect links to annual reports for a list of tickers

    About $0.02

    Finds the latest 10-K filings for each stock ticker in a file and writes the filing dates and document links to one page.

    For each ticker in tickers.txt (up to 30), get the 3 most recent 10-K filings from API Ninjas. Write filings.md with a section per company listing the filing date, form type and the link to each document.

  • Decode a fleet VIN list into a CSV

    About $0.06

    Turn a file of VINs into vehicle make and model records.

    I want you to read vins.txt, one VIN per line, up to 100. Decode each with API Ninjas. Write fleet.csv with VIN, make, model, year and manufacturing country. Write VINs with no match to fleet-unmatched.txt.

  • Map ZIP codes to counties and time zones

    About $0.06

    Enrich a ZIP code list with location details.

    I want you to read zips.txt, one US ZIP code per line, up to 100. Look up each with API Ninjas and write zips-enriched.csv with ZIP, city, state, county and time zone. Keep unmatched ZIPs in zips-unmatched.txt.

  • Check mail servers for a domain list

    About $0.03

    Record the mail exchange hosts for each domain.

    I want you to read domains.txt, one domain per line, up to 50. Get the MX records for each with API Ninjas. Write mx-records.csv with domain, host and priority, one row per record. Put domains with no returned records in mx-missing.txt.

What it can do

What Codex can do with Api ninjas

Works without a key

  • An email address check
  • Sales tax rate for a US ZIP code
  • A mortgage payment breakdown
  • Registration and expiry details for a domain
  • Public holidays for a country
  • Current weather for a city

Needs your own Api ninjas key

  • Analyze Nutrition
  • Assess NAICS Risk
  • Calculate Airport Distance
  • Calculate Currency Volatility
  • Calculate Income Tax
  • Calculate Paycheck Withholding
  • Check Bank Holiday
  • Check Disposable Email
  • and 137 more
Tools and prices

Supported tools (247)

Api ninjas tools and their Instant prices
ToolWhat it doesWorks without a keyCost on Instant
Analyze Text SentimentTool to analyze the sentiment of text.Yes$0.059 per 100 API requests
Calculate Calories BurnedTool to calculate calories burned for an activity based on duration and body weight.Yes$0.059 per 100 API requests
Calculate MortgageTool to calculate mortgage payments and breakdowns.Yes$0.059 per 100 API requests
Calculate Sales TaxTool to calculate sales tax for a purchase amount at a US location.Yes$0.059 per 100 API requests
Check Domain AvailabilityTool to check domain availability and retrieve registration information.Yes$0.059 per 100 API requests
Check If Date Is Public HolidayTool to check if a specific date is a public holiday in a given country.Yes$0.059 per 100 API requests
Check If Date Is Working DayCheck whether a date is a working day in a country, with configurable weekend days and optional inclusion of public holidays.Yes$0.059 per 100 API requests
Check SpellingTool to check spelling and get corrections for text.Yes$0.059 per 100 API requests
Compute Text SimilarityTool to compute semantic similarity between two texts.Yes$0.059 per 100 API requests
Convert CurrencyConvert between currencies using current exchange rates.Yes$0.059 per 100 API requests
Convert UnitConvert between measurement units across different categories.Yes$0.059 per 100 API requests
Detect Text LanguageTool to detect the language of input text.Yes$0.059 per 100 API requests
Extract Webpage ContentRetrieve URL information and webpage metadata, including domain, path, title, description, meta tags, and favicon.Yes$0.059 per 100 API requests
Filter Profanity from TextTool to detect and censor profanity in text.Yes$0.059 per 100 API requests
Find EV Charging StationsTool to find electric vehicle charging stations near a specified location.Yes$0.059 per 100 API requests
Generate Lorem Ipsum TextTool to generate Lorem Ipsum placeholder text.Yes$0.059 per 100 API requests
Generate Secure PasswordTool to generate secure random passwords with configurable length and character types.Yes$0.059 per 100 API requests
Generate QR CodeTool to generate QR code images for encoding data.Yes$0.059 per 100 API requests
Generate Random User ProfilesTool to generate fake random user profiles with realistic data.Yes$0.059 per 100 API requests
Generate Sudoku PuzzleTool to generate a new Sudoku puzzle with a specified difficulty level.Yes$0.059 per 100 API requests
Show all 247 tools
More Api ninjas tools and their Instant prices
ToolWhat it doesWorks without a keyCost on Instant
Generate Text EmbeddingsTool to encode text into vector embeddings using NLP models.Yes$0.059 per 100 API requests
Generate User Agent StringTool to generate realistic random user agent strings with optional filters for brand, model, OS, and browser.Yes$0.059 per 100 API requests
Get Random Life AdviceTool to get a random piece of life advice from the API Ninjas Advice endpoint.Yes$0.059 per 100 API requests
Get Aircraft InformationTool to retrieve aircraft information by manufacturer and model including specifications and performance data.Yes$0.059 per 100 API requests
Get Airport InformationTool to search for airport information by IATA code, ICAO code, name, city, country, or region.Yes$0.059 per 100 API requests
Get Air Quality DataTool to retrieve air quality index and pollutant data for a location.Yes$0.059 per 100 API requests
Get Animal InformationTool to retrieve detailed scientific information about animal species.Yes$0.059 per 100 API requests
Get Baby NamesTool to get baby name suggestions by gender.Yes$0.059 per 100 API requests
Get Random Bucket List IdeaTool to retrieve a random bucket list idea or activity.Yes$0.059 per 100 API requests
Get Cat Breed InformationTool to retrieve information on cat breeds matching specified parameters.Yes$0.059 per 100 API requests
Get Celebrity InformationTool to search for celebrity information by name or other criteria.Yes$0.059 per 100 API requests
Get Chuck Norris JokeTool to retrieve a random Chuck Norris joke from the API Ninjas database.Yes$0.059 per 100 API requests
Get City InformationTool to retrieve city information by name, country, coordinates, or population filters.Yes$0.059 per 100 API requests
Get Cocktail RecipesTool to search for cocktail recipes by name or ingredients.Yes$0.059 per 100 API requests
Get Company LogoRetrieve a company logo URL by company name or ticker symbol.Yes$0.059 per 100 API requests
Get Country Flag SVGTool to retrieve country flag images in SVG format.Yes$0.059 per 100 API requests
Get Country InformationTool to retrieve country information by name, ISO code, or economic and demographic filters.Yes$0.059 per 100 API requests
Get County InformationTool to retrieve US county information by name, ZIP code, or state.Yes$0.059 per 100 API requests
Get Random Dad JokesTool to retrieve random dad jokes from API Ninjas.Yes$0.059 per 100 API requests
Get Day in History EventsTool to get historical events for a specific date.Yes$0.059 per 100 API requests
Get Dictionary DefinitionTool to retrieve dictionary definition for an English word.Yes$0.059 per 100 API requests
Get Dog Breed InformationTool to get information on dog breeds matching specified parameters.Yes$0.059 per 100 API requests
Get EarningsRetrieve earnings filings by company or filing date, optionally filtering a company by fiscal period and year.Yes$0.059 per 100 API requests
Get Electric Vehicle InfoGet electric vehicle information by make, model, year range, or electric range.Yes$0.059 per 100 API requests
Get Emoji InformationTool to retrieve emoji information and images from the API Ninjas Emoji database.Yes$0.059 per 100 API requests
Get Exchange RateGet the current exchange rate for a currency pair.Yes$0.059 per 100 API requests
Get ExercisesTool to get exercise information by muscle group, type, or difficulty level.Yes$0.059 per 100 API requests
Get Random FactsTool to retrieve random interesting facts from API Ninjas.Yes$0.059 per 100 API requests
Get Fact of the DayTool to retrieve the fact of the day from API Ninjas.Yes$0.059 per 100 API requests
Get GDP DataTool to get GDP data for a country.Yes$0.059 per 100 API requests
Convert City to CoordinatesTool to convert city names to geographic coordinates (forward geocoding).Yes$0.059 per 100 API requests
Get Helicopter InformationTool to get helicopter information by manufacturer, model, and specifications.Yes$0.059 per 100 API requests
Get Historical EventsTool to retrieve historical events by date or keywords.Yes$0.059 per 100 API requests
Get Historical FiguresTool to search for historical figures by name.Yes$0.059 per 100 API requests
Get Random Hobby SuggestionsTool to get random hobby suggestions from API Ninjas.Yes$0.059 per 100 API requests
Get Daily HoroscopeTool to get daily horoscope for a zodiac sign.Yes$0.059 per 100 API requests
Get Hospital InformationFind hospitals by name, city, state, ZIP code or county.Yes$0.059 per 100 API requests
Income TaxGet federal and regional income-tax rates for a country and year.Yes$0.059 per 100 API requests
Get Insider TransactionsTool to get insider trading transactions for publicly traded companies.Yes$0.059 per 100 API requests
Get Random JokesTool to retrieve random jokes from API Ninjas.Yes$0.059 per 100 API requests
Get Joke of the DayTool to retrieve the joke of the day from API Ninjas.Yes$0.059 per 100 API requests
Get Motorcycle SpecificationsTool to get detailed motorcycle specifications by make, model, and year.Yes$0.059 per 100 API requests
Get Mutual Fund InfoGet mutual fund information by ticker or ISIN, including name, ISIN, CUSIP, and country.Yes$0.059 per 100 API requests
Get MX RecordsTool to retrieve MX (Mail Exchange) records for a specified domain.Yes$0.059 per 100 API requests
Get Planet InformationTool to retrieve detailed information about planets and exoplanets including mass, radius, orbital period, temperature, and host star data.Yes$0.059 per 100 API requests
Get Population DataGet historical and forecast population statistics for a country, including demographic and urban population metrics, or search countries by population range.Yes$0.059 per 100 API requests
Get Postal Code Location InfoTool to retrieve location information for Canadian postal codes.Yes$0.059 per 100 API requests
Get Property Tax RatesTool to get property tax rates by city, county, or ZIP code.Yes$0.059 per 100 API requests
Get Public HolidaysTool to retrieve official public holidays for a specific country and year.Yes$0.059 per 100 API requests
Get Quote of the DayTool to retrieve the quote of the day from API Ninjas.Yes$0.059 per 100 API requests
Get Random ImageTool to get a random image by category from API Ninjas.Yes$0.059 per 100 API requests
Get Random QuotesTool to retrieve random quotes from API Ninjas.Yes$0.059 per 100 API requests
Get Random WordTool to get a random English word from the API Ninjas Random Word endpoint.Yes$0.059 per 100 API requests
Convert Coordinates to LocationTool to convert geographic coordinates to location information (reverse geocoding).Yes$0.059 per 100 API requests
Get Rhyming WordsTool to get words that rhyme with a given word.Yes$0.059 per 100 API requests
Get Random RiddlesTool to retrieve random riddles with answers from API Ninjas.Yes$0.059 per 100 API requests
Get Sales Tax RatesTool to get sales tax rates by ZIP code or city and state.Yes$0.059 per 100 API requests
Get SEC FilingTool to retrieve SEC filing information for publicly traded companies.Yes$0.059 per 100 API requests
Get Star InformationRetrieve star information including constellation, coordinates, magnitude, distance, and spectral classification.Yes$0.059 per 100 API requests
Get Stock Exchange InformationTool to retrieve stock exchange information by Market Identifier Code (MIC), name, city, or country.Yes$0.059 per 100 API requests
Get Stock PriceTool to get current stock price data for any publicly traded company or index.Yes$0.059 per 100 API requests
Get SWIFT CodeTool to get bank information from SWIFT code or search by bank name, city, or country.Yes$0.059 per 100 API requests
Get ThesaurusTool to get synonyms and antonyms for an English word.Yes$0.059 per 100 API requests
Get Timezone InformationTool to get timezone information for a location including UTC offset, local time, and timezone name.Yes$0.059 per 100 API requests
Get Trivia QuestionsTool to retrieve trivia questions by category from API Ninjas.Yes$0.059 per 100 API requests
Get Trivia of the DayTool to retrieve the trivia question of the day from API Ninjas.Yes$0.059 per 100 API requests
Get Unemployment RateTool to get unemployment rate data for countries.Yes$0.059 per 100 API requests
Get University InformationTool to retrieve university information by name or country.Yes$0.059 per 100 API requests
Get Current WeatherTool to retrieve current weather data for a location.Yes$0.059 per 100 API requests
Get Weather ForecastTool to retrieve 5-day weather forecast in 3-hour intervals for a location.Yes$0.059 per 100 API requests
Get WHOIS InformationTool to get WHOIS domain registration information including registrar, creation date, and expiration date.Yes$0.059 per 100 API requests
Get Working DaysGet working-day counts and dates for a country by year or month, accounting for weekends and public holidays.Yes$0.059 per 100 API requests
Get World TimeTool to get current date and time for a location with detailed date/time components.Yes$0.059 per 100 API requests
Get US Zipcode Location InfoTool to retrieve location information for US zip codes.Yes$0.059 per 100 API requests
List Stock TickersTool to retrieve a paginated list of all available stock ticker symbols and company names.Yes$0.059 per 100 API requests
VIN LookupTool to decode Vehicle Identification Number (VIN) and retrieve vehicle information.Yes$0.059 per 100 API requests
Scrape Website ContentTool to scrape HTML content from a URL using the API Ninjas Webscraper endpoint.Yes$0.059 per 100 API requests
Solve Sudoku PuzzleTool to solve a Sudoku puzzle using the API Ninjas Sudoku Solver.Yes$0.059 per 100 API requests
Validate EmailValidate an email address and check its deliverability.Yes$0.059 per 100 API requests
Validate Phone Number FormatValidate phone-number formatting and return normalized national, international, and E.164 forms plus country, location, and time-zone information.Yes$0.059 per 100 API requests
Validate Routing NumberTool to validate and retrieve bank information from a routing number.Yes$0.059 per 100 API requests
Get Random QuotesYes$0.059 per 100 API requests
Analyze NutritionTool to extract nutrition information from text query.Needs your own keyBilled to your own Api ninjas key
Assess NAICS RiskAssess documented compliance risk indicators for NAICS codes.Needs your own keyBilled to your own Api ninjas key
Calculate Airport DistanceCalculate great-circle distance, initial bearing, and estimated flight time between two airports.Needs your own keyBilled to your own Api ninjas key
Calculate Currency VolatilityCalculate realized volatility and percentile context for a currency pair.Needs your own keyBilled to your own Api ninjas key
Calculate Income TaxTool to calculate income taxes for US and Canada.Needs your own keyBilled to your own Api ninjas key
Calculate Paycheck WithholdingCalculate federal, FICA, and optional state paycheck withholding.Needs your own keyBilled to your own Api ninjas key
Check Bank HolidayCheck whether banks are closed on a date in a country or subdivision.Needs your own keyBilled to your own Api ninjas key
Check Disposable EmailTool to check whether an email address is from a disposable email provider.Needs your own keyBilled to your own Api ninjas key
Check HolidayReturn all documented holiday categories on a date across every country when country is omitted; use Check Is Public Holiday for a country-specific public-holiday boolean or Check Bank Holiday for bank closures.Needs your own keyBilled to your own Api ninjas key
Check Lottery TicketScore a supported lottery ticket against a draw.Needs your own keyBilled to your own Api ninjas key
Check Sales Tax NexusEvaluate supplied sales and transaction totals against a state's economic-nexus rules.Needs your own keyBilled to your own Api ninjas key
Classify Business NAICSClassify a business description to a NAICS code.Needs your own keyBilled to your own Api ninjas key
Convert Airport CodeResolve an IATA, ICAO, GPS, ident, or local airport code to the matching airport record.Needs your own keyBilled to your own Api ninjas key
Detect FacesDetect faces and return their pixel bounding boxes in a JPEG or PNG image.Needs your own keyBilled to your own Api ninjas key
Detect ObjectsDetect labeled objects and bounding boxes in a JPEG or PNG image smaller than 2000 by 2000 pixels.Needs your own keyBilled to your own Api ninjas key
Extract Text From ImageExtract text blocks and pixel bounding boxes from a JPEG or PNG image.Needs your own keyBilled to your own Api ninjas key
Find Closest AirportFind airports near coordinates, with distance and optional size, runway, and IATA filters.Needs your own keyBilled to your own Api ninjas key
Forecast Currency VolatilityForecast currency-pair volatility across requested trading-day horizons.Needs your own keyBilled to your own Api ninjas key
Generate Barcode ImageGenerate a barcode image for specified text in PNG or SVG format.Needs your own keyBilled to your own Api ninjas key
Generate Text Embeddings BatchGenerate embeddings for up to ten texts using a bounded sequence of calls to the provider's singular embeddings endpoint, returning per-item vectors or errors.Needs your own keyBilled to your own Api ninjas key
Get Account AnalyticsReturn connected-account subscription and API usage analytics while redacting the API key.Needs your own keyBilled to your own Api ninjas key
Get Airline InformationTool to retrieve airline information by name, IATA code, or ICAO code.Needs your own keyBilled to your own Api ninjas key
Get Bitcoin Price and Market DataTool to retrieve the latest Bitcoin price and 24-hour market data.Needs your own keyBilled to your own Api ninjas key
Get Car SpecificationsQuery current car specifications by identity or documented filters.Needs your own keyBilled to your own Api ninjas key
Get Car FacetsReturn grouped value counts for up to six caller-selected car dimensions; use LIST_CAR_MAKES, LIST_CAR_MODELS, or LIST_CAR_GENERATIONS for catalog listings.Needs your own keyBilled to your own Api ninjas key
Get Commodity ContractReturn one contract by exact symbol, or all matching contracts by root symbol.Needs your own keyBilled to your own Api ninjas key
Get Commodity Forward CurveReturn every active futures contract, sorted by month, for one commodity forward curve.Needs your own keyBilled to your own Api ninjas key
Get Commodity Market SnapshotReturn a current commodity market snapshot across supported contracts.Needs your own keyBilled to your own Api ninjas key
Get Commodity PriceGet real-time commodity prices from major exchanges (CME, NYMEX, COMEX).Needs your own keyBilled to your own Api ninjas key
Get Commodity Price HistoryReturn historical commodity futures OHLCV prices without silently accepting a provider-truncated series.Needs your own keyBilled to your own Api ninjas key
Get Commodity Spot PriceReturn one immediate-delivery spot price with name, or a batch array with comma-separated names (batch requires Business tier and above).Needs your own keyBilled to your own Api ninjas key
Get Company ProfileRetrieve company profile information for a publicly traded company by stock ticker symbol.Needs your own keyBilled to your own Api ninjas key
Get Counter ValueRead the current value of a persistent counter scoped to the connected API key without incrementing or setting it.Needs your own keyBilled to your own Api ninjas key
Get COVID 19 DataReturn COVID-19 case or death statistics for a country or date.Needs your own keyBilled to your own Api ninjas key
Get Crypto PriceGet the current real-time price for a cryptocurrency trading pair.Needs your own keyBilled to your own Api ninjas key
Get Crypto Price HistoryReturn historical cryptocurrency OHLCV prices for a symbol and interval.Needs your own keyBilled to your own Api ninjas key
Get Currency Volatility HistoryReturn historical realized-volatility observations for a currency pair.Needs your own keyBilled to your own Api ninjas key
Get Earnings CalendarReturns historical actual and estimated EPS and revenue by stock ticker, with an option for premium subscribers to include upcoming scheduled earnings dates.Needs your own keyBilled to your own Api ninjas key
Get Earnings Call TranscriptRetrieve the full earnings call transcript for a publicly traded company.Needs your own keyBilled to your own Api ninjas key
Get ETF InfoRetrieve ETF information by ticker, including its name, ISIN, CUSIP, and country.Needs your own keyBilled to your own Api ninjas key
Get EU VAT RatesRetrieve current or historical EU VAT rates by country, with optional VAT type and effective-date filters.Needs your own keyBilled to your own Api ninjas key
Get Exchange Rate HistoryReturn historical exchange rates for a currency pair and date range.Needs your own keyBilled to your own Api ninjas key
Get Executive CompensationReturn disclosed executive compensation records for a public company.Needs your own keyBilled to your own Api ninjas key
Get Financial StatementRetrieve one balance sheet, cash-flow statement, or income statement and its SEC filing metadata for a company and fiscal period.Needs your own keyBilled to your own Api ninjas key
Get Gold PriceReturn the current COMEX gold futures price and contract month; use Get Gold Spot Price for immediate-delivery spot pricing.Needs your own keyBilled to your own Api ninjas key
Get Gold Price HistoryReturn historical COMEX gold futures OHLCV observations.Needs your own keyBilled to your own Api ninjas key
Get Gold Spot PriceReturn current immediate-delivery gold spot pricing, bid, and ask; use Get Gold Price for COMEX futures.Needs your own keyBilled to your own Api ninjas key
Get HolidaysRetrieve the full 26-type holiday taxonomy for 2005-2039.Needs your own keyBilled to your own Api ninjas key
Get Inflation DataTool to get current inflation data for a country.Needs your own keyBilled to your own Api ninjas key
Get Inflation HistoryReturn historical CPI or HICP inflation observations for a country.Needs your own keyBilled to your own Api ninjas key
Get Insider DetailsReturn holdings and recent transactions for an exact insider name.Needs your own keyBilled to your own Api ninjas key
Get Institutional OwnershipReturn institutional holders or the ownership summary for one security.Needs your own keyBilled to your own Api ninjas key
Get Interest RateLook up one current rate with rate (v2), or use legacy v1 aggregate mode with country or an empty request.Needs your own keyBilled to your own Api ninjas key
Get Interest Rate HistoryReturn paginated historical observations for a named benchmark interest rate.Needs your own keyBilled to your own Api ninjas key
Get Libor HistoryReturn historical values for a documented LIBOR tenor.Needs your own keyBilled to your own Api ninjas key
Get Lottery DrawGet one game's draw, or the latest draws for games in a state or country.Needs your own keyBilled to your own Api ninjas key
Get Lottery Draw HistoryReturn one bounded page of historical lottery draws.Needs your own keyBilled to your own Api ninjas key
Get Market CapTool to get real-time market cap data for a company.Needs your own keyBilled to your own Api ninjas key
Get Metals PricesReturn spot and matching futures data for precious metals plus copper and aluminum; unlike commodity spot tools, copper and aluminum use futures-based spot values identified by spot_type, and dedicated gold spot should be used for gold-only immediate-delivery requests.Needs your own keyBilled to your own Api ninjas key
Get Mortgage RateGet current or historical 15-year and 30-year mortgage rates.Needs your own keyBilled to your own Api ninjas key
Get Motor CarrierReturn a motor carrier record by USDOT or docket number.Needs your own keyBilled to your own Api ninjas key
Get Motor Carrier InsuranceReturn active insurance filings for a motor carrier.Needs your own keyBilled to your own Api ninjas key
Get Motor Carrier LinksReturn carriers linked through shared identifying attributes.Needs your own keyBilled to your own Api ninjas key
Get Motor Carrier SafetyReturn crash, inspection, and BASIC safety data for a carrier.Needs your own keyBilled to your own Api ninjas key
Get NAICS CodeLook up NAICS records by code, batch, or official title.Needs your own keyBilled to your own Api ninjas key
Get NAICS Size StandardReturn SBA size standards and optional eligibility calculations.Needs your own keyBilled to your own Api ninjas key
Get Nutrition ItemReturn nutrition for one food item and quantity.Needs your own keyBilled to your own Api ninjas key
Get Oil PriceReturn current futures-contract prices and contract metadata for oil and energy benchmarks; use Get Oil Spot Price for physical immediate-delivery prices.Needs your own keyBilled to your own Api ninjas key
Get Oil Price HistoryReturn historical OHLCV data for an oil or energy benchmark.Needs your own keyBilled to your own Api ninjas key
Get Oil Spot PriceReturn assessed physical spot pricing for oil and energy benchmarks.Needs your own keyBilled to your own Api ninjas key
Get RecipeSearch recipes by title, up to five ingredients, or nutrition filters.Needs your own keyBilled to your own Api ninjas key
Get Sales Tax Filing RequirementsReturn state sales-tax filing frequencies, thresholds, and due dates for a year.Needs your own keyBilled to your own Api ninjas key
Get Short InterestReturn reported short-interest observations for a stock ticker.Needs your own keyBilled to your own Api ninjas key
Get Short VolumeReturn daily short-sale volume observations for a stock ticker.Needs your own keyBilled to your own Api ninjas key
Get S&P 500 ConstituentsTool to retrieve current S&P 500 index constituents with filtering by ticker, name, sector, or date added.Needs your own keyBilled to your own Api ninjas key
Get Stock Exchange HoursReturn stock exchange session hours and open status for a date or timestamp.Needs your own keyBilled to your own Api ninjas key
Get Stock Price HistoryReturn historical OHLCV stock-price points for a ticker and interval.Needs your own keyBilled to your own Api ninjas key
Get Treasury YieldReturn the latest or dated Treasury par, real, bill, or combined yield curve.Needs your own keyBilled to your own Api ninjas key
Get Treasury Yield HistoryReturn a paginated Treasury yield time series for one maturity or full curves by date.Needs your own keyBilled to your own Api ninjas key
List AirportsList airport ICAO codes and names with offset pagination.Needs your own keyBilled to your own Api ninjas key
List Bank HolidaysList bank holidays for a country and year, including regional and observed dates.Needs your own keyBilled to your own Api ninjas key
List BreedsList all cat or dog breed names accepted by the corresponding API Ninjas animal endpoint.Needs your own keyBilled to your own Api ninjas key
List Calorie Burning ActivitiesList activity names accepted by the Calories Burned calculator.Needs your own keyBilled to your own Api ninjas key
List Car GenerationsList vehicle generations for a make and model, optionally limited to generations with cars.Needs your own keyBilled to your own Api ninjas key
List Car MakesList vehicle makes, optionally filtered by search text or model year.Needs your own keyBilled to your own Api ninjas key
List Car ModelsList vehicle models for a make, optionally filtered by search text or model year.Needs your own keyBilled to your own Api ninjas key
List Commodity ContractsList all available commodity futures contracts and their symbols; this endpoint accepts no root filter.Needs your own keyBilled to your own Api ninjas key
List Company InsidersList corporate insiders and current holdings for a public company.Needs your own keyBilled to your own Api ninjas key
List CountriesList 2-letter country codes accepted by the Country API.Needs your own keyBilled to your own Api ninjas key
List Country FlagsList country codes with square and rectangular SVG flag image URLs.Needs your own keyBilled to your own Api ninjas key
List Crypto SymbolsList cryptocurrency symbol pairs accepted by the Crypto Price API.Needs your own keyBilled to your own Api ninjas key
List Earnings Calendar CompaniesList companies covered by the earnings calendar.Needs your own keyBilled to your own Api ninjas key
List Earnings Call ParticipantsList executives or analysts who appeared on a company's earnings calls.Needs your own keyBilled to your own Api ninjas key
List Earnings TranscriptsList companies with available earnings-call transcripts.Needs your own keyBilled to your own Api ninjas key
List Electric Vehicle MakesList electric-vehicle makes available to the Electric Vehicle API.Needs your own keyBilled to your own Api ninjas key
List Electric Vehicle ModelsList electric-vehicle models for a selected make.Needs your own keyBilled to your own Api ninjas key
List ETFsList ETF ticker symbols available to the ETF API.Needs your own keyBilled to your own Api ninjas key
List ExercisesList exercise names for a target muscle group with offset pagination.Needs your own keyBilled to your own Api ninjas key
List Failures To DeliverList the latest and historical SEC failures-to-deliver records for a security.Needs your own keyBilled to your own Api ninjas key
List Financial Statement PeriodsList fiscal years and periods with an available balance sheet, cash-flow statement, or income statement for a company.Needs your own keyBilled to your own Api ninjas key
List Institutional MoversList securities with the largest recent institutional ownership changes.Needs your own keyBilled to your own Api ninjas key
List IPO CalendarList documented US IPO calendar records and filing details.Needs your own keyBilled to your own Api ninjas key
List Lottery GamesList documented lottery games and their rules.Needs your own keyBilled to your own Api ninjas key
List Lottery JackpotsList current lottery jackpots using optional geography and currency filters.Needs your own keyBilled to your own Api ninjas key
List Motorcycle MakesList motorcycle manufacturers accepted by the motorcycle API.Needs your own keyBilled to your own Api ninjas key
List Motorcycle ModelsList motorcycle models for a manufacturer.Needs your own keyBilled to your own Api ninjas key
List Quote AuthorsList quote authors available to the Quotes API with offset pagination.Needs your own keyBilled to your own Api ninjas key
List Sales Tax HolidaysReturn US sales tax holiday periods, eligible categories, price caps, and coverage metadata.Needs your own keyBilled to your own Api ninjas key
List Short Interest CalendarList short-interest settlement and publication dates for a calendar year.Needs your own keyBilled to your own Api ninjas key
List Stock ExchangesList all stock exchanges and their identity, location, market size, currency, timezone, and session details.Needs your own keyBilled to your own Api ninjas key
List Stock Exchange HolidaysList market holidays and closure details for a stock exchange.Needs your own keyBilled to your own Api ninjas key
List Stock NewsList dated news articles for one or more stock tickers with offset pagination.Needs your own keyBilled to your own Api ninjas key
List Stock SplitsList forward or reverse stock splits for a ticker or date range.Needs your own keyBilled to your own Api ninjas key
List Upcoming EarningsList scheduled company earnings announcements by date or ticker.Needs your own keyBilled to your own Api ninjas key
List Weather IconsList weather condition codes and their icon metadata.Needs your own keyBilled to your own Api ninjas key
Lookup BINLook up issuer, country, and payment-network details for a BIN.Needs your own keyBilled to your own Api ninjas key
Lookup BSBLook up an Australian BSB and return its bank, branch, address, and payment-network details.Needs your own keyBilled to your own Api ninjas key
Lookup Canada Routing NumberLook up a Canadian routing number or transit and institution pair to return branch details.Needs your own keyBilled to your own Api ninjas key
Lookup DNS RecordsTool to retrieve DNS records for a specified domain.Needs your own keyBilled to your own Api ninjas key
Lookup IBANTool to look up and validate an International Bank Account Number (IBAN).Needs your own keyBilled to your own Api ninjas key
Lookup India Pin CodeLook up Indian postal locations by PIN code, city, district, or state.Needs your own keyBilled to your own Api ninjas key
Lookup IP AddressLook up geolocation and ISP information for an IPv4 or IPv6 address.Needs your own keyBilled to your own Api ninjas key
Lookup Sort CodeLook up a UK sort code and return its bank, branch, address, and payment capabilities.Needs your own keyBilled to your own Api ninjas key
Lookup URLTool to get location information for a URL domain.Needs your own keyBilled to your own Api ninjas key
Parse User AgentParse a user-agent string into browser, operating-system, and device details.Needs your own keyBilled to your own Api ninjas key
Screen SanctionsScreen a person or organization against supported sanctions lists and return candidate matches.Needs your own keyBilled to your own Api ninjas key
Screen Short InterestScreen securities by exchange and short-interest metrics.Needs your own keyBilled to your own Api ninjas key
Search Branded FoodsFind branded food nutrition by barcode, product name, or brand.Needs your own keyBilled to your own Api ninjas key
Search BsbsSearch Australian BSB branches by bank, suburb, state, or postcode.Needs your own keyBilled to your own Api ninjas key
Search Canada Routing NumbersSearch Canadian bank branches by institution, city, province, or postal code.Needs your own keyBilled to your own Api ninjas key
Search Crypto TreasuriesSearch SEC-reported cryptocurrency holdings across supported digital assets.Needs your own keyBilled to your own Api ninjas key
Search Earnings Call SpeakersSearch earnings-call speakers or retrieve one speaker's profile and appearance history.Needs your own keyBilled to your own Api ninjas key
Search Earnings TranscriptsFind available earnings-call transcript records by company or call date; this does not search transcript text.Needs your own keyBilled to your own Api ninjas key
Search ETFsSearch ETFs by fund name, AUM, expense ratio, holdings, or listing country; use Get ETF for an exact ticker.Needs your own keyBilled to your own Api ninjas key
Search Institutional HoldingsSearch an institutional manager's holdings by manager CIK or exact manager name, with optional security and reporting-period filters.Needs your own keyBilled to your own Api ninjas key
Search Institutional InvestorsSearch the institutional-manager directory, filing history, or available quarters.Needs your own keyBilled to your own Api ninjas key
Search Motor CarriersSearch motor carriers using documented identity and location filters.Needs your own keyBilled to your own Api ninjas key
Search NAICS CodesSearch official NAICS text for relevant codes.Needs your own keyBilled to your own Api ninjas key
Search Routing NumbersSearch US routing numbers by bank name, location, ZIP code, or SWIFT code.Needs your own keyBilled to your own Api ninjas key
Search Sort CodesSearch UK bank branches by bank name, city, or postcode.Needs your own keyBilled to your own Api ninjas key
Search TickersSearch public-company ticker symbols by company name and keyword exclusions.Needs your own keyBilled to your own Api ninjas key
Suggest AirportsSuggest compact airport matches for a name or code query, optionally filtered by country and size.Needs your own keyBilled to your own Api ninjas key
Update CounterIncrement or set persistent counter state scoped to the connected API key; use value=0 to reset a counter.Needs your own keyBilled to your own Api ninjas key
Validate Phone NumberValidate and normalize a phone number and return country, carrier, line-type, VoIP, mobile-network, and disposable-number metadata.Needs your own keyBilled to your own Api ninjas key
Validate VAT NumberValidate a VAT number and return its registration and business details.Needs your own keyBilled to your own Api ninjas key
Pricing

How you pay for Api ninjas

  • Your first $2 is freeIt's added to your Composio wallet when you turn on Instant.
  • You pay for each callYou pay Api ninjas' price with 0% markup, plus the regular Composio tool call charge.
  • Your own key comes firstIf you connect your own Api ninjas key, Composio uses it and doesn't charge Instant for those calls.
  • You control the costYou can ask your agent to check with you before each paid call, and you can turn Instant off at any time.
  • You can see each callYour wallet shows each call and what it cost.
  • When your balance runs outYou can add funds to your wallet on a Pro plan or connect your own key.
Help

Troubleshooting

  1. 1. Codex asks me for a Api ninjas API key

    You may have asked for something that needs your own key, like Analyze Nutrition, Assess NAICS Risk, Calculate Airport Distance, Calculate Currency Volatility, Calculate Income Tax, Calculate Paycheck Withholding and 139 more. Those tools don't run on Instant. For everything else, check that Instant is turned on in your Composio wallet, then ask again.

  2. 2. I can't see my free $2

    Open your wallet in the Composio dashboard and check that Instant is turned on. If the $2 still isn't there, email support@composio.dev from the address you signed up with.

  3. 3. A Api ninjas call failed with a balance error

    Your balance is empty. Add funds to your wallet on a Pro plan, or connect your own Api ninjas key, then try again.

FAQ

Frequently asked questions

Start with Api ninjas.It takes 30 seconds.

New accounts get a one-time $2 starter credit for Instant calls.Run Api ninjas from your agent with no Api ninjas key.

Get $2 starter credit