# API Ninjas AI integration on Definable

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

## What this connects

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

Vendor: https://api-ninjas.com

## Tools available

**129** tools available. First 12:

- `API_NINJAS_ANALYZE_SENTIMENT` — Analyze Text Sentiment — Tool to analyze the sentiment of text. Returns a numerical sentiment score from -1 to 1 and a classification (POSITIVE, WEAK_POSITIVE, NEUTRAL, WEAK_NEGATIVE, or NEGATIVE). Use when you need to determine the emotional tone or sentiment of text content.
- `API_NINJAS_BARCODE_GENERATE` — Generate Barcode Image — Tool to generate a barcode image for specified text. Use when you need a barcode image (PNG or SVG) of custom data.
- `API_NINJAS_BIN_LOOKUP` — BIN Lookup — Tool 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_BITCOIN` — Get Bitcoin Price and Market Data — Tool to retrieve the latest Bitcoin price and 24-hour market data. Use when you need real-time Bitcoin metrics in USD.
- `API_NINJAS_CALCULATE_CALORIES_BURNED` — Calculate Calories Burned — Tool to calculate calories burned for an activity based on duration and body weight. Use when you need to estimate energy expenditure for physical activities.
- `API_NINJAS_CALCULATE_MORTGAGE` — Calculate Mortgage — Tool to calculate mortgage payments and breakdowns. Use when you need to determine monthly/annual payments, including mortgage, property tax, HOA, and insurance components.
- `API_NINJAS_CALCULATE_SALES_TAX` — Calculate Sales Tax — Tool to calculate sales tax for a purchase amount at a US location. Use when you need to determine the sales tax for a purchase based on ZIP code or city/state. Premium features include detailed breakdowns by city, county, and special districts.
- `API_NINJAS_CHECK_DOMAIN` — Check Domain Availability — Tool to check domain availability and retrieve registration information. Use when you need to verify if a domain is available for registration or get details about an existing domain.
- `API_NINJAS_CHECK_IS_PUBLIC_HOLIDAY` — Check If Date Is Public Holiday — Tool to check if a specific date is a public holiday in a given country. Use when you need to verify holiday status for scheduling, planning, or calendar-related tasks. Returns holiday name if applicable.
- `API_NINJAS_CHECK_IS_WORKING_DAY` — Check If Date Is Working Day — Tool to check if a date is a working day in a specific country. Returns whether the date is a working day, accounting for weekends and public holidays. Use when you need to determine if a business is likely to be open on a specific date.
- `API_NINJAS_CHECK_SPELLING` — Check Spelling — Tool to check spelling and get corrections for text. Returns the original text, corrected version, and detailed corrections with alternative suggestions.
- `API_NINJAS_COMMODITY_PRICE` — Commodity Price — Get real-time commodity prices from major exchanges (CME, NYMEX, COMEX). Prices are based on rolling futures contracts in USD. Free tier has limited commodities that rotate weekly. Use snake_case for commodity names (e.g., 'micro_gold', 'natural_gas'). Example: "What is the current price of natural gas?"

## Auth

Auth schemes: `API_KEY`.

## How agents use API Ninjas

Inside a Definable workflow, API Ninjas is one of the tools the **Distributor specialist** can call. Example coordination patterns:

- **Researcher → API Ninjas** — the Researcher (GPT-5.5) pulls context from API Ninjas (records, threads, documents), synthesises findings, and briefs the rest of the team.
- **Writer → Distributor → API Ninjas** — the Writer (Claude Opus 4.7) drafts copy in brand voice, the Verifier passes it, then the Distributor writes the result into API Ninjas (create record, post message, draft email).
- **Designer / Engineer → Distributor → API Ninjas** — the Designer ships an asset or the Engineer ships a code change, the Distributor delivers it via API Ninjas (attach file, open PR comment, post status).

The Verifier checks every API Ninjas call. On rate limit, schema drift, or auth refresh it self-heals and retries — the workflow completes without manual intervention.

## Categories

- developer tools — https://definable.ai/apps/category/developer-tools/

## Related

- HTML page: https://definable.ai/apps/api_ninjas/
- Same category (developer tools): https://definable.ai/apps/category/developer-tools/
- All integrations: https://definable.ai/apps/
- Workflow (multi-agent loop): https://definable.ai/workflow/
- Apps llms.txt index: https://definable.ai/llms-apps.txt
