Connect API Ninjas to AI agents

Connect API Ninjas to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

Supported Tools

get_historical_events

Get Historical Events

Search for historical events by keyword, date, or both. Find what happened on a specific day in history, or search for events related to a topic. Supports BC/BCE dates using negative year values.

get_weather

Get Weather

Retrieve current weather conditions for a location. You can specify the location by latitude/longitude coordinates, city name, or US zip code. Returns temperature, humidity, wind, and sunrise/sunset times.

lookup_domain

Lookup Domain

Get WHOIS registration data and DNS records for a domain. Combines WHOIS and DNS lookup into a single tool to provide comprehensive domain information including registrar, creation date, expiration, nameservers, and DNS records.

validate_contact

Validate Email or Phone

Validate an email address or phone number. For emails, checks format validity, whether it's a disposable address, and if the domain has valid MX records. For phone numbers, validates the format and identifies the country and carrier.

get_trivia

Get Trivia

Retrieve random trivia questions with answers. Optionally filter by category such as science, history, geography, entertainment, sports, music, mathematics, and more.

lookup_ip

Lookup IP Address

Get geolocation and network information for an IP address. Returns country, region, timezone, and validity status. Supports both IPv4 and IPv6 addresses.

get_nutrition

Get Nutrition Info

Extract nutrition information from a natural language food description. Describe what you ate in plain English (e.g. "3 eggs and 2 slices of toast") and get detailed nutritional breakdown per item.

get_crypto_price

Get Crypto Price

Retrieve the current market price for a cryptocurrency trading pair. Provide a symbol pair like **BTCUSD**, **ETHUSD**, or **LTCBTC** to get the latest price.

get_quotes

Get Quotes

Retrieve inspirational, philosophical, or topical quotes. Filter by category (e.g. wisdom, success, love) or author. Great for content generation, daily inspiration, or finding quotes for a specific context.

get_stock_price

Get Stock Price

Retrieve the current price of a stock or market index. Provide a ticker symbol (e.g. **AAPL**, **GOOGL**) or index symbol (e.g. **^DJI**, **^GSPC**) to get its latest price and trading volume.

analyze_sentiment

Analyze Sentiment

Analyze the sentiment of a text passage using AI. Returns a sentiment label (POSITIVE, NEGATIVE, NEUTRAL, WEAK_POSITIVE, WEAK_NEGATIVE) and a numerical score from -1 (most negative) to 1 (most positive).

lookup_word

Lookup Word

Look up a word's definition, synonyms, and antonyms. Combines dictionary and thesaurus data in a single lookup for comprehensive word information.

compare_text_similarity

Compare Text Similarity

Compare two text passages and get a similarity score using AI-powered NLP. Returns a score between 0 (completely different) and 1 (identical). Uses 768-dimensional vector embeddings and cosine similarity.

search_exercises

Search Exercises

Search for exercises by name, type, target muscle, or difficulty level. Returns exercise details including instructions, equipment needed, and safety information.

geocode_location

Geocode Location

Convert a city name or address into geographic coordinates (latitude/longitude), or convert coordinates back into a place name. Useful for mapping, distance calculations, and location-based lookups.

lookup_animal

Lookup Animal

Search for detailed information about animal species. Returns taxonomy, habitats, physical characteristics, diet, behavior, and conservation data. Supports partial name matching (e.g. "fox" matches "gray fox" and "red fox").

get_exchange_rate

Get Exchange Rate

Look up the current exchange rate between two currencies. Provide a currency pair (e.g. **USD_EUR**, **GBP_AUD**) to get the live conversion rate.

get_commodity_price

Get Commodity Price

Retrieve the current price for a commodity such as gold, silver, platinum, natural gas, or other traded commodities. Returns the latest price in USD.

get_air_quality

Get Air Quality

Retrieve current air quality data for a location, including overall AQI and individual pollutant levels (CO, NO₂, O₃, SO₂, PM2.5, PM10). Specify location by coordinates or city name.

More integrations teams use with API Ninjas

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Subscribe to webhooks for list and library change notifications. Retrieve site properties and search for sites across Microsoft 365.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Subscribe to real-time change events via Change Data Capture and Platform Events. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Bitbucket

Manage Git repositories, pull requests, and CI/CD pipelines on Bitbucket Cloud. Create, fork, and configure repositories within workspaces and projects. Create, review, approve, merge, and decline pull requests with inline code comments. Browse source code, list commits, and manage branches and tags. Track issues with the built-in issue tracker. Trigger, monitor, and manage Bitbucket Pipelines. List workspace members, configure repository default reviewers and branch restrictions, create and manage repository webhooks, and search code across repositories.

Heroku

Deploy, manage, and scale applications on Heroku's cloud platform. Create and configure apps, scale dynos, provision add-ons (databases, caching, etc.), manage configuration variables, build and release code, add custom domains and SSL certificates, manage collaborators and team permissions, configure pipelines for continuous delivery, set up log drains, and sync data with Salesforce via Heroku Connect. Subscribe to webhooks for real-time notifications on app changes, builds, releases, dyno lifecycle events, and more.

Technical notes for API Ninjas

Retrieve data from 100+ REST APIs spanning finance, technology, AI, geography, health, and entertainment. Look up stock prices, cryptocurrency rates, exchange rates, and financial instruments. Perform AI-powered text sentiment analysis, image OCR, face detection, and object detection. Access geographic data including geocoding, weather, air quality, and country statistics. Process text with dictionary lookups, spell checking, language detection, and profanity filtering. Retrieve nutrition data, exercise info, quotes, jokes, trivia, and historical facts. Look up vehicle specs, airport data, domain availability, WHOIS records, IP geolocation, and validate emails, phone numbers, and IBANs. Generate barcodes, QR codes, and passwords. Calculate taxes, mortgage payments, and currency conversions.

Connect API Ninjas to production AI agents

See how Metorial gives API Ninjas access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting API Ninjas to AI agents with Metorial.

  1. Can Metorial connect API Ninjas to AI agents?
    Yes. Metorial connects AI agents to API Ninjas through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.