API Ninjas
API Ninjas offers over 120 unique APIs across various categories, enabling developers to build real applications with real data.
Verdict
Common use cases
- Validate user emails before sending campaigns
- Check real-time crypto prices during trading discussions
- Pull DNS records when troubleshooting domain issues
- Fetch earnings transcripts for investment research
- Verify BIN details during payment fraud reviews
Integration
- Vendor
- API Ninjas
- Category
- developer-tools
- Auth
- API_KEY
- Tools
- 18
- Composio slug
api_ninjas
Tools
- 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).
- Check Disposable Email
Tool to check whether an email address is from a disposable email provider. use when validating user emails prior to sending communications.
- Commodity Price
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?"
- Crypto Price
Tool to get real-time price for a cryptocurrency pair. use when you need the current market price by symbol.
- DNS Lookup
Tool to retrieve dns records for a specified domain. use when you need dns record details for troubleshooting or validation.
- Earnings Calendar
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.
- Earnings Call Transcript
Tool to get the earnings call transcript for a company and quarter. use when you need full call text after earnings are released.
- ETF Info
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.
- Extract Nutrition Information
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.
- 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.
- 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.
- Get Inflation Data
Tool to get current inflation data for a country. use when you need latest cpi or hicp monthly and annual inflation rates.
- IBAN Lookup
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.
- Income Tax
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.
- Income Tax Calculator
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.
- Interest Rate
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.
- Market Cap
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?"
- Mortgage Rate
Tool to get current and historical mortgage rates. use when you need weekly fixed-rate mortgage data, optionally for specific dates or date ranges.
Setup
Setup guide
- 11. Open your Switchy workspace and navigate to Settings > Integrations > MCP Servers. 2. Click 'Add MCP Server' and select API Ninjas from the catalog. 3. Visit apininjas.com, sign up for a free account, and copy your API key from the dashboard. 4. Paste the key into the API Key field in Switchy and click 'Connect'. 5. Switchy will validate the key and confirm the connection. 6. Open any Space, type '@API Ninjas check if hello@tempmail.com is disposable' and send. 7. The MCP will return whether the address is from a disposable provider. 8. If you see an authentication error, return to Settings and verify the key was pasted correctly with no extra spaces.
What teammates see: by default, memories from API Ninjas are scoped to the Space (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.
Works well with
Top models
Compatibility data appears once enough Spaces have used this MCP together with a given model.
How Switchy teams use it
Starter prompts
Check Disposable Email
@API Ninjas check if support@guerrillamail.com is a disposable email addressOpen in a Space →
Get Commodity Price
@API Ninjas what is the current price of crude oil?Open in a Space →
Lookup DNS Records
@API Ninjas fetch the DNS records for example.comOpen in a Space →
Fetch Earnings Calendar
@API Ninjas get the earnings calendar for AAPLOpen in a Space →
Get ETF Details
@API Ninjas show me detailed information for the ETF with ticker SPYOpen in a Space →
Example outputs
Illustrative - representative of the model's voice and quality, not literal recordings.
@api-ninjas check if support@tempmail.io is a disposable email address before I add it to our beta tester list
The Check Disposable Email tool reports that support@tempmail.io is flagged as a disposable email provider. This domain is commonly used for temporary inboxes that expire after a short period. In this illustrative example, the MCP would return a boolean flag indicating the email's disposable status, helping you filter out addresses unlikely to receive long-term communications.
This example highlights the MCP's email validation capability, useful for cleaning signup forms or CRM imports. Requires an API Ninjas API key with sufficient quota. The tool checks against a known list of disposable providers but cannot detect all temporary email services or newly launched domains.
@api-ninjas what are the DNS records for example.com? I need to verify the MX and TXT entries for our domain migration checklist.
The DNS Lookup tool retrieves current records for example.com. In this illustrative response, you'd see MX records pointing to mail servers (e.g., mail.example.com with priority 10), TXT records including SPF and DKIM entries for email authentication, and A records mapping the domain to its IP address. This snapshot helps confirm your DNS configuration matches migration requirements before cutover.
This example demonstrates a read-heavy diagnostic use case common in DevOps workflows. The tool performs a live DNS query, so results reflect real-time state. Be aware that DNS propagation delays mean recent changes may not appear immediately, and the API key must have access to the DNS Lookup endpoint.
@api-ninjas pull the latest earnings call transcript for AAPL Q1 2024 and summarize the key product announcements and revenue guidance mentioned by the CFO
The Earnings Call Transcript tool fetches the full text of Apple's Q1 2024 earnings call. In this illustrative example, the AI would parse the transcript and extract highlights such as iPhone revenue growth of 6% year-over-year, services segment reaching $23 billion, and forward guidance indicating cautious optimism for Q2 amid supply chain stabilization. The summary condenses a multi-page document into actionable insights for investment research or competitive analysis.
This example pairs the MCP's data retrieval with the AI's synthesis capability, turning raw transcripts into digestible summaries. Transcripts are only available after earnings are released, not for upcoming calls. API rate limits may apply if querying multiple tickers in quick succession, so batch requests carefully during earnings season.
Use-case deep-dives
When API Ninjas beats a full fraud suite for small e-commerce
A 6-person DTC brand processes 200 orders a day and sees 8% of signups bounce from disposable emails. They don't need Stripe Radar's $0.05-per-transaction tier yet. API Ninjas gives them BIN lookup to flag prepaid cards and disposable email checks to block throwaway addresses—both in one workspace, no separate vendor contracts. The team runs these checks in Switchy during order review, tagging suspicious transactions before they hit fulfillment. This works until you cross 1,000 orders a day or need real-time scoring at checkout; then you graduate to a dedicated fraud API. For pre-scale validation where a human still eyeballs each flag, API Ninjas keeps fraud tooling inside your existing workflow without adding another SaaS bill.
Why this MCP is overkill for pitch prep but perfect for diligence
A 3-person startup is building their Series A target list and needs to know which VCs just raised new funds. They don't need Bloomberg terminals. API Ninjas' earnings calendar and ETF info tools let them pull public fund filings and check which firms are deploying capital this quarter—all from the same Switchy workspace where they're drafting outreach emails. The crypto and commodity price tools are dead weight here, but the DNS lookup catches typos in investor domain research, and the transcript tool helps them prep for partner calls by reading what those VCs asked portfolio companies last quarter. This breaks down if you need historical data older than 2 years or want to automate daily alerts. For one-time research sprints where a founder is manually connecting dots, API Ninjas consolidates 4 separate data subscriptions into 18 API calls you actually control.
When disposable email checks belong in your support workflow
A 5-person customer success team onboards 30 new accounts a month and loses 12% to fake signups that churn in week one. They're not engineers, so building a validation pipeline is off the table. API Ninjas' disposable email check runs inside Switchy when a CSM reviews a new signup—one click to flag throwaway domains before they send onboarding docs or provision seats. The BIN lookup tool adds a second layer: if the trial card is prepaid, the CSM knows to ask for a company card before investing time in a demo. This stops working when you hit 200 signups a month and need automated pre-provisioning checks; then you need Clearbit or a Zapier integration. For teams where a human still touches every new account and you want validation without writing code, API Ninjas turns fraud prevention into a CSM task, not an engineering sprint.
Frequently asked
What does the API Ninjas MCP do in Switchy?
It gives your team instant access to 18 data lookup tools — from checking if an email is disposable to pulling live crypto prices or DNS records. Instead of writing API calls or switching tabs, you ask the AI and it fetches the data inline. Useful for support, ops, and dev workflows where you need quick reference data without leaving the conversation.
Do I need an API Ninjas account to use this MCP?
Yes. You'll need an API key from API Ninjas, which means signing up on their site and choosing a plan that covers the endpoints your team will use. Switchy stores the key securely; once connected, anyone in your workspace can invoke the tools without handling credentials themselves. Check API Ninjas' rate limits — they vary by plan tier.
Can the API Ninjas MCP write data or only read it?
Read-only. All 18 tools fetch data — commodity prices, DNS records, earnings transcripts — but none of them create, update, or delete anything. If you need to act on the data (like blocking a disposable email in your CRM), you'll handle that step separately or chain another MCP that writes to your system.
Why use this MCP instead of calling the API Ninjas API directly?
Speed and context. The MCP lets the AI decide which of the 18 tools to call based on your question, so you don't write boilerplate or remember endpoint names. You get the answer in the chat thread where you're already working. If you're building a product that needs these lookups in code, call the API directly; if you're a team answering ad-hoc questions, the MCP is faster.
Who on the team should connect the API Ninjas MCP?
Whoever manages your API Ninjas subscription and can generate a key. Once connected in Switchy, the whole workspace inherits access — no per-seat setup. If your plan has usage caps, monitor them in the API Ninjas dashboard; Switchy doesn't enforce or track those limits for you.