npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@nexoracle/api

v1.0.2

Published

Official SDK Npm Library for NexOracle Rest APIs.

Readme

Features

  • Developer-Friendly - Intuitive endpoints with clear documentation
  • Extensive Collection - 600+ ready-to-use REST APIs across 20+ categories
  • Affordable Pricing - Competitive rates with many free endpoints
  • Blazing Fast - Optimized for speed and reliability
  • Seamless Integration - Works with any programming language or framework
  • Complete Documentation - Detailed guides and examples for every API

API Categories

NexOracle offers APIs across numerous categories including:

  • Islamic - Quran, Surah, Hadith and more
  • News - Latest news endpoints of many platforms
  • Downloader - Download content from many platforms
  • AI Tools - Many ai models and llms
  • Image Processing - Filters, effects, and more
  • Stalking - Social media data extraction
  • Searching - Advanced search apis across platforms
  • Converters - Format and convert your data
  • And many more!

Explore our complete catalog at api.nexoracle.com/dashboard

Getting Started with NexOracle Rest APIs

Welcome to NexOracle Rest APIs, your one-stop solution for seamless API integrations! Our extensive collection of APIs is designed for developers building apps, businesses enhancing services, or tech enthusiasts experimenting with new ideas.

Step 1: Sign Up

  • Create an account to access our API dashboard. Signing up is quick and easy, providing instant access to hundreds of powerful APIs.

Step 2: Get Your API Key

  • After signing up, navigate to your Profile by clicking on the avatar in the top right to get your unique API key for authenticating requests.

Step 3: Choose an API

  • Browse our comprehensive API library and select the API that fits your needs. Each API includes detailed documentation with endpoints, parameters, and response formats.

Step 4: Make Your First API Call

  • With your API key in hand, you're ready to start! All our APIs follow REST principles and are designed for simple, intuitive integration.

Step 5: Integrate the API

  • Easily incorporate our APIs into your existing systems using the provided code examples for popular languages like JavaScript, Python, PHP and more.

Step 6: Upgrade for More Features

  • For extensive usage and advanced features, upgrade to a PRO or VIP plan offering higher limits, faster response times, and premium feature access.

Installation

# NPM
npm install @nexoracle/api

# Yarn
yarn add @nexoracle/api

# PNPM
pnpm add @nexoracle/api

# BUN
bun add @nexoracle/api

Browser (CDN)

<!-- Global script -->
<script src="https://cdn.jsdelivr.net/npm/@nexoracle/[email protected]/dist/browser/index.global.js"></script>
<script>
  const { setConfig, islamic, downloader } = api; // Access functions from global api object
  setConfig({ apiKey: "your_api_key_here" });
</script>

<!-- ES Module -->
<script type="module">
  import { setConfig, islamic, downloader } from "https://cdn.jsdelivr.net/npm/@nexoracle/[email protected]/dist/browser/index.mjs";
  setConfig({ apiKey: "your_api_key_here" });
</script>

CommonJS is also available:

https://cdn.jsdelivr.net/npm/@nexoracle/[email protected]/dist/browser/index.cjs

Configuration

Set up the SDK at the top of your main file:

const { setConfig } = require("@nexoracle/api");

setConfig({
  apiKey: "your_api_key_here",
  apiUrl: "https://api.nexoracle.com", // Optional, default is already set
});

Notes:

  • Call setConfig() only once — it sets the global configuration used in all requests
  • Pass apiKey parameter in setConfig - it will be used globally when making request
  • You can override the global apiKey by passing apikey directly in API params
  • The apiUrl parameter is optional — it defaults to https://api.nexoracle.com but can be overridden if needed

Usage Examples

const { islamic, downloader } = require("@nexoracle/api");

async function main() {
  // Pass true as the last parameter to get the direct result object
  const downloadAPK = await downloader.apk({ query: "pubg" }, true);
  console.log("APK Data:", JSON.stringify(downloadAPK, null, 2));

  // Without true parameter, get the complete response including metadata
  const fullResponse = await downloader.apk({ query: "pubg" });
  console.log("Full response:", fullResponse);

  // For the apis that don't require any param, you can skip their param when using
  const surahDetails = await islamic.surahDetails(); // you can pass the true param, if u want result object only
  console.log("Surah Details:", JSON.stringify(surahDetails, null, 2));
}
main();
const fs = require("fs");
const { islamic } = require("@nexoracle/api");

async function main() {
  const quranAudio = await islamic.alQuran({ query: 1 });

  if (quranAudio instanceof ArrayBuffer) {
    const buffer = Buffer.from(quranAudio);
    fs.writeFileSync("surah1.mp3", buffer);
    console.log("✅ Saved as surah1.mp3");
  }
}
main();
const fs = require("fs");
const { imageProcessing } = require("@nexoracle/api");

async function main() {
  const imageUrl = "https://i.pinimg.com/736x/d7/bf/77/d7bf77878131295fabd6a530d1944222.jpg";
  const buffer = await imageProcessing.wanted({ img: imageUrl });

  if (buffer instanceof ArrayBuffer) {
    fs.writeFileSync("wanted.jpg", Buffer.from(buffer));
    console.log("✅ Saved as wanted.jpg");
  }
}
main();

The fetchApi helper is included to make raw API requests:

const { fetchApi } = require("@nexoracle/api");

async function main() {
  // JSON request - passing true to get direct result object
  const downloadAPK = await fetchApi.json("https://api.nexoracle.com/downloader/apk", { apikey: "your_api_key_here", query: "pubg" }, true);
  console.log("APK Data: " + JSON.stringify(downloadAPK, null, 2));

  // Buffer request (for images, audio, files etc)
  const img = "https://i.pinimg.com/736x/d7/bf/77/d7bf77878131295fabd6a530d1944222.jpg";
  const imageBuffer = await fetchApi.buffer("https://api.nexoracle.com/image-processing/wanted", { apikey: "your_api_key_here", img });

  const buffer = Buffer.from(imageBuffer);
  console.log("Image Buffer: " + buffer);

  // Use the buffer as needed...
}
main();

Note: The fetchResultOnly parameter (third parameter in fetchApi.json) when set to true returns only the result object, skipping metadata. Use this for cleaner responses when you don't need status information. You need to provide apikey parameter when using fetchApi function.

If you prefer using your own HTTP client:

const axios = require("axios");

(async () => {
  const res = await axios.get("https://api.nexoracle.com/downloader/apk?apikey=your_api_key_here&query=pubg");
  console.log(res.data);
})();

Developer Notes

  • This SDK uses built-in fetch - no external dependencies required
  • The fetchApi helper is optimized for the api.nexoracle.com response format
  • Works in Node.js and browsers with full TypeScript support
  • All endpoints return promises that resolve to either JSON data or ArrayBuffer (for binary responses)
  • For API Providers: If you reuse this repo to create your own npm, you'll need to modify the fetchApi function to match your apis response structure. The current implementation is specifically designed for NexOracle's API response format.

Contributions

We welcome contributions to improve both our APIs and SDK! Feel free to open issues, submit pull requests, or suggest new API endpoints.

License

MIT LICENSE