Developer Tools

API Ninjas

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

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • 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.

  • 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.

  • Calculate Income Tax

    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.

  • 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.

  • 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.

  • Check Spelling

    Tool to check spelling and get corrections for text. Returns the original text, corrected version, and detailed corrections with alternative suggestions.

  • Compute Text Similarity

    Tool to compute semantic similarity between two texts. Returns a similarity score from 0 to 1 using NLP embeddings and cosine similarity. Use when comparing text content, detecting duplicates, or measuring semantic relatedness.

  • Convert Currency

    Convert between currencies using current exchange rates. Returns the converted amount with both source and target currency details. Use this when you need to know how much a specific amount in one currency is worth in another currency.

  • Convert Unit

    Convert between measurement units across different categories. Returns converted values for all units in the same category. Use this when you need to convert measurements (length, weight, temperature, volume, area, time, speed, etc.) from one unit to another.

  • Detect Text Language

    Tool to detect the language of input text. Returns the ISO language code and full language name. For best accuracy, use text with 10 or more words.

  • Filter Profanity from Text

    Tool to detect and censor profanity in text. Returns the original text, censored version with profane words replaced by asterisks, and whether profanity was detected.

  • Generate Barcode Image

    Generate a barcode image for specified text in PNG or SVG format. Returns the image data as a base64-encoded string.

  • Generate Lorem Ipsum Text

    Tool to generate Lorem Ipsum placeholder text. Use when you need dummy text for design mockups, testing, or content placeholders.

  • Generate Secure Password

    Tool to generate secure random passwords with configurable length and character types. Use when you need to create strong passwords with a chosen length and optional exclusion of numbers or special characters. Uppercase and lowercase exclusions are not supported by the provider.

  • Generate QR Code

    Tool to generate QR code images for encoding data. Use when you need to create scannable QR codes for URLs, text, or other data. Returns the QR code as a PNG or SVG image file.

  • Generate Random User Profiles

    Tool to generate fake random user profiles with realistic data. Returns user profiles with names, addresses, contact info, job details, and technical data. Use when you need realistic test data, demo users, or placeholder profiles for development and testing purposes.

  • Generate Sudoku Puzzle

    Tool to generate a new Sudoku puzzle with a specified difficulty level. Use when you need to create Sudoku puzzles for games or educational purposes. Returns both the puzzle grid (with empty cells) and the complete solution.

  • Generate Text Embeddings

    Tool to encode text into vector embeddings using NLP models. Use when you need to generate semantic vectors for text comparison, search, or recommendation systems.

  • Generate User Agent String

    Tool to generate realistic random user agent strings with optional filters for brand, model, OS, and browser. Use when you need authentic-looking user agent strings for web scraping, testing, or browser simulation.

  • Solve Sudoku Puzzle

    Tool to solve a Sudoku puzzle using the API Ninjas Sudoku Solver. Takes a partially filled puzzle grid and returns the complete solution if one exists. Use when you need to solve standard or custom-sized Sudoku puzzles (2x2, 3x3, or 4x4 box dimensions).